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.01155/0.01155, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001498/0.001498, allocations: 197.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001664/0.001664, allocations: 51.92 kB / 326.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1537, allocations: 46.61 MB / 373.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004161/0.1579, allocations: 2.577 MB / 375.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1594, allocations: 0.7095 MB / 376.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1596, allocations: 4 kB / 376.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1598, allocations: 43.58 kB / 376.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1601, allocations: 83.31 kB / 376.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1603, allocations: 83.83 kB / 376.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.1607, allocations: 314.5 kB / 377 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.1609, allocations: 96.94 kB / 377.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1611, allocations: 119.6 kB / 377.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1613, allocations: 123.5 kB / 377.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.1613, allocations: 24 kB / 377.4 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.113e-05/0.1614, allocations: 24 kB / 377.4 MB, free: 336 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.1614, allocations: 59.72 kB / 377.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.1616, allocations: 127.4 kB / 377.6 MB, free: 148 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3506/0.5122, allocations: 283.3 kB / 377.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.5122, allocations: 0 / 377.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5122, allocations: 1.625 kB / 377.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.5123, allocations: 0 / 377.8 MB, free: 10.41 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.001079/0.5134, allocations: 0.5645 MB / 378.4 MB, free: 10 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5134, allocations: 9.625 kB / 378.4 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.468e-05/0.5135, allocations: 30.16 kB / 378.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.5139, allocations: 253.5 kB / 378.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.514, allocations: 17 kB / 378.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.514, allocations: 23.44 kB / 378.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.5145, allocations: 226.3 kB / 378.9 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5145, allocations: 5.469 kB / 379 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.5146, allocations: 8.25 kB / 379 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.5146, allocations: 5.5 kB / 379 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.515, allocations: 195.9 kB / 379.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.5166, allocations: 0.8937 MB / 380.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.5173, allocations: 215.8 kB / 380.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.5177, allocations: 125.7 kB / 380.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.5177, allocations: 9.203 kB / 380.4 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.5178, allocations: 35.81 kB / 380.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.5178, allocations: 0.5312 kB / 380.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002092/0.5199, allocations: 0.5514 MB / 381 MB, free: 9.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.5199, allocations: 56.91 kB / 381 MB, free: 8.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.5202, allocations: 232.3 kB / 381.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.5203, allocations: 29.14 kB / 381.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5204, allocations: 166.4 kB / 381.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.5204, allocations: 56.52 kB / 381.5 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.5205, allocations: 45.89 kB / 381.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.5206, allocations: 332.5 kB / 381.9 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.5208, allocations: 77.34 kB / 382 MB, free: 8.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.521, allocations: 114.8 kB / 382.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.5214, allocations: 182.7 kB / 382.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5215, allocations: 4 kB / 382.3 MB, free: 8.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009029/0.5224, allocations: 340.3 kB / 382.6 MB, free: 8.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.5224, allocations: 6.734 kB / 382.6 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5224, allocations: 1.125 kB / 382.6 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.5229, allocations: 83.45 kB / 382.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.5231, allocations: 36.12 kB / 382.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.526, allocations: 2.018 MB / 384.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.5263, allocations: 28.25 kB / 384.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.5263, allocations: 14.7 kB / 384.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001941/0.5265, allocations: 139.5 kB / 384.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001135/0.5267, allocations: 92.23 kB / 385 MB, free: 6.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002108/0.5269, allocations: 154.9 kB / 385.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.5269, allocations: 0 / 385.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003848/0.5273, allocations: 215.3 kB / 385.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5273, allocations: 11.45 kB / 385.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5273, allocations: 1.25 kB / 385.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.5274, allocations: 25.02 kB / 385.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.5276, allocations: 42.83 kB / 385.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009454/0.5286, allocations: 1.416 MB / 386.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.5287, allocations: 19.14 kB / 386.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.5288, allocations: 12.91 kB / 386.9 MB, free: 4.922 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.000153/0.5289, allocations: 192.1 kB / 387.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.529, allocations: 26.05 kB / 387.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.5291, allocations: 28.42 kB / 387.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5291, allocations: 7.281 kB / 387.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5291, allocations: 0.6875 kB / 387.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5291, allocations: 0.6094 kB / 387.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.5303, allocations: 0.6212 MB / 387.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5304, allocations: 0 / 387.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.5305, allocations: 30.59 kB / 387.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.5308, allocations: 74.02 kB / 387.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5308, allocations: 1.672 kB / 387.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.5332, allocations: 1.915 MB / 389.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5332, allocations: 0.6094 kB / 389.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.5342, allocations: 437.6 kB / 390.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.5343, allocations: 104.5 kB / 390.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.5343, allocations: 9.094 kB / 390.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.5345, allocations: 21.17 kB / 390.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.5346, allocations: 13.38 kB / 390.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.5346, allocations: 4.438 kB / 390.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.5348, allocations: 161.6 kB / 390.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5348, allocations: 1.188 kB / 390.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000768/0.5356, allocations: 118.1 kB / 390.6 MB, free: 2.145 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.0002116/0.5358, allocations: 104.6 kB / 390.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.5372, allocations: 0.5383 MB / 391.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5372, allocations: 0.6875 kB / 391.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.5375, allocations: 209.8 kB / 391.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.538, allocations: 40.45 kB / 391.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.5393, allocations: 0.494 MB / 392 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.5396, allocations: 0.7403 MB / 392.7 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.5398, allocations: 26.39 kB / 392.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.5398, allocations: 17.47 kB / 392.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5398, allocations: 0 / 392.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of Templates: time 0.0108/0.5506, allocations: 3.124 MB / 395.9 MB, free: 376 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)