Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00151/0.001509, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.001326/0.001326, allocations: 192 kB / 18.61 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 56.67 kB / 302.1 MB, free: 5.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1379, allocations: 49.44 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005045/0.143, allocations: 2.605 MB / 354.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1452, allocations: 0.6583 MB / 354.8 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.1458, allocations: 4 kB / 354.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.1461, allocations: 43.58 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00069/0.1469, allocations: 83.25 kB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1473, allocations: 83.89 kB / 355 MB, free: 176 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000707/0.148, allocations: 314.8 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.1484, allocations: 88.94 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.1487, allocations: 107.6 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1489, allocations: 135.3 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.149, allocations: 28 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.1491, allocations: 24 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.1491, allocations: 51.84 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1493, allocations: 131.4 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.1497, allocations: 286.8 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1498, allocations: 0 / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.1498, allocations: 0 / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1498, allocations: 3.938 kB / 356.1 MB, free: 15.02 MB / 302.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.001084/0.1509, allocations: 0.5654 MB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1509, allocations: 12.03 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.151, allocations: 24.66 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.1515, allocations: 256.3 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1515, allocations: 20.94 kB / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.1516, allocations: 32.3 kB / 357 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.1521, allocations: 225.1 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1521, allocations: 0 / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.1521, allocations: 12 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1521, allocations: 4 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.1526, allocations: 190.2 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.1542, allocations: 0.9006 MB / 358.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.1549, allocations: 222.6 kB / 358.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1552, allocations: 132.2 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1553, allocations: 4 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1553, allocations: 34.56 kB / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.1553, allocations: 0 / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001827/0.1572, allocations: 0.5576 MB / 359.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1572, allocations: 51.41 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1574, allocations: 231 kB / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1575, allocations: 25.7 kB / 359.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1576, allocations: 175.8 kB / 359.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1576, allocations: 47.27 kB / 359.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.1577, allocations: 45.7 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1578, allocations: 330.8 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.158, allocations: 68.81 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1582, allocations: 114 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.1586, allocations: 181.8 kB / 360.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1586, allocations: 0 / 360.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008193/0.1594, allocations: 342 kB / 360.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1594, allocations: 8 kB / 360.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1595, allocations: 0 / 360.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.1599, allocations: 84.77 kB / 361 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.16, allocations: 35.98 kB / 361 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.1629, allocations: 2.013 MB / 363 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.1631, allocations: 31.84 kB / 363 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.1631, allocations: 12 kB / 363 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001415/0.1633, allocations: 144 kB / 363.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001006/0.1634, allocations: 97.94 kB / 363.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001719/0.1635, allocations: 156.4 kB / 363.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.1636, allocations: 0 / 363.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003523/0.1639, allocations: 224.7 kB / 363.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1639, allocations: 4 kB / 363.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.1639, allocations: 4 kB / 363.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.698e-05/0.164, allocations: 24.84 kB / 363.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1642, allocations: 47.92 kB / 363.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009131/0.1651, allocations: 1.418 MB / 365.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1652, allocations: 15.84 kB / 365.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1653, allocations: 8 kB / 365.2 MB, free: 5.305 MB / 302.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.0001189/0.1654, allocations: 196.3 kB / 365.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.1654, allocations: 19.72 kB / 365.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.1655, allocations: 25.52 kB / 365.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1655, allocations: 7.938 kB / 365.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1655, allocations: 0 / 365.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1655, allocations: 0 / 365.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1666, allocations: 0.6125 MB / 366 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1666, allocations: 4 kB / 366 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1667, allocations: 23.98 kB / 366.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.167, allocations: 76.8 kB / 366.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.167, allocations: 0 / 366.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.1693, allocations: 1.935 MB / 368.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1693, allocations: 3.938 kB / 368.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.1702, allocations: 431.4 kB / 368.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1702, allocations: 104.9 kB / 368.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.1703, allocations: 7.938 kB / 368.6 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1705, allocations: 15.98 kB / 368.6 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1705, allocations: 15.98 kB / 368.6 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1705, allocations: 0 / 368.6 MB, free: 1.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1707, allocations: 164.6 kB / 368.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1707, allocations: 0 / 368.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000574/0.1713, allocations: 123.7 kB / 368.9 MB, free: 1.32 MB / 302.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.0001782/0.1715, allocations: 103.7 kB / 369 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1726, allocations: 0.5327 MB / 369.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1726, allocations: 4.188 kB / 369.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.1729, allocations: 206.5 kB / 369.8 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1733, allocations: 36.64 kB / 369.8 MB, free: 404 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1907/0.364, allocations: 0.4983 MB / 370.3 MB, free: 25.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3643, allocations: 0.7426 MB / 371 MB, free: 24.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.3645, allocations: 23.83 kB / 371.1 MB, free: 24.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.3645, allocations: 17.12 kB / 371.1 MB, free: 24.49 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3645, allocations: 3.828 kB / 371.1 MB, free: 24.49 MB / 302.1 MB Notification: Performance of Templates: time 0.008027/0.3726, allocations: 3.08 MB / 374.2 MB, free: 24.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)