Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001561/0.001561, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.458/1.458, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001598/0.001597, allocations: 103.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1984/0.1984, allocations: 37.99 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.646e-05, allocations: 1.25 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 48.72 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3965/0.5258, allocations: 83.17 MB / 481.9 MB, free: 17.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/0.5263, allocations: 62.67 kB / 482 MB, free: 17.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08126/0.6076, allocations: 29.14 MB / 0.4991 GB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6076, allocations: 0 / 0.4991 GB, free: 11.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.443e-05/0.6077, allocations: 23.44 kB / 0.4991 GB, free: 11.16 MB / 330.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.001966/0.6097, allocations: 0.9346 MB / 0.5001 GB, free: 10.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6097, allocations: 7.75 kB / 0.5001 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.61, allocations: 89.61 kB / 0.5001 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.6112, allocations: 0.5515 MB / 0.5007 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.6113, allocations: 11.47 kB / 0.5007 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/0.6114, allocations: 38.58 kB / 0.5007 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005056/0.6119, allocations: 308 kB / 0.501 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.6125, allocations: 425.1 kB / 0.5014 GB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.6125, allocations: 11.8 kB / 0.5014 GB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.6126, allocations: 0 / 0.5014 GB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.6126, allocations: 11.62 kB / 0.5015 GB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.6154, allocations: 1.838 MB / 0.5033 GB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.6159, allocations: 412.4 kB / 0.5036 GB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.6162, allocations: 186 kB / 0.5038 GB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.6162, allocations: 9.172 kB / 0.5038 GB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.6162, allocations: 38.38 kB / 0.5039 GB, free: 8.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.6162, allocations: 4 kB / 0.5039 GB, free: 8.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001159/0.6174, allocations: 0.734 MB / 0.5046 GB, free: 8.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.6175, allocations: 106.8 kB / 0.5047 GB, free: 8.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.6179, allocations: 459.7 kB / 0.5051 GB, free: 7.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.6179, allocations: 25.7 kB / 0.5052 GB, free: 7.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6181, allocations: 312.5 kB / 0.5054 GB, free: 7.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.6182, allocations: 174.2 kB / 0.5056 GB, free: 7.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.6182, allocations: 0 / 0.5056 GB, free: 7.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.6183, allocations: 380.4 kB / 0.506 GB, free: 7.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.6186, allocations: 185.8 kB / 0.5062 GB, free: 7.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.6189, allocations: 285.5 kB / 0.5064 GB, free: 7.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.6192, allocations: 223.8 kB / 0.5066 GB, free: 7.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6192, allocations: 7.828 kB / 0.5066 GB, free: 7.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000785/0.62, allocations: 0.5723 MB / 0.5072 GB, free: 7.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6201, allocations: 3.781 kB / 0.5072 GB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6201, allocations: 3.844 kB / 0.5072 GB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6201, allocations: 7.75 kB / 0.5072 GB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/0.6211, allocations: 202.6 kB / 0.5074 GB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.6211, allocations: 3.875 kB / 0.5074 GB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.6216, allocations: 73.92 kB / 0.5075 GB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.6216, allocations: 26.83 kB / 0.5075 GB, free: 6.926 MB / 330.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.0001068/0.6218, allocations: 116.4 kB / 0.5076 GB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6219, allocations: 70.33 kB / 0.5077 GB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.622, allocations: 74.7 kB / 0.5078 GB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6221, allocations: 15.78 kB / 0.5078 GB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.6221, allocations: 0 / 0.5078 GB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6221, allocations: 7.922 kB / 0.5078 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.6234, allocations: 1.075 MB / 0.5088 GB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6234, allocations: 0 / 0.5088 GB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.624, allocations: 113.2 kB / 0.5089 GB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.624, allocations: 7.875 kB / 0.509 GB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.6241, allocations: 11.61 kB / 0.509 GB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.6241, allocations: 7.812 kB / 0.509 GB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6241, allocations: 0 / 0.509 GB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/0.6251, allocations: 0.9744 MB / 0.5099 GB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.6253, allocations: 191.6 kB / 0.5101 GB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.6254, allocations: 15.45 kB / 0.5101 GB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.6259, allocations: 50.69 kB / 0.5102 GB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/0.626, allocations: 42.81 kB / 0.5102 GB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.6261, allocations: 14.72 kB / 0.5102 GB, free: 5.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.6264, allocations: 348.4 kB / 0.5106 GB, free: 5.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6264, allocations: 0 / 0.5106 GB, free: 5.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.627, allocations: 131 kB / 0.5107 GB, free: 5.336 MB / 330.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.0002904/0.6273, allocations: 148.9 kB / 0.5108 GB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.6279, allocations: 442.3 kB / 0.5112 GB, free: 5.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6279, allocations: 0 / 0.5112 GB, free: 5.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.6282, allocations: 216.3 kB / 0.5115 GB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.629, allocations: 147.8 kB / 0.5116 GB, free: 5.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.6307, allocations: 1.14 MB / 0.5127 GB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.6312, allocations: 0.9415 MB / 0.5136 GB, free: 19.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003606/0.6315, allocations: 105.9 kB / 0.5137 GB, free: 19.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.6317, allocations: 41.59 kB / 0.5138 GB, free: 19.65 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6317, allocations: 3.938 kB / 0.5138 GB, free: 19.64 MB / 346.7 MB Notification: Performance of Templates: time 0.01148/0.6432, allocations: 6.183 MB / 0.5198 GB, free: 16.63 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)