Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.01076/0.01076, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001779/0.001779, allocations: 188.8 kB / 16.67 MB, free: 5.914 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.848/1.848, allocations: 205.1 MB / 222.6 MB, free: 4.355 MB / 174.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.001462/0.001463, allocations: 54.91 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004211/0.1168, allocations: 2.109 MB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.118, allocations: 0.5773 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1183, allocations: 0 / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1185, allocations: 39.64 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1188, allocations: 51.56 kB / 376 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.119, allocations: 55.86 kB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.1195, allocations: 234.9 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.1197, allocations: 81.62 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.1199, allocations: 91.64 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1202, allocations: 103.6 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.1202, allocations: 20 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.1203, allocations: 20 kB / 376.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.1204, allocations: 47.89 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.1205, allocations: 103.5 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.1209, allocations: 235 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.121, allocations: 0 / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.121, allocations: 0 / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.121, allocations: 0 / 376.9 MB, free: 13.52 MB / 318.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.001095/0.1221, allocations: 0.4908 MB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.1222, allocations: 12.03 kB / 377.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.1223, allocations: 16.84 kB / 377.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.1227, allocations: 224 kB / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.1228, allocations: 16.38 kB / 377.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.1228, allocations: 16.38 kB / 377.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.1233, allocations: 185.9 kB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1234, allocations: 7.922 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.1234, allocations: 11.94 kB / 377.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1234, allocations: 4 kB / 377.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.1238, allocations: 143.9 kB / 378 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1252, allocations: 0.7353 MB / 378.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.1257, allocations: 162.6 kB / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1259, allocations: 88.83 kB / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1259, allocations: 4 kB / 379 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1259, allocations: 38.5 kB / 379.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1259, allocations: 0 / 379.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004777/0.1264, allocations: 194.2 kB / 379.3 MB, free: 11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1265, allocations: 55.34 kB / 379.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1266, allocations: 153.8 kB / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1267, allocations: 25.7 kB / 379.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.1267, allocations: 136.3 kB / 379.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.1268, allocations: 51.59 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.1269, allocations: 25.72 kB / 379.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.127, allocations: 330.8 kB / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1271, allocations: 51.97 kB / 380.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1273, allocations: 73.61 kB / 380.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.1275, allocations: 121.6 kB / 380.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1276, allocations: 4 kB / 380.3 MB, free: 9.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003715/0.1279, allocations: 177.4 kB / 380.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.128, allocations: 7.938 kB / 380.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.128, allocations: 0 / 380.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.128, allocations: 3.938 kB / 380.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1282, allocations: 47.97 kB / 380.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1283, allocations: 0 / 380.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1284, allocations: 19.81 kB / 380.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1284, allocations: 12.03 kB / 380.5 MB, free: 9.664 MB / 318.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.0001587/0.1286, allocations: 125.8 kB / 380.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.1286, allocations: 11.95 kB / 380.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.1287, allocations: 16.78 kB / 380.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1287, allocations: 4 kB / 380.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1287, allocations: 0 / 380.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1287, allocations: 3.984 kB / 380.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.1291, allocations: 265.5 kB / 380.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1291, allocations: 0 / 380.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.1294, allocations: 43.91 kB / 381 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1294, allocations: 4 kB / 381 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1294, allocations: 7.938 kB / 381 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1294, allocations: 0 / 381 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1294, allocations: 0 / 381 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.13, allocations: 295.4 kB / 381.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.13, allocations: 93.02 kB / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1301, allocations: 7.938 kB / 381.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1302, allocations: 12.03 kB / 381.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.1303, allocations: 15.98 kB / 381.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1303, allocations: 4 kB / 381.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.1304, allocations: 115.2 kB / 381.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1304, allocations: 0 / 381.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1307, allocations: 47.89 kB / 381.6 MB, free: 8.52 MB / 318.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.0001343/0.1308, allocations: 107.2 kB / 381.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.1312, allocations: 123.9 kB / 381.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1312, allocations: 0 / 381.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1313, allocations: 55.98 kB / 381.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1317, allocations: 35.97 kB / 381.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1328, allocations: 0.5211 MB / 382.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1331, allocations: 0.7278 MB / 383.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.1332, allocations: 9.438 kB / 383.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.1333, allocations: 15.44 kB / 383.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1333, allocations: 0 / 383.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of Templates: time 0.004766/0.138, allocations: 1.652 MB / 384.8 MB, free: 5.211 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)