Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.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.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0011/0.0011, 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.306/1.306, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001579/0.001579, allocations: 107.5 kB / 218 MB, free: 8.34 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.1848/0.1848, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 2.031 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4722, allocations: 73.78 MB / 472.5 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.4725, allocations: 60.19 kB / 472.6 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005303/0.4778, allocations: 1.649 MB / 474.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4779, allocations: 1.219 kB / 474.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4779, allocations: 1.062 kB / 474.2 MB, free: 17.43 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004267/0.4783, allocations: 383.4 kB / 474.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4784, allocations: 9.375 kB / 474.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.4784, allocations: 10.31 kB / 474.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.4787, allocations: 215.5 kB / 474.8 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4787, allocations: 3 kB / 474.8 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.4787, allocations: 5.312 kB / 474.8 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/0.4789, allocations: 33.62 kB / 474.9 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.479, allocations: 79.59 kB / 474.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4791, allocations: 0 / 474.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4791, allocations: 0.75 kB / 474.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.4791, allocations: 2.125 kB / 474.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.4797, allocations: 338.7 kB / 475.3 MB, free: 16.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4798, allocations: 52.12 kB / 475.3 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.4798, allocations: 18.47 kB / 475.3 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4799, allocations: 4.703 kB / 475.3 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.4801, allocations: 95.59 kB / 475.4 MB, free: 16.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.4801, allocations: 0 / 475.4 MB, free: 16.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002732/0.4804, allocations: 89.89 kB / 475.5 MB, free: 16.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.4804, allocations: 57.2 kB / 475.6 MB, free: 16.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4805, allocations: 124.8 kB / 475.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4806, allocations: 31.41 kB / 475.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.4806, allocations: 100.1 kB / 475.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.4806, allocations: 25.17 kB / 475.9 MB, free: 16.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.4807, allocations: 0 / 475.9 MB, free: 16.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.4807, allocations: 326 kB / 476.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.4808, allocations: 16.69 kB / 476.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.4809, allocations: 71.97 kB / 476.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.4809, allocations: 34.25 kB / 476.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4809, allocations: 0 / 476.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001905/0.4811, allocations: 109.9 kB / 476.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4812, allocations: 7 kB / 476.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4812, allocations: 5.812 kB / 476.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4812, allocations: 11.39 kB / 476.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4813, allocations: 31.58 kB / 476.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4814, allocations: 5.625 kB / 476.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.4814, allocations: 12.78 kB / 476.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.4815, allocations: 7.031 kB / 476.5 MB, free: 15.66 MB / 330.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 6.952e-05/0.4815, allocations: 114.7 kB / 476.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.4816, allocations: 10.06 kB / 476.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.4816, allocations: 14.55 kB / 476.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.4816, allocations: 2.125 kB / 476.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4816, allocations: 3.953 kB / 476.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4816, allocations: 2.547 kB / 476.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.4818, allocations: 174.1 kB / 476.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4818, allocations: 0 / 476.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.4819, allocations: 14.02 kB / 476.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4819, allocations: 0.9375 kB / 476.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4819, allocations: 2.125 kB / 476.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4819, allocations: 1.375 kB / 476.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4819, allocations: 4 kB / 476.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.4822, allocations: 153 kB / 477 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.4822, allocations: 93.25 kB / 477.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.4823, allocations: 2.047 kB / 477.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.4823, allocations: 8.281 kB / 477.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4824, allocations: 6.25 kB / 477.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4824, allocations: 4.172 kB / 477.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.601e-05/0.4825, allocations: 111.2 kB / 477.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4825, allocations: 0 / 477.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.4827, allocations: 21 kB / 477.2 MB, free: 15.11 MB / 330.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 0.0001235/0.4829, allocations: 101.5 kB / 477.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.483, allocations: 57.69 kB / 477.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.483, allocations: 4.031 kB / 477.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.4831, allocations: 33 kB / 477.4 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.4833, allocations: 13.52 kB / 477.4 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.4837, allocations: 154.3 kB / 477.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.4844, allocations: 0.7099 MB / 478.3 MB, free: 30.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.4844, allocations: 8.469 kB / 478.3 MB, free: 30.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.4845, allocations: 17.69 kB / 478.3 MB, free: 30.19 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4845, allocations: 0 / 478.3 MB, free: 30.19 MB / 346.7 MB Notification: Performance of Templates: time 0.003172/0.4877, allocations: 0.7705 MB / 479.1 MB, free: 30.12 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)