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.001487/0.001487, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.446/1.446, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001735/0.001734, allocations: 103.5 kB / 223.2 MB, free: 4.117 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.1928/0.1928, allocations: 38.01 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.132e-05, allocations: 4 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.5413, allocations: 83.34 MB / 489 MB, free: 18.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.5415, allocations: 63.77 kB / 489.1 MB, free: 18.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03814/0.5797, allocations: 14.61 MB / 0.4919 GB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5797, allocations: 0 / 0.4919 GB, free: 15.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.675e-05/0.5798, allocations: 15.62 kB / 0.4919 GB, free: 15.17 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.001467/0.5812, allocations: 0.9213 MB / 0.4928 GB, free: 14.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5813, allocations: 7.875 kB / 0.4928 GB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.5814, allocations: 93.61 kB / 0.4929 GB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.5824, allocations: 0.5302 MB / 0.4934 GB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.5824, allocations: 32.06 kB / 0.4935 GB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.5825, allocations: 50.38 kB / 0.4935 GB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.5832, allocations: 497.7 kB / 0.494 GB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.5832, allocations: 3.875 kB / 0.494 GB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.5833, allocations: 18.81 kB / 0.494 GB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5833, allocations: 7.719 kB / 0.494 GB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.5838, allocations: 336.9 kB / 0.4943 GB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.5866, allocations: 1.968 MB / 0.4963 GB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.5873, allocations: 481 kB / 0.4967 GB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.5875, allocations: 189.5 kB / 0.4969 GB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.5876, allocations: 7.906 kB / 0.4969 GB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5876, allocations: 42.5 kB / 0.4969 GB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.5876, allocations: 0 / 0.4969 GB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001159/0.5888, allocations: 0.7638 MB / 0.4977 GB, free: 12.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.5889, allocations: 169.6 kB / 0.4978 GB, free: 12.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.5894, allocations: 0.4958 MB / 0.4983 GB, free: 11.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.5894, allocations: 36.58 kB / 0.4984 GB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.5896, allocations: 328.2 kB / 0.4987 GB, free: 11.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5897, allocations: 169.6 kB / 0.4988 GB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.5897, allocations: 7.062 kB / 0.4988 GB, free: 11.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.5898, allocations: 382.4 kB / 0.4992 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.5901, allocations: 189.5 kB / 0.4994 GB, free: 11.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.5905, allocations: 318.7 kB / 0.4997 GB, free: 11.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.5908, allocations: 222.5 kB / 0.4999 GB, free: 11.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5908, allocations: 0 / 0.4999 GB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008023/0.5916, allocations: 0.6211 MB / 0.5005 GB, free: 10.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5916, allocations: 3.906 kB / 0.5005 GB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5916, allocations: 3.875 kB / 0.5005 GB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5917, allocations: 7.844 kB / 0.5005 GB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.5923, allocations: 151.4 kB / 0.5007 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.5923, allocations: 7.75 kB / 0.5007 GB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.5928, allocations: 89.19 kB / 0.5008 GB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.5929, allocations: 22.88 kB / 0.5008 GB, free: 10.82 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 (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.0001188/0.593, allocations: 139 kB / 0.5009 GB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.5931, allocations: 70.3 kB / 0.501 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.5933, allocations: 88.19 kB / 0.5011 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5933, allocations: 3.844 kB / 0.5011 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5933, allocations: 0 / 0.5011 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5933, allocations: 0 / 0.5011 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.5943, allocations: 0.7938 MB / 0.5019 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5943, allocations: 3.812 kB / 0.5019 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.595, allocations: 112.7 kB / 0.502 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.595, allocations: 4 kB / 0.502 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.595, allocations: 27.16 kB / 0.502 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.595, allocations: 0 / 0.502 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.595, allocations: 0 / 0.502 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.596, allocations: 0.9682 MB / 0.5029 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.5963, allocations: 196.5 kB / 0.5031 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.5963, allocations: 25.98 kB / 0.5032 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.5969, allocations: 62.41 kB / 0.5032 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.597, allocations: 42.12 kB / 0.5033 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.5971, allocations: 15.14 kB / 0.5033 GB, free: 9.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003658/0.5974, allocations: 406.1 kB / 0.5037 GB, free: 9.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5974, allocations: 0 / 0.5037 GB, free: 9.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004592/0.5979, allocations: 112 kB / 0.5038 GB, free: 9.352 MB / 330.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 () * 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.0001417/0.5981, allocations: 118.8 kB / 0.5039 GB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.5987, allocations: 463.6 kB / 0.5043 GB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5987, allocations: 3.844 kB / 0.5043 GB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.599, allocations: 216.9 kB / 0.5045 GB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.5998, allocations: 151.9 kB / 0.5047 GB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.6018, allocations: 1.131 MB / 0.5058 GB, free: 8.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.6022, allocations: 0.9447 MB / 0.5067 GB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.6026, allocations: 103.1 kB / 0.5068 GB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.6027, allocations: 50.98 kB / 0.5068 GB, free: 7.719 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6027, allocations: 0 / 0.5068 GB, free: 7.719 MB / 330.7 MB Notification: Performance of Templates: time 0.009979/0.6127, allocations: 6.22 MB / 0.5129 GB, free: 4.68 MB / 330.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)