Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.001461/0.001461, allocations: 191 kB / 19.29 MB, free: 3.715 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.626/1.626, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001209/0.001209, allocations: 47.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.111, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004205/0.1153, allocations: 2.591 MB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1167, allocations: 0.702 MB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1169, allocations: 4 kB / 332 MB, free: 428 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1171, allocations: 43.58 kB / 332.1 MB, free: 384 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1174, allocations: 75.33 kB / 332.2 MB, free: 308 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1176, allocations: 91.83 kB / 332.2 MB, free: 216 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.118, allocations: 310.7 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1183, allocations: 88.94 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1184, allocations: 119.5 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1186, allocations: 127.5 kB / 332.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1186, allocations: 24 kB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.1187, allocations: 24 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.1188, allocations: 59.77 kB / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1189, allocations: 131.4 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.1192, allocations: 286.9 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1192, allocations: 4 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1192, allocations: 0 / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1192, allocations: 0 / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000914/0.1201, allocations: 0.5576 MB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1202, allocations: 8.031 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.1202, allocations: 28.66 kB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1206, allocations: 263.7 kB / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1206, allocations: 20.94 kB / 334.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.1207, allocations: 20.38 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.1211, allocations: 229.2 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1211, allocations: 0 / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1212, allocations: 8 kB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1212, allocations: 4 kB / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.1216, allocations: 202.1 kB / 334.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1232, allocations: 0.889 MB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.1239, allocations: 222.6 kB / 335.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.1242, allocations: 132.7 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.1242, allocations: 0 / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.1243, allocations: 34.56 kB / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.1243, allocations: 0 / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001773/0.1261, allocations: 0.5563 MB / 336.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1261, allocations: 55.41 kB / 336.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1264, allocations: 231 kB / 336.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1264, allocations: 33.7 kB / 336.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1265, allocations: 163.8 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1266, allocations: 55.19 kB / 337.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.1266, allocations: 41.72 kB / 337.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1268, allocations: 330.8 kB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1269, allocations: 68.77 kB / 337.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1271, allocations: 121.9 kB / 337.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.1275, allocations: 173.9 kB / 337.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1275, allocations: 4 kB / 337.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007875/0.1283, allocations: 349.9 kB / 338.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1283, allocations: 4 kB / 338.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1283, allocations: 0 / 338.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.1287, allocations: 80.8 kB / 338.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.1289, allocations: 47.94 kB / 338.3 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.1317, allocations: 2.017 MB / 340.3 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1319, allocations: 19.83 kB / 340.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.132, allocations: 12 kB / 340.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001653/0.1321, allocations: 136.1 kB / 340.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001094/0.1323, allocations: 98.36 kB / 340.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001876/0.1325, allocations: 153.9 kB / 340.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.1325, allocations: 0 / 340.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003264/0.1328, allocations: 221.9 kB / 340.9 MB, free: 7.012 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1328, allocations: 8 kB / 340.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1328, allocations: 3.984 kB / 340.9 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.555e-05/0.1329, allocations: 24.84 kB / 340.9 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1331, allocations: 51.91 kB / 341 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1342, allocations: 1.414 MB / 342.4 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1343, allocations: 19.94 kB / 342.4 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.1344, allocations: 12 kB / 342.4 MB, free: 5.34 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.1345, allocations: 184.3 kB / 342.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.1346, allocations: 15.81 kB / 342.6 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1346, allocations: 21.53 kB / 342.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1346, allocations: 11.92 kB / 342.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1346, allocations: 0 / 342.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1346, allocations: 0 / 342.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1357, allocations: 0.6319 MB / 343.3 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1357, allocations: 0 / 343.3 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1358, allocations: 23.98 kB / 343.3 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/0.1361, allocations: 84.75 kB / 343.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1361, allocations: 3.984 kB / 343.4 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.1384, allocations: 1.916 MB / 345.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1384, allocations: 0 / 345.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.1393, allocations: 445.2 kB / 345.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.1394, allocations: 96.94 kB / 345.9 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1394, allocations: 3.938 kB / 345.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1396, allocations: 23.98 kB / 345.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.1396, allocations: 7.984 kB / 345.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1397, allocations: 4 kB / 345.9 MB, free: 1.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1398, allocations: 168.7 kB / 346.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.913e-06/0.1398, allocations: 0 / 346.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.1404, allocations: 115.6 kB / 346.2 MB, free: 1.363 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001696/0.1406, allocations: 107.2 kB / 346.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1417, allocations: 0.541 MB / 346.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1417, allocations: 0 / 346.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.142, allocations: 210.5 kB / 347 MB, free: 476 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1424, allocations: 41.03 kB / 347.1 MB, free: 436 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.1434, allocations: 0.4964 MB / 347.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1437, allocations: 0.7518 MB / 348.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.1438, allocations: 17.95 kB / 348.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1438, allocations: 19.44 kB / 348.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1438, allocations: 0 / 348.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of Templates: time 0.006679/0.1505, allocations: 3.076 MB / 351.4 MB, free: 12.01 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)