Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001234/0.001234, allocations: 98.83 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.001094/0.001094, 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.94/1.94, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0006173/0.0006173, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4088, allocations: 47.58 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003024/0.4119, allocations: 2.073 MB / 328.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4135, allocations: 0.679 MB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.4138, allocations: 3.344 kB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.752e-05/0.4138, allocations: 35.2 kB / 329.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.4143, allocations: 108 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.4145, allocations: 53.66 kB / 329.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.415, allocations: 208.7 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.4153, allocations: 82.22 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.4155, allocations: 95.44 kB / 329.8 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4157, allocations: 112.4 kB / 329.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.4157, allocations: 13.12 kB / 329.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.4158, allocations: 12.44 kB / 329.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.4159, allocations: 42.45 kB / 330 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.416, allocations: 69.73 kB / 330 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.4163, allocations: 206.2 kB / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4163, allocations: 0 / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.19e-06/0.4163, allocations: 0 / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.4163, allocations: 0 / 330.2 MB, free: 14.5 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.001326/0.4177, allocations: 0.5247 MB / 330.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.271e-05/0.4178, allocations: 9.125 kB / 330.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.4179, allocations: 26.62 kB / 330.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.4185, allocations: 255.9 kB / 331 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.4185, allocations: 16.53 kB / 331.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.4187, allocations: 27.42 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.4193, allocations: 218.7 kB / 331.3 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4194, allocations: 5.125 kB / 331.3 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.4194, allocations: 10.25 kB / 331.3 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.4195, allocations: 9.094 kB / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.4201, allocations: 193.5 kB / 331.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.4221, allocations: 0.9216 MB / 332.4 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.4229, allocations: 221.3 kB / 332.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.4229, allocations: 2.031 kB / 332.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.423, allocations: 36.59 kB / 332.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 2.975e-06/0.423, allocations: 0 / 332.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002233/0.4252, allocations: 0.6068 MB / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.4253, allocations: 53.56 kB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.4257, allocations: 228.4 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.4258, allocations: 30.8 kB / 333.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.4259, allocations: 160.3 kB / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.426, allocations: 54.03 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.426, allocations: 5.094 kB / 333.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4262, allocations: 327.2 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.4264, allocations: 69.8 kB / 334.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.4267, allocations: 116.9 kB / 334.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.4269, allocations: 80.7 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-06/0.4269, allocations: 3.938 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008745/0.4278, allocations: 361.9 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003815/0.4282, allocations: 0.6162 MB / 335.4 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4282, allocations: 4 kB / 335.4 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.4287, allocations: 80.8 kB / 335.4 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.4288, allocations: 47.91 kB / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.4319, allocations: 1.889 MB / 337.4 MB, free: 8.098 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.4321, allocations: 31.88 kB / 337.4 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4322, allocations: 12.11 kB / 337.4 MB, free: 8.055 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4322, allocations: 7.938 kB / 337.4 MB, free: 8.047 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003125/0.4325, allocations: 176.6 kB / 337.6 MB, free: 7.871 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.4325, allocations: 0 / 337.6 MB, free: 7.871 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-05/0.4326, allocations: 28.83 kB / 337.6 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.4328, allocations: 39.92 kB / 337.7 MB, free: 7.801 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.4339, allocations: 1.312 MB / 339 MB, free: 6.359 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.4341, allocations: 15.84 kB / 339 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4341, allocations: 8 kB / 339 MB, free: 6.336 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.0003135/0.4344, allocations: 205.1 kB / 339.2 MB, free: 6.125 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.4345, allocations: 27.78 kB / 339.2 MB, free: 6.098 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.4345, allocations: 29.45 kB / 339.3 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4346, allocations: 0 / 339.3 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4346, allocations: 0 / 339.3 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4346, allocations: 0 / 339.3 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.435, allocations: 289.4 kB / 339.5 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.435, allocations: 0 / 339.5 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.4351, allocations: 23.98 kB / 339.6 MB, free: 5.715 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.4354, allocations: 84.8 kB / 339.7 MB, free: 5.629 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4355, allocations: 0 / 339.7 MB, free: 5.629 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.438, allocations: 1.799 MB / 341.5 MB, free: 3.699 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4381, allocations: 3.953 kB / 341.5 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4391, allocations: 448.1 kB / 341.9 MB, free: 3.238 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4392, allocations: 96.84 kB / 342 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.4393, allocations: 8.062 kB / 342 MB, free: 3.117 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4395, allocations: 19.98 kB / 342 MB, free: 3.098 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4395, allocations: 11.98 kB / 342 MB, free: 3.086 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.4395, allocations: 4 kB / 342 MB, free: 3.082 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.4397, allocations: 164.6 kB / 342.2 MB, free: 2.922 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4397, allocations: 3.938 kB / 342.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006751/0.4404, allocations: 119.7 kB / 342.3 MB, free: 2.801 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.0001833/0.4406, allocations: 95.25 kB / 342.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.4419, allocations: 0.5563 MB / 343 MB, free: 2.113 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4419, allocations: 0 / 343 MB, free: 2.113 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.4422, allocations: 207.3 kB / 343.2 MB, free: 1.898 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.4426, allocations: 40.61 kB / 343.2 MB, free: 1.855 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.4439, allocations: 0.5901 MB / 343.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4442, allocations: 0.752 MB / 344.5 MB, free: 476 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.4443, allocations: 21.95 kB / 344.6 MB, free: 456 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.4444, allocations: 15.44 kB / 344.6 MB, free: 440 kB / 270.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4444, allocations: 0 / 344.6 MB, free: 440 kB / 270.1 MB Notification: Performance of Templates: time 0.007087/0.4515, allocations: 2.748 MB / 347.3 MB, free: 13.68 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) Environment - environmentSimulation: