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.001257/0.001258, allocations: 106.3 kB / 16.92 MB, free: 6.109 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.001366/0.001367, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.705/1.705, allocations: 205.1 MB / 223.7 MB, free: 12.26 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.001521/0.001521, allocations: 52.41 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1096, allocations: 46.63 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005061/0.1147, allocations: 2.128 MB / 328.7 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1161, allocations: 0.5737 MB / 329.3 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.1164, allocations: 3.938 kB / 329.3 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.1167, allocations: 27.72 kB / 329.3 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1169, allocations: 55.48 kB / 329.4 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1172, allocations: 55.92 kB / 329.5 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.1176, allocations: 235 kB / 329.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.1179, allocations: 73.66 kB / 329.8 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1181, allocations: 87.72 kB / 329.8 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1183, allocations: 103.6 kB / 329.9 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.1184, allocations: 20 kB / 330 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.1184, allocations: 20 kB / 330 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.1185, allocations: 43.84 kB / 330 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1186, allocations: 107.5 kB / 330.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1189, allocations: 227.5 kB / 330.4 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1189, allocations: 4 kB / 330.4 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1189, allocations: 0 / 330.4 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.119, allocations: 0 / 330.4 MB, free: 0.6875 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.0009893/0.12, allocations: 0.491 MB / 330.8 MB, free: 152 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.12, allocations: 8.031 kB / 330.9 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1201, allocations: 28.66 kB / 330.9 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1205, allocations: 212.1 kB / 331.1 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1205, allocations: 12.38 kB / 331.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.1206, allocations: 24.34 kB / 331.1 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1209, allocations: 181.8 kB / 331.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.121, allocations: 0 / 331.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.121, allocations: 8 kB / 331.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.121, allocations: 4 kB / 331.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.1213, allocations: 147.9 kB / 331.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1226, allocations: 0.7468 MB / 332.2 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.123, allocations: 166.5 kB / 332.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1232, allocations: 92.77 kB / 332.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1232, allocations: 0 / 332.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1233, allocations: 42.56 kB / 332.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1233, allocations: 0 / 332.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004847/0.1238, allocations: 177.4 kB / 332.7 MB, free: 14.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1238, allocations: 59.34 kB / 332.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.124, allocations: 153.8 kB / 332.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.124, allocations: 25.7 kB / 332.9 MB, free: 13.92 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1241, allocations: 128.2 kB / 333 MB, free: 13.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.1242, allocations: 63.16 kB / 333.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.1243, allocations: 29.72 kB / 333.1 MB, free: 13.69 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1244, allocations: 326.8 kB / 333.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1245, allocations: 51.97 kB / 333.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1247, allocations: 65.69 kB / 333.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.1249, allocations: 129 kB / 333.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.125, allocations: 0 / 333.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003334/0.1253, allocations: 173.4 kB / 333.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1253, allocations: 8 kB / 333.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1253, allocations: 0 / 333.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1254, allocations: 3.938 kB / 333.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1256, allocations: 47.91 kB / 333.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1256, allocations: 12.02 kB / 333.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1257, allocations: 7.906 kB / 333.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1258, allocations: 8 kB / 333.9 MB, free: 12.85 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.0001192/0.1259, allocations: 129.8 kB / 334.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.1259, allocations: 7.906 kB / 334.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.126, allocations: 20.78 kB / 334.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.126, allocations: 0 / 334.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.126, allocations: 0 / 334.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.126, allocations: 4 kB / 334.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1263, allocations: 277.4 kB / 334.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1263, allocations: 0 / 334.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.1266, allocations: 47.84 kB / 334.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1266, allocations: 0 / 334.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1266, allocations: 7.938 kB / 334.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1266, allocations: 4 kB / 334.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1266, allocations: 0 / 334.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.1271, allocations: 295.9 kB / 334.7 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.1272, allocations: 92.95 kB / 334.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1272, allocations: 7.938 kB / 334.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1274, allocations: 11.98 kB / 334.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.1275, allocations: 11.98 kB / 334.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1275, allocations: 4 kB / 334.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.1276, allocations: 116 kB / 335 MB, free: 11.74 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1276, allocations: 4 kB / 335 MB, free: 11.74 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1279, allocations: 47.84 kB / 335 MB, free: 11.69 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.0001249/0.128, allocations: 99.23 kB / 335.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1283, allocations: 131.9 kB / 335.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1283, allocations: 0 / 335.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1285, allocations: 67.97 kB / 335.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.1289, allocations: 23.92 kB / 335.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.13, allocations: 0.5179 MB / 335.8 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1303, allocations: 0.7201 MB / 336.6 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.1303, allocations: 13.42 kB / 336.6 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.1304, allocations: 15.44 kB / 336.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1304, allocations: 0 / 336.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of Templates: time 0.004585/0.135, allocations: 1.631 MB / 338.2 MB, free: 8.418 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)