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.008462/0.008462, allocations: 102.5 kB / 15.73 MB, free: 6.008 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.001291/0.001291, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.842/1.842, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.00164/0.001641, allocations: 51.94 kB / 326.6 MB, free: 3.234 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1674, allocations: 46.61 MB / 373.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005381/0.1728, allocations: 2.573 MB / 375.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1753, allocations: 0.7135 MB / 376.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.1757, allocations: 8 kB / 376.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1761, allocations: 43.58 kB / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.1766, allocations: 79.31 kB / 376.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.1769, allocations: 83.83 kB / 376.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005481/0.1775, allocations: 310.5 kB / 377 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.1779, allocations: 96.92 kB / 377.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.1781, allocations: 115.6 kB / 377.2 MB, free: 492 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.1784, allocations: 135.4 kB / 377.3 MB, free: 356 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.1785, allocations: 24 kB / 377.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.741e-05/0.1785, allocations: 24 kB / 377.4 MB, free: 308 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.1786, allocations: 51.78 kB / 377.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1788, allocations: 131.4 kB / 377.6 MB, free: 124 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3975/0.5763, allocations: 282.8 kB / 377.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.095e-05/0.5764, allocations: 1.156 kB / 377.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.072e-06/0.5765, allocations: 2.969 kB / 377.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.5765, allocations: 0 / 377.8 MB, free: 10.39 MB / 318.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.001589/0.5781, allocations: 0.5598 MB / 378.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/0.5782, allocations: 9.625 kB / 378.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.5783, allocations: 33.56 kB / 378.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.5789, allocations: 252.4 kB / 378.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.5789, allocations: 16.8 kB / 378.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.579, allocations: 27.06 kB / 378.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.5796, allocations: 222.2 kB / 379 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5796, allocations: 8.969 kB / 379 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.5797, allocations: 9.75 kB / 379 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.5797, allocations: 6.062 kB / 379 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.5802, allocations: 192.1 kB / 379.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.5823, allocations: 0.8899 MB / 380.1 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000845/0.5832, allocations: 212.9 kB / 380.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.5837, allocations: 124.6 kB / 380.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.5838, allocations: 6.734 kB / 380.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.5839, allocations: 36.94 kB / 380.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 3.537e-06/0.5839, allocations: 0.5938 kB / 380.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.00261/0.5865, allocations: 0.5513 MB / 381 MB, free: 9.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5866, allocations: 53.78 kB / 381 MB, free: 8.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.587, allocations: 237.7 kB / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.5871, allocations: 30.27 kB / 381.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.5873, allocations: 175.2 kB / 381.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.5874, allocations: 49.44 kB / 381.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.5875, allocations: 45.09 kB / 381.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5877, allocations: 333.8 kB / 381.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.5879, allocations: 75.81 kB / 382 MB, free: 8.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.5882, allocations: 111.9 kB / 382.1 MB, free: 8.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.5886, allocations: 187.8 kB / 382.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.5886, allocations: 5.156 kB / 382.3 MB, free: 8.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001182/0.5898, allocations: 335.6 kB / 382.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.5899, allocations: 5.562 kB / 382.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5899, allocations: 2.25 kB / 382.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.5905, allocations: 81.39 kB / 382.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.5907, allocations: 40.86 kB / 382.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.594, allocations: 2.013 MB / 384.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.5944, allocations: 28.44 kB / 384.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.5944, allocations: 6.594 kB / 384.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002267/0.5947, allocations: 146.5 kB / 384.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001376/0.5948, allocations: 94.66 kB / 385 MB, free: 6.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002483/0.5951, allocations: 156 kB / 385.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.5951, allocations: 1.016 kB / 385.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004479/0.5955, allocations: 217.4 kB / 385.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5956, allocations: 10.03 kB / 385.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5956, allocations: 2.297 kB / 385.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.5957, allocations: 29.2 kB / 385.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.5959, allocations: 42.73 kB / 385.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009268/0.5968, allocations: 1.41 MB / 386.8 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.597, allocations: 16.09 kB / 386.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.597, allocations: 12.91 kB / 386.9 MB, free: 4.902 MB / 318.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.0001691/0.5972, allocations: 196.6 kB / 387.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.5973, allocations: 27.14 kB / 387.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.5974, allocations: 24.7 kB / 387.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5974, allocations: 5.125 kB / 387.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5974, allocations: 1.688 kB / 387.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5974, allocations: 0.6094 kB / 387.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.5988, allocations: 0.6219 MB / 387.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5988, allocations: 0.6094 kB / 387.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.5989, allocations: 23.16 kB / 387.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/0.5993, allocations: 78.52 kB / 387.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.5993, allocations: 1.125 kB / 387.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.6018, allocations: 1.917 MB / 389.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6019, allocations: 2.844 kB / 389.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.6031, allocations: 437.9 kB / 390.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6032, allocations: 104.9 kB / 390.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.6032, allocations: 3.938 kB / 390.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.6035, allocations: 25.94 kB / 390.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.6035, allocations: 9.172 kB / 390.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.6035, allocations: 4.547 kB / 390.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.6038, allocations: 166 kB / 390.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6038, allocations: 0 / 390.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008159/0.6046, allocations: 110.5 kB / 390.6 MB, free: 2.133 MB / 318.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.0002225/0.6048, allocations: 109.7 kB / 390.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.6064, allocations: 0.5348 MB / 391.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.6064, allocations: 5.156 kB / 391.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.6068, allocations: 205.9 kB / 391.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.6074, allocations: 41.25 kB / 391.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.6088, allocations: 0.4888 MB / 392 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.6093, allocations: 0.7428 MB / 392.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.6094, allocations: 23.72 kB / 392.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.6095, allocations: 16.81 kB / 392.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6095, allocations: 0 / 392.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of Templates: time 0.01035/0.6199, allocations: 3.138 MB / 395.9 MB, free: 356 kB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (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)