Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.0009027, allocations: 95.16 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 181.1 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 11.98 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002187/0.1095, allocations: 1.819 MB / 330.1 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.1104, allocations: 0.5581 MB / 330.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.1105, allocations: 7.938 kB / 330.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1106, allocations: 19.84 kB / 330.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.1107, allocations: 47.61 kB / 330.8 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1109, allocations: 47.95 kB / 330.8 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1111, allocations: 219 kB / 331 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1113, allocations: 70.08 kB / 331.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.1114, allocations: 67.72 kB / 331.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1115, allocations: 87.61 kB / 331.3 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1116, allocations: 12 kB / 331.3 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.942e-05/0.1116, allocations: 16 kB / 331.3 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.1117, allocations: 39.83 kB / 331.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.1118, allocations: 113.2 kB / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.112, allocations: 215.5 kB / 331.6 MB, free: 412 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.112, allocations: 3.984 kB / 331.6 MB, free: 408 kB / 270.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.112, allocations: 0 / 331.6 MB, free: 408 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.112, allocations: 0 / 331.6 MB, free: 408 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006861/0.1127, allocations: 474.8 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1127, allocations: 8.031 kB / 332.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1128, allocations: 20.75 kB / 332.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.113, allocations: 212.1 kB / 332.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1131, allocations: 20.36 kB / 332.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.1131, allocations: 20.28 kB / 332.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.1135, allocations: 197.8 kB / 332.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1135, allocations: 0 / 332.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1135, allocations: 7.938 kB / 332.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1135, allocations: 4 kB / 332.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1139, allocations: 147.9 kB / 332.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.115, allocations: 0.7585 MB / 333.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.1154, allocations: 174.5 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1156, allocations: 104.8 kB / 333.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1156, allocations: 3.938 kB / 333.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1157, allocations: 30.81 kB / 333.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1157, allocations: 4 kB / 333.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004677/0.1161, allocations: 197.5 kB / 334 MB, free: 13.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1162, allocations: 55.34 kB / 334 MB, free: 13.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1163, allocations: 149.8 kB / 334.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1163, allocations: 29.7 kB / 334.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.1164, allocations: 136.2 kB / 334.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1165, allocations: 55.2 kB / 334.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1165, allocations: 25.7 kB / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1166, allocations: 322.8 kB / 334.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1167, allocations: 51.97 kB / 334.8 MB, free: 13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1169, allocations: 77.64 kB / 334.9 MB, free: 12.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.1171, allocations: 133.7 kB / 335 MB, free: 12.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1171, allocations: 0 / 335 MB, free: 12.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003259/0.1175, allocations: 192.2 kB / 335.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1175, allocations: 4 kB / 335.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1175, allocations: 0 / 335.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1175, allocations: 7.938 kB / 335.2 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.1177, allocations: 39.92 kB / 335.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1178, allocations: 7.984 kB / 335.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1179, allocations: 15.94 kB / 335.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1179, allocations: 4 kB / 335.3 MB, free: 12.52 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.118, allocations: 125.8 kB / 335.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.1181, allocations: 11.91 kB / 335.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.1181, allocations: 20.77 kB / 335.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1181, allocations: 4 kB / 335.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1181, allocations: 0 / 335.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1181, allocations: 0 / 335.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.1184, allocations: 269.4 kB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1184, allocations: 4 kB / 335.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.1186, allocations: 43.91 kB / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1186, allocations: 0 / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1187, allocations: 7.875 kB / 335.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1187, allocations: 11.94 kB / 335.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1187, allocations: 0 / 335.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.1191, allocations: 307.3 kB / 336.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.1192, allocations: 89.02 kB / 336.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1192, allocations: 11.97 kB / 336.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1194, allocations: 16 kB / 336.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.1194, allocations: 11.92 kB / 336.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1194, allocations: 4 kB / 336.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.1195, allocations: 116 kB / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1195, allocations: 0 / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1198, allocations: 47.84 kB / 336.4 MB, free: 11.34 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001189/0.1199, allocations: 99.25 kB / 336.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.1202, allocations: 135.9 kB / 336.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1202, allocations: 0 / 336.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1204, allocations: 67.91 kB / 336.6 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1207, allocations: 28.05 kB / 336.7 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.1217, allocations: 0.6538 MB / 337.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.122, allocations: 0.7243 MB / 338.1 MB, free: 9.582 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.1221, allocations: 13.42 kB / 338.1 MB, free: 9.566 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.1221, allocations: 15.44 kB / 338.1 MB, free: 9.555 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1221, allocations: 0 / 338.1 MB, free: 9.555 MB / 286.1 MB Notification: Performance of Templates: time 0.004112/0.1263, allocations: 1.495 MB / 339.6 MB, free: 8.066 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)