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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3083/0.3082, allocations: 40 MB / 310.4 MB, free: 9.637 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005533/0.0005535, allocations: 20 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 57.96 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001759/0.1086, allocations: 1.323 MB / 438.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.1095, allocations: 0.5428 MB / 438.6 MB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.1097, allocations: 4 kB / 438.6 MB, free: 440 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.157e-05/0.1097, allocations: 11.92 kB / 438.6 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.1098, allocations: 15.97 kB / 438.7 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1101, allocations: 39.83 kB / 438.7 MB, free: 372 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1103, allocations: 63.92 kB / 438.8 MB, free: 308 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1104, allocations: 23.97 kB / 438.8 MB, free: 284 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1106, allocations: 39.83 kB / 438.8 MB, free: 244 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1107, allocations: 39.78 kB / 438.9 MB, free: 204 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1107, allocations: 4 kB / 438.9 MB, free: 200 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.1107, allocations: 4 kB / 438.9 MB, free: 196 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.1108, allocations: 15.97 kB / 438.9 MB, free: 180 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.1108, allocations: 37.64 kB / 438.9 MB, free: 136 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1109, allocations: 76.02 kB / 439 MB, free: 60 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.111, allocations: 0 / 439 MB, free: 60 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.111, allocations: 3.938 kB / 439 MB, free: 56 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.111, allocations: 0 / 439 MB, free: 56 kB / 366.1 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.0007127/0.1117, allocations: 395 kB / 439.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1117, allocations: 8.031 kB / 439.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1118, allocations: 11.86 kB / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1121, allocations: 202.8 kB / 439.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1121, allocations: 4 kB / 439.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1121, allocations: 8 kB / 439.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.1124, allocations: 101.6 kB / 439.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1124, allocations: 3.984 kB / 439.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1124, allocations: 0 / 439.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.1124, allocations: 7.984 kB / 439.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1126, allocations: 51.92 kB / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.1132, allocations: 372.5 kB / 440.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1133, allocations: 66.48 kB / 440.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1133, allocations: 0 / 440.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.1136, allocations: 99.45 kB / 440.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1136, allocations: 0 / 440.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003643/0.1139, allocations: 137.5 kB / 440.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.114, allocations: 51.41 kB / 440.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1141, allocations: 141.5 kB / 440.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1142, allocations: 29.7 kB / 440.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.1142, allocations: 108.2 kB / 440.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1143, allocations: 23.61 kB / 440.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.1143, allocations: 8 kB / 440.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1144, allocations: 318.8 kB / 441.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.1144, allocations: 28.3 kB / 441.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.236e-05/0.1146, allocations: 83.72 kB / 441.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.1146, allocations: 47.92 kB / 441.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1147, allocations: 3.938 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002327/0.1149, allocations: 137.3 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1149, allocations: 8.219 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1149, allocations: 4 kB / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.115, allocations: 4 kB / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1151, allocations: 27.92 kB / 441.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1151, allocations: 3.984 kB / 441.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.1152, allocations: 15.94 kB / 441.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1152, allocations: 4 kB / 441.5 MB, free: 13.35 MB / 382.1 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 () * Number of clocked 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 0.0001003/0.1153, allocations: 125.8 kB / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.1153, allocations: 15.86 kB / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.1154, allocations: 16.7 kB / 441.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1154, allocations: 4.078 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1154, allocations: 0 / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1154, allocations: 0 / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1155, allocations: 213.6 kB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1155, allocations: 4 kB / 441.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.1156, allocations: 12 kB / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1157, allocations: 0 / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1157, allocations: 7.938 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1157, allocations: 8 kB / 441.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1157, allocations: 3.938 kB / 441.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.116, allocations: 168.9 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.116, allocations: 81.02 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1161, allocations: 4.031 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.1161, allocations: 20 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.1162, allocations: 4 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1162, allocations: 3.984 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.1163, allocations: 103.3 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1163, allocations: 0 / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.1165, allocations: 20 kB / 442.3 MB, free: 12.46 MB / 382.1 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) * Number of clocked states: 0 () * 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.874e-05/0.1166, allocations: 95.23 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1168, allocations: 91.86 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1168, allocations: 3.938 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.221e-05/0.1169, allocations: 39.92 kB / 442.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1171, allocations: 4 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.1175, allocations: 283.7 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1178, allocations: 0.7081 MB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.1179, allocations: 20.41 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.1179, allocations: 11.44 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1179, allocations: 0 / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of Templates: time 0.002729/0.1207, allocations: 0.8079 MB / 444.3 MB, free: 10.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: