Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.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.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.343/1.343, allocations: 194.3 MB / 202.4 MB, free: 8.469 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.00166/0.001659, allocations: 112.6 kB / 247.4 MB, free: 6.199 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.1818/0.1818, allocations: 39.94 MB / 332.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.167e-05/1.172e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09561, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4206, allocations: 80.15 MB / 0.5159 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.4208, allocations: 64.12 kB / 0.516 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003972/0.4248, allocations: 1.64 MB / 0.5176 GB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4248, allocations: 0 / 0.5176 GB, free: 10.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4249, allocations: 3.844 kB / 0.5176 GB, free: 10.01 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003525/0.4252, allocations: 383.9 kB / 0.518 GB, free: 9.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4253, allocations: 11.81 kB / 0.518 GB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.4253, allocations: 11.5 kB / 0.518 GB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.4255, allocations: 198.5 kB / 0.5182 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4255, allocations: 7.781 kB / 0.5182 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.4256, allocations: 10.88 kB / 0.5182 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.703e-05/0.4257, allocations: 35.16 kB / 0.5182 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.4258, allocations: 80.42 kB / 0.5183 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4258, allocations: 0 / 0.5183 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4258, allocations: 3.953 kB / 0.5183 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4258, allocations: 3.844 kB / 0.5183 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.4263, allocations: 337.8 kB / 0.5186 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.4263, allocations: 51.69 kB / 0.5187 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.4264, allocations: 25.44 kB / 0.5187 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4264, allocations: 0 / 0.5187 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.4266, allocations: 94.47 kB / 0.5188 GB, free: 9.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.4266, allocations: 0 / 0.5188 GB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000181/0.4268, allocations: 88.69 kB / 0.5189 GB, free: 9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.4268, allocations: 51.41 kB / 0.5189 GB, free: 8.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.4269, allocations: 126.1 kB / 0.5191 GB, free: 8.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4269, allocations: 30.61 kB / 0.5191 GB, free: 8.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.4269, allocations: 108.5 kB / 0.5192 GB, free: 8.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.427, allocations: 22.22 kB / 0.5192 GB, free: 8.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.427, allocations: 0 / 0.5192 GB, free: 8.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.427, allocations: 327.8 kB / 0.5195 GB, free: 8.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.4271, allocations: 10.81 kB / 0.5195 GB, free: 8.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.4271, allocations: 77.42 kB / 0.5196 GB, free: 8.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.4272, allocations: 27.98 kB / 0.5196 GB, free: 8.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4272, allocations: 4 kB / 0.5196 GB, free: 8.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001428/0.4273, allocations: 122.1 kB / 0.5198 GB, free: 8.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4274, allocations: 7.719 kB / 0.5198 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4274, allocations: 3.875 kB / 0.5198 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4274, allocations: 3.844 kB / 0.5198 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4275, allocations: 23.98 kB / 0.5198 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4275, allocations: 7.906 kB / 0.5198 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.4276, allocations: 12.03 kB / 0.5198 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4276, allocations: 7.781 kB / 0.5198 GB, free: 8.234 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 4.882e-05/0.4277, allocations: 117.5 kB / 0.5199 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.4277, allocations: 11.83 kB / 0.5199 GB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.4277, allocations: 15.7 kB / 0.52 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4277, allocations: 2.906 kB / 0.52 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4277, allocations: 0 / 0.52 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4278, allocations: 0 / 0.52 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.645e-05/0.4278, allocations: 174 kB / 0.5201 GB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4279, allocations: 3.875 kB / 0.5201 GB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.4279, allocations: 18.38 kB / 0.5202 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.428, allocations: 3 kB / 0.5202 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.428, allocations: 3.75 kB / 0.5202 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.428, allocations: 3.953 kB / 0.5202 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.428, allocations: 0 / 0.5202 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.4282, allocations: 147.6 kB / 0.5203 GB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.4282, allocations: 87.98 kB / 0.5204 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.4282, allocations: 3.969 kB / 0.5204 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.4283, allocations: 0 / 0.5204 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.4283, allocations: 13.64 kB / 0.5204 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4284, allocations: 6.344 kB / 0.5204 GB, free: 7.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.4284, allocations: 99.81 kB / 0.5205 GB, free: 7.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4284, allocations: 0 / 0.5205 GB, free: 7.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.4286, allocations: 19.5 kB / 0.5205 GB, free: 7.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.188e-05/0.4287, allocations: 104.1 kB / 0.5206 GB, free: 7.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.4288, allocations: 61.55 kB / 0.5207 GB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4288, allocations: 0 / 0.5207 GB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.4289, allocations: 26.16 kB / 0.5207 GB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.4291, allocations: 10.59 kB / 0.5207 GB, free: 7.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.4294, allocations: 163.8 kB / 0.5209 GB, free: 7.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.4295, allocations: 0.706 MB / 0.5216 GB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.013e-05/0.4296, allocations: 10.3 kB / 0.5216 GB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.4296, allocations: 14.11 kB / 0.5216 GB, free: 6.762 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4296, allocations: 3.75 kB / 0.5216 GB, free: 6.762 MB / 346.7 MB Notification: Performance of Templates: time 0.002412/0.432, allocations: 0.7603 MB / 0.5223 GB, free: 6.66 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)