Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001199/0.0012, allocations: 86.56 kB / 16.31 MB, free: 6.449 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.001229/0.001229, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.923/1.923, allocations: 205.4 MB / 223.4 MB, free: 5.301 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.0005455/0.0005455, allocations: 16 kB / 280.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3498, allocations: 47.6 MB / 327.8 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002501/0.3524, allocations: 2.177 MB / 329.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3537, allocations: 0.6692 MB / 330.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.3538, allocations: 3.844 kB / 330.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.354, allocations: 29.27 kB / 330.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.3543, allocations: 71.83 kB / 330.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.3544, allocations: 61.91 kB / 330.8 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.3548, allocations: 287.3 kB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.3552, allocations: 74.17 kB / 331.1 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3554, allocations: 96.72 kB / 331.2 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3556, allocations: 106.7 kB / 331.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.3557, allocations: 17.78 kB / 331.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.3557, allocations: 13.38 kB / 331.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.3558, allocations: 46.22 kB / 331.4 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.488e-05/0.3559, allocations: 69.08 kB / 331.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.3562, allocations: 206.4 kB / 331.7 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3562, allocations: 1.031 kB / 331.7 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3562, allocations: 0 / 331.7 MB, free: 14.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3562, allocations: 0 / 331.7 MB, free: 14.48 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.001041/0.3572, allocations: 0.5254 MB / 332.2 MB, free: 14.01 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3573, allocations: 9.656 kB / 332.2 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.3574, allocations: 26.16 kB / 332.2 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.3578, allocations: 247.7 kB / 332.5 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.3578, allocations: 21.72 kB / 332.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.3579, allocations: 17.94 kB / 332.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.3585, allocations: 230.2 kB / 332.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3585, allocations: 0 / 332.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.3585, allocations: 14.69 kB / 332.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3586, allocations: 5.125 kB / 332.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.359, allocations: 193.6 kB / 332.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.3607, allocations: 0.914 MB / 333.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.3613, allocations: 229.5 kB / 334.1 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.3617, allocations: 119.8 kB / 334.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3617, allocations: 2.125 kB / 334.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.3618, allocations: 40.88 kB / 334.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.582e-06/0.3618, allocations: 0 / 334.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001856/0.3637, allocations: 0.5965 MB / 334.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3637, allocations: 63.3 kB / 334.9 MB, free: 12.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3639, allocations: 219.1 kB / 335.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.364, allocations: 33.7 kB / 335.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3641, allocations: 171.8 kB / 335.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.3642, allocations: 55.22 kB / 335.4 MB, free: 11.6 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.3642, allocations: 4 kB / 335.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002986/0.3645, allocations: 334.8 kB / 335.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3647, allocations: 59.97 kB / 335.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.365, allocations: 117.9 kB / 335.9 MB, free: 11.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3651, allocations: 71.98 kB / 335.9 MB, free: 10.99 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3651, allocations: 4 kB / 335.9 MB, free: 10.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008144/0.366, allocations: 361.9 kB / 336.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/0.3661, allocations: 138.1 kB / 336.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3661, allocations: 4 kB / 336.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.3665, allocations: 80.8 kB / 336.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.3666, allocations: 39.98 kB / 336.5 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.3694, allocations: 1.869 MB / 338.4 MB, free: 8.328 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.3696, allocations: 35.67 kB / 338.5 MB, free: 8.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3697, allocations: 8 kB / 338.5 MB, free: 8.285 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.3697, allocations: 4 kB / 338.5 MB, free: 8.281 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002764/0.3699, allocations: 164.7 kB / 338.6 MB, free: 8.117 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.37, allocations: 4 kB / 338.6 MB, free: 8.113 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.978e-05/0.3701, allocations: 28.78 kB / 338.7 MB, free: 8.082 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3702, allocations: 39.98 kB / 338.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000861/0.3711, allocations: 1.312 MB / 340 MB, free: 6.602 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.3712, allocations: 15.84 kB / 340 MB, free: 6.586 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.3712, allocations: 4 kB / 340 MB, free: 6.582 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.0002365/0.3714, allocations: 217 kB / 340.2 MB, free: 6.359 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.3715, allocations: 23.78 kB / 340.3 MB, free: 6.336 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.3716, allocations: 29.52 kB / 340.3 MB, free: 6.309 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3716, allocations: 0 / 340.3 MB, free: 6.309 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3716, allocations: 0 / 340.3 MB, free: 6.309 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3716, allocations: 0 / 340.3 MB, free: 6.309 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3727, allocations: 0.6396 MB / 340.9 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3727, allocations: 3.953 kB / 340.9 MB, free: 5.605 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3728, allocations: 31.92 kB / 341 MB, free: 5.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.373, allocations: 80.8 kB / 341 MB, free: 5.492 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3731, allocations: 4 kB / 341 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.3751, allocations: 1.752 MB / 342.8 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3751, allocations: 0 / 342.8 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008146/0.376, allocations: 451.9 kB / 343.2 MB, free: 3.145 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.376, allocations: 112.9 kB / 343.4 MB, free: 3.016 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3761, allocations: 0 / 343.4 MB, free: 3.016 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3762, allocations: 27.94 kB / 343.4 MB, free: 2.988 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.3763, allocations: 12.05 kB / 343.4 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3763, allocations: 8 kB / 343.4 MB, free: 2.969 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3765, allocations: 160.6 kB / 343.6 MB, free: 2.812 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3765, allocations: 0 / 343.6 MB, free: 2.812 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005368/0.377, allocations: 111.7 kB / 343.7 MB, free: 2.703 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.0001547/0.3772, allocations: 103.2 kB / 343.8 MB, free: 2.59 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3783, allocations: 0.5449 MB / 344.3 MB, free: 2.02 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3783, allocations: 0.6875 kB / 344.3 MB, free: 2.02 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.3786, allocations: 206.5 kB / 344.5 MB, free: 1.805 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.3791, allocations: 33.28 kB / 344.5 MB, free: 1.77 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3801, allocations: 0.6017 MB / 345.1 MB, free: 1.145 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3805, allocations: 0.7481 MB / 345.9 MB, free: 380 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.3806, allocations: 25.94 kB / 345.9 MB, free: 356 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.3806, allocations: 15.44 kB / 345.9 MB, free: 340 kB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3806, allocations: 0 / 345.9 MB, free: 340 kB / 270.1 MB Notification: Performance of Templates: time 0.006006/0.3866, allocations: 2.789 MB / 348.7 MB, free: 13.54 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)