Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001926/0.001926, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001735/0.001735, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004807/0.0004807, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3245, allocations: 47.6 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002742/0.3273, allocations: 2.066 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3286, allocations: 0.682 MB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3288, allocations: 3.656 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.942e-05/0.3289, allocations: 31.58 kB / 329.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.3292, allocations: 104.4 kB / 329.4 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.3294, allocations: 61.41 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.3298, allocations: 208.6 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.33, allocations: 78.78 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3302, allocations: 95.5 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.3304, allocations: 107.1 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.3305, allocations: 12.94 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.82e-05/0.3305, allocations: 13.72 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.3306, allocations: 42.3 kB / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.3307, allocations: 68.89 kB / 330 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.331, allocations: 214.5 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.331, allocations: 0 / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.331, allocations: 0 / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.331, allocations: 0 / 330.2 MB, free: 14.54 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001035/0.332, allocations: 0.5255 MB / 330.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3321, allocations: 9.25 kB / 330.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.3322, allocations: 25.5 kB / 330.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.3325, allocations: 251.3 kB / 331 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3326, allocations: 18.44 kB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.3327, allocations: 22.97 kB / 331.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.3332, allocations: 219 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3332, allocations: 0 / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.3332, allocations: 10.03 kB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3333, allocations: 5.656 kB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.3338, allocations: 198.4 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.3355, allocations: 0.9178 MB / 332.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.3362, allocations: 224.6 kB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3363, allocations: 6 kB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3363, allocations: 44.56 kB / 332.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3363, allocations: 0 / 332.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002119/0.3384, allocations: 0.603 MB / 333.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3385, allocations: 53.75 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.3388, allocations: 228 kB / 333.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3388, allocations: 30.83 kB / 333.6 MB, free: 12.03 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.339, allocations: 164.4 kB / 333.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.3391, allocations: 53.97 kB / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.3391, allocations: 5.25 kB / 333.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3392, allocations: 327.2 kB / 334.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3394, allocations: 61.06 kB / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.3397, allocations: 121.7 kB / 334.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3399, allocations: 82.09 kB / 334.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3399, allocations: 4 kB / 334.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008751/0.3408, allocations: 361.9 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.3411, allocations: 0.6123 MB / 335.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3411, allocations: 0 / 335.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.3415, allocations: 80.8 kB / 335.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3417, allocations: 47.92 kB / 335.5 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.3446, allocations: 1.897 MB / 337.4 MB, free: 8.109 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.3449, allocations: 35.75 kB / 337.4 MB, free: 8.074 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3449, allocations: 4 kB / 337.4 MB, free: 8.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3449, allocations: 4 kB / 337.4 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003152/0.3452, allocations: 172.6 kB / 337.6 MB, free: 7.895 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3453, allocations: 4 kB / 337.6 MB, free: 7.891 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.984e-05/0.3453, allocations: 29.03 kB / 337.6 MB, free: 7.859 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3455, allocations: 39.92 kB / 337.7 MB, free: 7.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009464/0.3465, allocations: 1.316 MB / 339 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3466, allocations: 19.88 kB / 339 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3466, allocations: 4 kB / 339 MB, free: 6.352 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.3469, allocations: 209.1 kB / 339.2 MB, free: 6.137 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3469, allocations: 19.72 kB / 339.2 MB, free: 6.117 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.347, allocations: 25.52 kB / 339.3 MB, free: 6.094 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.347, allocations: 7.938 kB / 339.3 MB, free: 6.086 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.347, allocations: 0 / 339.3 MB, free: 6.086 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.347, allocations: 4 kB / 339.3 MB, free: 6.082 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.3474, allocations: 293.4 kB / 339.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3474, allocations: 0 / 339.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3475, allocations: 23.98 kB / 339.6 MB, free: 5.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.3478, allocations: 80.8 kB / 339.7 MB, free: 5.641 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3478, allocations: 0 / 339.7 MB, free: 5.641 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.3501, allocations: 1.793 MB / 341.4 MB, free: 3.719 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3502, allocations: 11.92 kB / 341.5 MB, free: 3.707 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.3511, allocations: 448.6 kB / 341.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.3512, allocations: 100.8 kB / 342 MB, free: 3.133 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3512, allocations: 8 kB / 342 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.3514, allocations: 20.05 kB / 342 MB, free: 3.105 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3514, allocations: 15.98 kB / 342 MB, free: 3.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3514, allocations: 4 kB / 342 MB, free: 3.086 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3516, allocations: 159.2 kB / 342.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.3516, allocations: 0 / 342.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.3522, allocations: 123.6 kB / 342.3 MB, free: 2.809 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002093/0.3524, allocations: 95.25 kB / 342.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.3536, allocations: 0.5564 MB / 343 MB, free: 2.121 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3537, allocations: 0 / 343 MB, free: 2.121 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.354, allocations: 202.7 kB / 343.2 MB, free: 1.91 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3544, allocations: 40.55 kB / 343.2 MB, free: 1.867 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3556, allocations: 0.5897 MB / 343.8 MB, free: 1.254 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.3561, allocations: 0.752 MB / 344.5 MB, free: 488 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.3562, allocations: 21.94 kB / 344.6 MB, free: 468 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.3562, allocations: 19.44 kB / 344.6 MB, free: 448 kB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3562, allocations: 0 / 344.6 MB, free: 448 kB / 270.1 MB Notification: Performance of Templates: time 0.007043/0.3633, allocations: 2.74 MB / 347.3 MB, free: 13.7 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) Environment - environmentSimulation: