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.009688/0.009688, allocations: 96.39 kB / 15.73 MB, free: 6.039 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.001743/0.001743, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.001253/0.001253, allocations: 57.83 kB / 326.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 46.61 MB / 373.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003558/0.1084, allocations: 2.109 MB / 375.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1095, allocations: 0.5851 MB / 375.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1096, allocations: 7.938 kB / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.1098, allocations: 27.72 kB / 375.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.1099, allocations: 59.48 kB / 376 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.1101, allocations: 51.92 kB / 376 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1104, allocations: 234.9 kB / 376.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1106, allocations: 81.62 kB / 376.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1107, allocations: 91.66 kB / 376.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1109, allocations: 99.61 kB / 376.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.1109, allocations: 20 kB / 376.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.111, allocations: 20 kB / 376.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.111, allocations: 47.89 kB / 376.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1111, allocations: 99.53 kB / 376.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1114, allocations: 239 kB / 376.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1114, allocations: 3.938 kB / 376.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1114, allocations: 0 / 376.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1114, allocations: 0 / 376.9 MB, free: 13.65 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.0007939/0.1122, allocations: 498.6 kB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1123, allocations: 16.02 kB / 377.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.1124, allocations: 16.84 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.1127, allocations: 220.1 kB / 377.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1128, allocations: 12.38 kB / 377.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.1128, allocations: 20.38 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.1132, allocations: 185.8 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1132, allocations: 3.938 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.1132, allocations: 8 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1133, allocations: 4 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.1136, allocations: 143.9 kB / 378 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.1148, allocations: 0.7392 MB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.1152, allocations: 158.5 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1154, allocations: 96.81 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1154, allocations: 4 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.1155, allocations: 30.56 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1155, allocations: 0 / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004637/0.116, allocations: 194.2 kB / 379.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.116, allocations: 55.34 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.1162, allocations: 145.8 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1162, allocations: 25.7 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.1163, allocations: 136.3 kB / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.1163, allocations: 59.52 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1164, allocations: 29.7 kB / 379.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1165, allocations: 330.8 kB / 380 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1166, allocations: 51.97 kB / 380.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1168, allocations: 69.69 kB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.117, allocations: 118.7 kB / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1171, allocations: 0 / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003258/0.1174, allocations: 189.4 kB / 380.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1174, allocations: 7.938 kB / 380.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1174, allocations: 0 / 380.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.1175, allocations: 3.938 kB / 380.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1177, allocations: 47.91 kB / 380.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1177, allocations: 4 kB / 380.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.1178, allocations: 15.89 kB / 380.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1178, allocations: 8.031 kB / 380.5 MB, free: 9.809 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.0001079/0.1179, allocations: 125.8 kB / 380.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.118, allocations: 11.95 kB / 380.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.118, allocations: 28.75 kB / 380.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.118, allocations: 4 kB / 380.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.118, allocations: 0 / 380.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1181, allocations: 0 / 380.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.1183, allocations: 265.4 kB / 380.9 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1184, allocations: 0 / 380.9 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1186, allocations: 47.91 kB / 381 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1186, allocations: 0 / 381 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1186, allocations: 7.938 kB / 381 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1186, allocations: 0 / 381 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1186, allocations: 0 / 381 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.1191, allocations: 295.6 kB / 381.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.1192, allocations: 101 kB / 381.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1192, allocations: 3.938 kB / 381.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1193, allocations: 15.98 kB / 381.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1194, allocations: 4 kB / 381.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1194, allocations: 4 kB / 381.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1195, allocations: 119.2 kB / 381.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1195, allocations: 0 / 381.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1198, allocations: 47.89 kB / 381.6 MB, free: 8.656 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.0001567/0.12, allocations: 107.2 kB / 381.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.1203, allocations: 123.9 kB / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1203, allocations: 0 / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1204, allocations: 59.91 kB / 381.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1208, allocations: 39.97 kB / 381.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1219, allocations: 0.5133 MB / 382.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1223, allocations: 0.724 MB / 383.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.725e-05/0.1223, allocations: 13.42 kB / 383.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.1224, allocations: 11.44 kB / 383.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1224, allocations: 0 / 383.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of Templates: time 0.004835/0.1272, allocations: 1.656 MB / 384.8 MB, free: 5.348 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)