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.001106/0.001106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001086/0.001086, allocations: 189.1 kB / 16.25 MB, free: 6.629 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.018/2.018, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001802/0.001802, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5084, allocations: 46.63 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005592/0.514, allocations: 2.634 MB / 327.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.5161, allocations: 0.6933 MB / 328.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/0.5166, allocations: 4.5 kB / 328.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.5169, allocations: 39.97 kB / 328.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000585/0.5175, allocations: 76.89 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.5179, allocations: 65.94 kB / 328.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007964/0.5187, allocations: 313.1 kB / 328.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.5191, allocations: 93.22 kB / 328.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.5195, allocations: 110.5 kB / 328.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.5199, allocations: 122.8 kB / 329 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.52, allocations: 29.09 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.5201, allocations: 24.66 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.5202, allocations: 62.39 kB / 329.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.5204, allocations: 133.3 kB / 329.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.521, allocations: 283.5 kB / 329.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.521, allocations: 0 / 329.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.187e-06/0.521, allocations: 0 / 329.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.521, allocations: 0.9375 kB / 329.5 MB, free: 14.4 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.001693/0.5227, allocations: 0.5616 MB / 330.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.237e-05/0.5228, allocations: 8.594 kB / 330.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.523, allocations: 31.28 kB / 330.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.5235, allocations: 252.7 kB / 330.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.5235, allocations: 26.03 kB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.5236, allocations: 19 kB / 330.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.5243, allocations: 225.4 kB / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5243, allocations: 0 / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.5243, allocations: 10.22 kB / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.5244, allocations: 9.406 kB / 330.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.5249, allocations: 200.1 kB / 330.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.5267, allocations: 0.8934 MB / 331.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.5274, allocations: 220.5 kB / 332 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.5278, allocations: 124.2 kB / 332.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.5279, allocations: 2.344 kB / 332.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.5279, allocations: 39.64 kB / 332.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.5279, allocations: 0.9062 kB / 332.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001966/0.5299, allocations: 0.5564 MB / 332.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.53, allocations: 59.41 kB / 332.7 MB, free: 11.99 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.5302, allocations: 227 kB / 333 MB, free: 11.76 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.5303, allocations: 29.7 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5304, allocations: 167.8 kB / 333.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.5305, allocations: 51.2 kB / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.5305, allocations: 41.7 kB / 333.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5307, allocations: 330.8 kB / 333.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.5309, allocations: 76.77 kB / 333.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5311, allocations: 113.9 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.5315, allocations: 185.9 kB / 333.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5315, allocations: 4 kB / 333.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008382/0.5323, allocations: 334.1 kB / 334.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5324, allocations: 8 kB / 334.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5324, allocations: 0 / 334.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.5328, allocations: 84.83 kB / 334.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.533, allocations: 39.92 kB / 334.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.5361, allocations: 2.021 MB / 336.4 MB, free: 8.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.5364, allocations: 23.91 kB / 336.4 MB, free: 8.047 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.5364, allocations: 11.98 kB / 336.4 MB, free: 8.035 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001944/0.5366, allocations: 148 kB / 336.6 MB, free: 7.887 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001181/0.5367, allocations: 98.36 kB / 336.7 MB, free: 7.77 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000208/0.537, allocations: 145.9 kB / 336.8 MB, free: 7.605 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.537, allocations: 0 / 336.8 MB, free: 7.605 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004104/0.5374, allocations: 226.2 kB / 337 MB, free: 7.375 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5374, allocations: 8 kB / 337.1 MB, free: 7.367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.5374, allocations: 0 / 337.1 MB, free: 7.367 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.216e-05/0.5375, allocations: 24.84 kB / 337.1 MB, free: 7.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.5377, allocations: 47.91 kB / 337.1 MB, free: 7.293 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.5389, allocations: 1.414 MB / 338.5 MB, free: 5.742 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.5391, allocations: 11.94 kB / 338.6 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.5391, allocations: 8 kB / 338.6 MB, free: 5.723 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 (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.0001771/0.5393, allocations: 200.2 kB / 338.8 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.5394, allocations: 15.81 kB / 338.8 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.5394, allocations: 17.53 kB / 338.8 MB, free: 5.492 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5394, allocations: 7.938 kB / 338.8 MB, free: 5.484 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5394, allocations: 0 / 338.8 MB, free: 5.484 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5394, allocations: 3.984 kB / 338.8 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.5406, allocations: 0.6283 MB / 339.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.5406, allocations: 3.984 kB / 339.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.5408, allocations: 24 kB / 339.5 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.541, allocations: 80.8 kB / 339.5 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.5411, allocations: 4 kB / 339.5 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.5436, allocations: 1.919 MB / 341.5 MB, free: 2.617 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5436, allocations: 3.938 kB / 341.5 MB, free: 2.613 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.5445, allocations: 439.9 kB / 341.9 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.5446, allocations: 92.89 kB / 342 MB, free: 2.055 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.5446, allocations: 7.938 kB / 342 MB, free: 2.047 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.5448, allocations: 19.98 kB / 342 MB, free: 2.027 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.5449, allocations: 7.984 kB / 342 MB, free: 2.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.5449, allocations: 16.05 kB / 342 MB, free: 2.004 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.5451, allocations: 160.6 kB / 342.2 MB, free: 1.848 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5451, allocations: 3.938 kB / 342.2 MB, free: 1.844 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005505/0.5456, allocations: 111.7 kB / 342.3 MB, free: 1.734 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 (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.0001879/0.5458, allocations: 99.25 kB / 342.4 MB, free: 1.629 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.5471, allocations: 0.548 MB / 342.9 MB, free: 1.055 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5472, allocations: 0 / 342.9 MB, free: 1.055 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.5475, allocations: 202.6 kB / 343.1 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.5481, allocations: 45.39 kB / 343.2 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.5493, allocations: 0.5837 MB / 343.8 MB, free: 196 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.5497, allocations: 0.744 MB / 344.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.5499, allocations: 25.94 kB / 344.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.5499, allocations: 15.44 kB / 344.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.5499, allocations: 0 / 344.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of Templates: time 0.007278/0.5572, allocations: 3.082 MB / 347.6 MB, free: 12.3 MB / 286.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)