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.001165/0.001165, allocations: 103.4 kB / 16.62 MB, free: 6.805 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.001375/0.001375, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.708/1.708, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.00113/0.00113, allocations: 59.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003831/0.1208, allocations: 2.181 MB / 328.3 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1222, allocations: 0.5736 MB / 328.9 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1224, allocations: 3.938 kB / 328.9 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.1226, allocations: 19.84 kB / 328.9 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1227, allocations: 47.61 kB / 329 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.123, allocations: 47.95 kB / 329 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1234, allocations: 227 kB / 329.2 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.1237, allocations: 85.64 kB / 329.3 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1238, allocations: 83.72 kB / 329.4 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.124, allocations: 95.59 kB / 329.5 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.1241, allocations: 24 kB / 329.5 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.1241, allocations: 20 kB / 329.5 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.1242, allocations: 43.84 kB / 329.6 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1243, allocations: 99.53 kB / 329.7 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.1247, allocations: 239.4 kB / 329.9 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.1247, allocations: 0 / 329.9 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1247, allocations: 0 / 329.9 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1247, allocations: 8 kB / 329.9 MB, free: 0.9844 MB / 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.0009951/0.1257, allocations: 494.8 kB / 330.4 MB, free: 464 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/0.1258, allocations: 12.03 kB / 330.4 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1259, allocations: 20.66 kB / 330.4 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.1263, allocations: 212.1 kB / 330.6 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.1263, allocations: 16.38 kB / 330.7 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.1264, allocations: 20.38 kB / 330.7 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1268, allocations: 181.9 kB / 330.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1269, allocations: 0 / 330.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.1269, allocations: 12 kB / 330.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1269, allocations: 4 kB / 330.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.1272, allocations: 139.9 kB / 331 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.1284, allocations: 0.7506 MB / 331.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.1288, allocations: 162.5 kB / 331.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.129, allocations: 96.77 kB / 332 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.129, allocations: 256 / 332 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1291, allocations: 34.56 kB / 332 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.1291, allocations: 0 / 332 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000451/0.1295, allocations: 189.8 kB / 332.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1296, allocations: 59.34 kB / 332.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1297, allocations: 141.8 kB / 332.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1298, allocations: 37.64 kB / 332.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.1299, allocations: 128.2 kB / 332.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.1299, allocations: 51.28 kB / 332.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.13, allocations: 37.7 kB / 332.7 MB, free: 14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1301, allocations: 322.8 kB / 333 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1302, allocations: 51.97 kB / 333 MB, free: 13.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1304, allocations: 73.64 kB / 333.1 MB, free: 13.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1306, allocations: 125 kB / 333.2 MB, free: 13.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1306, allocations: 0 / 333.2 MB, free: 13.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003251/0.131, allocations: 181.4 kB / 333.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.131, allocations: 4 kB / 333.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.131, allocations: 4 kB / 333.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.131, allocations: 3.938 kB / 333.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.1313, allocations: 43.91 kB / 333.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1313, allocations: 0 / 333.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.1314, allocations: 15.91 kB / 333.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1314, allocations: 7.938 kB / 333.5 MB, free: 13.16 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 0.0001478/0.1316, allocations: 133.9 kB / 333.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1316, allocations: 7.906 kB / 333.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.1317, allocations: 24.77 kB / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1317, allocations: 0 / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1317, allocations: 0 / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1317, allocations: 0 / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.132, allocations: 273.4 kB / 333.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1321, allocations: 7.938 kB / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.1323, allocations: 39.91 kB / 334 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1323, allocations: 4 kB / 334 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1323, allocations: 3.938 kB / 334 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1323, allocations: 4 kB / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1323, allocations: 0 / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.1328, allocations: 299.5 kB / 334.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.1328, allocations: 88.95 kB / 334.4 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1328, allocations: 11.94 kB / 334.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.133, allocations: 15.98 kB / 334.4 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.133, allocations: 4.094 kB / 334.4 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.1331, allocations: 7.922 kB / 334.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.822e-05/0.1331, allocations: 120 kB / 334.5 MB, free: 12.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1332, allocations: 0 / 334.5 MB, free: 12.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1334, allocations: 47.84 kB / 334.6 MB, free: 12 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.0001281/0.1336, allocations: 103.2 kB / 334.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.1339, allocations: 127.9 kB / 334.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1339, allocations: 0 / 334.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.134, allocations: 63.91 kB / 334.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.1344, allocations: 28.05 kB / 334.9 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1355, allocations: 0.5725 MB / 335.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1358, allocations: 0.7201 MB / 336.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.104e-05/0.1359, allocations: 13.42 kB / 336.2 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.1359, allocations: 15.44 kB / 336.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1359, allocations: 0 / 336.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of Templates: time 0.00449/0.1404, allocations: 1.599 MB / 337.8 MB, free: 8.699 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)