Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001402/0.001402, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.564/1.564, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 105.1 kB / 252.6 MB, free: 4.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2037/0.2037, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.228e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.5001, allocations: 90.06 MB / 0.5324 GB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5004, allocations: 65.53 kB / 0.5325 GB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08082/0.5813, allocations: 27.61 MB / 0.5594 GB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5813, allocations: 0 / 0.5594 GB, free: 10.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.076e-05/0.5814, allocations: 19.94 kB / 0.5595 GB, free: 10.22 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001844/0.5833, allocations: 0.9094 MB / 0.5603 GB, free: 9.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5833, allocations: 12.03 kB / 0.5604 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.5835, allocations: 86.97 kB / 0.5604 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.5846, allocations: 0.5322 MB / 0.561 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.5847, allocations: 36.97 kB / 0.561 GB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.5848, allocations: 51.97 kB / 0.561 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.5857, allocations: 470.8 kB / 0.5615 GB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5857, allocations: 3.938 kB / 0.5615 GB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.5857, allocations: 13.94 kB / 0.5615 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5858, allocations: 15.92 kB / 0.5615 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.5864, allocations: 337.3 kB / 0.5619 GB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.5896, allocations: 1.927 MB / 0.5637 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.5903, allocations: 433 kB / 0.5641 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.5906, allocations: 200.2 kB / 0.5643 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.5907, allocations: 11.94 kB / 0.5643 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5907, allocations: 42 kB / 0.5644 GB, free: 5.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.775e-06/0.5907, allocations: 4 kB / 0.5644 GB, free: 5.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001426/0.5922, allocations: 0.7634 MB / 0.5651 GB, free: 5.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.5922, allocations: 110.8 kB / 0.5652 GB, free: 5.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.5929, allocations: 0.4957 MB / 0.5657 GB, free: 4.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.5929, allocations: 33.33 kB / 0.5658 GB, free: 4.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.5932, allocations: 321.4 kB / 0.5661 GB, free: 4.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.5933, allocations: 178.4 kB / 0.5662 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.5934, allocations: 9 kB / 0.5662 GB, free: 4.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5936, allocations: 380.9 kB / 0.5666 GB, free: 3.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.5939, allocations: 195.9 kB / 0.5668 GB, free: 3.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.5943, allocations: 305.2 kB / 0.5671 GB, free: 3.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.5947, allocations: 231.2 kB / 0.5673 GB, free: 3.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5947, allocations: 0 / 0.5673 GB, free: 3.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001008/0.5957, allocations: 0.6271 MB / 0.5679 GB, free: 2.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004626/0.5962, allocations: 1.053 MB / 0.5689 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5962, allocations: 0 / 0.5689 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5962, allocations: 8 kB / 0.569 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.5972, allocations: 194.5 kB / 0.5691 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.5973, allocations: 11.88 kB / 0.5692 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.5978, allocations: 84.25 kB / 0.5692 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.5978, allocations: 23.94 kB / 0.5693 GB, free: 1.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.5979, allocations: 4 kB / 0.5693 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000835/0.5987, allocations: 0.5322 MB / 0.5698 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5987, allocations: 0 / 0.5698 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.5987, allocations: 8 kB / 0.5698 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.5996, allocations: 191.9 kB / 0.57 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5996, allocations: 8 kB / 0.57 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.6001, allocations: 84.48 kB / 0.5701 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.6002, allocations: 22.8 kB / 0.5701 GB, free: 0.8438 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.6003, allocations: 139.1 kB / 0.5702 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6005, allocations: 67.16 kB / 0.5703 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.6007, allocations: 79.92 kB / 0.5704 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6007, allocations: 8 kB / 0.5704 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6007, allocations: 0 / 0.5704 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6008, allocations: 3.984 kB / 0.5704 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.6024, allocations: 1.164 MB / 0.5715 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.6025, allocations: 4 kB / 0.5715 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.6031, allocations: 111.9 kB / 0.5716 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6031, allocations: 3.984 kB / 0.5716 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.6032, allocations: 15.38 kB / 0.5716 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.6032, allocations: 7.938 kB / 0.5716 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6032, allocations: 3.953 kB / 0.5716 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.6044, allocations: 1.006 MB / 0.5726 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.6047, allocations: 197.3 kB / 0.5728 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.6048, allocations: 15.25 kB / 0.5728 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.6053, allocations: 54.75 kB / 0.5729 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.6054, allocations: 47.75 kB / 0.5729 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.6055, allocations: 11.81 kB / 0.5729 GB, free: 14.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004547/0.6059, allocations: 398.4 kB / 0.5733 GB, free: 14.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.606, allocations: 0 / 0.5733 GB, free: 14.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000857/0.6068, allocations: 223.8 kB / 0.5735 GB, free: 13.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003292/0.6072, allocations: 154.5 kB / 0.5737 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.6085, allocations: 0.7761 MB / 0.5744 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6086, allocations: 0 / 0.5744 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.6089, allocations: 228.3 kB / 0.5747 GB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.6098, allocations: 159.5 kB / 0.5748 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.6121, allocations: 1.15 MB / 0.5759 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.6126, allocations: 0.946 MB / 0.5768 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007516/0.6134, allocations: 202.7 kB / 0.577 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.6136, allocations: 35.44 kB / 0.5771 GB, free: 10.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6136, allocations: 0 / 0.5771 GB, free: 10.61 MB / 394.7 MB Notification: Performance of Templates: time 0.01673/0.6303, allocations: 8.331 MB / 0.5852 GB, free: 2.324 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)