Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00658/0.00658, allocations: 165.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.213/1.213, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001653/0.001653, allocations: 114.6 kB / 226.2 MB, free: 10.11 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.3413/0.3413, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006069/0.0006069, allocations: 8 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1298, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.325/0.4548, allocations: 83.43 MB / 495 MB, free: 4.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4551, allocations: 71.31 kB / 495.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04017/0.4953, allocations: 14.63 MB / 0.4977 GB, free: 8.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4954, allocations: 0 / 0.4977 GB, free: 8.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.888e-05/0.4954, allocations: 24.16 kB / 0.4978 GB, free: 8.039 MB / 346.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.002178/0.4976, allocations: 1.058 MB / 0.4988 GB, free: 6.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4977, allocations: 8.031 kB / 0.4988 GB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.4978, allocations: 86.33 kB / 0.4989 GB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4991, allocations: 0.5584 MB / 0.4994 GB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.4991, allocations: 32.12 kB / 0.4995 GB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4993, allocations: 57.34 kB / 0.4995 GB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5003, allocations: 0.5578 MB / 0.5001 GB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.5004, allocations: 3.984 kB / 0.5001 GB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.5004, allocations: 19.03 kB / 0.5001 GB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5005, allocations: 12 kB / 0.5001 GB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009962/0.5015, allocations: 479.3 kB / 0.5006 GB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.5047, allocations: 1.966 MB / 0.5025 GB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.5059, allocations: 0.5858 MB / 0.5031 GB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.5059, allocations: 4.344 kB / 0.5031 GB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.506, allocations: 49.66 kB / 0.5031 GB, free: 3.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.375e-06/0.506, allocations: 0 / 0.5031 GB, free: 3.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002329/0.5083, allocations: 1.16 MB / 0.5042 GB, free: 2.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/0.5084, allocations: 158.2 kB / 0.5044 GB, free: 2.074 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.5091, allocations: 0.5252 MB / 0.5049 GB, free: 1.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.5091, allocations: 39.7 kB / 0.5049 GB, free: 1.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.5093, allocations: 321 kB / 0.5052 GB, free: 1.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.5095, allocations: 174.6 kB / 0.5054 GB, free: 1.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.5095, allocations: 14.53 kB / 0.5054 GB, free: 1.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5097, allocations: 382.6 kB / 0.5058 GB, free: 0.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.5102, allocations: 272.8 kB / 0.506 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.5109, allocations: 393.9 kB / 0.5064 GB, free: 384 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.5115, allocations: 309.4 kB / 0.5067 GB, free: 164 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5116, allocations: 0 / 0.5067 GB, free: 164 kB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001464/0.513, allocations: 0.781 MB / 0.5075 GB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.5131, allocations: 8 kB / 0.5075 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5131, allocations: 4 kB / 0.5075 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5131, allocations: 4 kB / 0.5075 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.5137, allocations: 151.4 kB / 0.5076 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5138, allocations: 4 kB / 0.5076 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.5143, allocations: 94.66 kB / 0.5077 GB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.5143, allocations: 23.17 kB / 0.5078 GB, free: 15.28 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0002769/0.5146, allocations: 201.4 kB / 0.508 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.5147, allocations: 71.11 kB / 0.508 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.5149, allocations: 83.31 kB / 0.5081 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5149, allocations: 4 kB / 0.5081 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5149, allocations: 4 kB / 0.5081 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.5149, allocations: 4 kB / 0.5081 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.5161, allocations: 0.8183 MB / 0.5089 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5161, allocations: 0 / 0.5089 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.5167, allocations: 115.2 kB / 0.509 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5168, allocations: 0 / 0.509 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.5168, allocations: 18.92 kB / 0.509 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5168, allocations: 0 / 0.509 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5168, allocations: 4 kB / 0.509 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.5188, allocations: 1.218 MB / 0.5102 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.519, allocations: 189.7 kB / 0.5104 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.5191, allocations: 16.5 kB / 0.5104 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.5197, allocations: 66 kB / 0.5105 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.5198, allocations: 37.75 kB / 0.5105 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.5199, allocations: 11 kB / 0.5105 GB, free: 12.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005576/0.5204, allocations: 428 kB / 0.5109 GB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5204, allocations: 0 / 0.5109 GB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.5209, allocations: 118.6 kB / 0.5111 GB, free: 12.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0001697/0.5211, allocations: 123.6 kB / 0.5112 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.5224, allocations: 0.6182 MB / 0.5118 GB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5224, allocations: 4.062 kB / 0.5118 GB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.523, allocations: 297.4 kB / 0.5121 GB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008028/0.5239, allocations: 165 kB / 0.5122 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.5266, allocations: 1.633 MB / 0.5138 GB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.5271, allocations: 0.94 MB / 0.5147 GB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000406/0.5275, allocations: 108.5 kB / 0.5148 GB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5277, allocations: 42.06 kB / 0.5149 GB, free: 8.797 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5277, allocations: 0 / 0.5149 GB, free: 8.797 MB / 362.7 MB Notification: Performance of Templates: time 0.01207/0.5398, allocations: 6.214 MB / 0.5209 GB, free: 2.645 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe 2>&1)