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.001928/0.001928, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.002501/0.002501, allocations: 199 kB / 18 MB, free: 5.168 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.974/1.974, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.00152/0.00152, allocations: 51.94 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1355, allocations: 46.61 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005234/0.1408, allocations: 2.585 MB / 377.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1427, allocations: 0.7057 MB / 377.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.143, allocations: 8 kB / 377.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1433, allocations: 43.56 kB / 377.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.1436, allocations: 75.33 kB / 377.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1439, allocations: 87.81 kB / 378 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.1445, allocations: 310.5 kB / 378.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.1448, allocations: 100.9 kB / 378.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.145, allocations: 115.6 kB / 378.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1452, allocations: 135.4 kB / 378.7 MB, free: 368 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.1452, allocations: 24 kB / 378.7 MB, free: 344 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.1453, allocations: 24 kB / 378.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.1454, allocations: 55.77 kB / 378.8 MB, free: 264 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1455, allocations: 127.4 kB / 378.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3372/0.4828, allocations: 282.6 kB / 379.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.4829, allocations: 1.781 kB / 379.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4829, allocations: 0 / 379.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.4829, allocations: 0 / 379.2 MB, free: 10.43 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.001579/0.4845, allocations: 0.559 MB / 379.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.4846, allocations: 10.66 kB / 379.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.4847, allocations: 32.09 kB / 379.8 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.4854, allocations: 256 kB / 380 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.4854, allocations: 14.59 kB / 380 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.4855, allocations: 25.66 kB / 380.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.4862, allocations: 222.8 kB / 380.3 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4862, allocations: 5.312 kB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.4862, allocations: 12.56 kB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4863, allocations: 6.203 kB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005857/0.4869, allocations: 188.8 kB / 380.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.489, allocations: 0.8972 MB / 381.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.4899, allocations: 215.1 kB / 381.6 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.4904, allocations: 124 kB / 381.7 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.4904, allocations: 5.875 kB / 381.7 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4905, allocations: 37.45 kB / 381.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.445e-06/0.4905, allocations: 2.625 kB / 381.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.00231/0.4928, allocations: 0.5506 MB / 382.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4928, allocations: 53.92 kB / 382.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.4932, allocations: 243.9 kB / 382.6 MB, free: 8.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.4932, allocations: 30.73 kB / 382.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.4933, allocations: 165 kB / 382.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.4934, allocations: 48.45 kB / 382.8 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.4935, allocations: 44.64 kB / 382.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4937, allocations: 332.3 kB / 383.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4939, allocations: 75.02 kB / 383.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.4942, allocations: 116.2 kB / 383.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.4946, allocations: 186 kB / 383.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4946, allocations: 4 kB / 383.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001034/0.4956, allocations: 335.9 kB / 383.9 MB, free: 8.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4957, allocations: 6.75 kB / 383.9 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4957, allocations: 1.469 kB / 383.9 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004582/0.4962, allocations: 81.67 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.4964, allocations: 43.67 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.4995, allocations: 2.013 MB / 386 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.4997, allocations: 27.89 kB / 386.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.4997, allocations: 12.02 kB / 386.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001964/0.4999, allocations: 146.2 kB / 386.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001298/0.5001, allocations: 94.36 kB / 386.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002091/0.5003, allocations: 149.9 kB / 386.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.5003, allocations: 1.156 kB / 386.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004432/0.5008, allocations: 218 kB / 386.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5008, allocations: 5.969 kB / 386.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5008, allocations: 5.156 kB / 386.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.5009, allocations: 30.53 kB / 386.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.5011, allocations: 42.36 kB / 386.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.5022, allocations: 1.416 MB / 388.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.5024, allocations: 16.77 kB / 388.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.5024, allocations: 9.172 kB / 388.2 MB, free: 4.938 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.000151/0.5025, allocations: 194 kB / 388.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.5026, allocations: 25.91 kB / 388.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.5027, allocations: 20.19 kB / 388.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5027, allocations: 6.125 kB / 388.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5027, allocations: 1.5 kB / 388.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5027, allocations: 4.5 kB / 388.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.5041, allocations: 0.6253 MB / 389.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5041, allocations: 0 / 389.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.5042, allocations: 27.16 kB / 389.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003198/0.5045, allocations: 74.45 kB / 389.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.5046, allocations: 7.688 kB / 389.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/0.5072, allocations: 1.913 MB / 391.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5072, allocations: 4.625 kB / 391.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5083, allocations: 437.1 kB / 391.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5084, allocations: 100.9 kB / 391.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.5084, allocations: 8.719 kB / 391.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5087, allocations: 21.14 kB / 391.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.5087, allocations: 14.08 kB / 391.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.5087, allocations: 3.688 kB / 391.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.5089, allocations: 161.2 kB / 391.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5089, allocations: 0 / 391.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009658/0.5099, allocations: 114.7 kB / 391.9 MB, free: 2.164 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.0001851/0.5101, allocations: 105 kB / 392 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.5117, allocations: 0.5397 MB / 392.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.5117, allocations: 2.297 kB / 392.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.5121, allocations: 206.7 kB / 392.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.5125, allocations: 40.88 kB / 392.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.514, allocations: 0.4891 MB / 393.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.5143, allocations: 0.7439 MB / 394.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.5145, allocations: 22.05 kB / 394.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.5145, allocations: 17.94 kB / 394.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of SimCode: time 1.874e-06/0.5145, allocations: 0 / 394.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of Templates: time 0.01354/0.5281, allocations: 3.222 MB / 397.3 MB, free: 364 kB / 318.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)