Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001545, allocations: 104.3 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 196.5 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.46/0.46, allocations: 78.53 MB / 419 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 79.88 kB / 498.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1322, allocations: 68.18 MB / 0.5538 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2229/0.3551, allocations: 8.212 MB / 0.5618 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.36, allocations: 2.61 MB / 0.5643 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006612/0.3606, allocations: 11.91 kB / 0.5644 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.3613, allocations: 311 kB / 0.5646 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.3642, allocations: 1.496 MB / 0.5661 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3653, allocations: 0.5996 MB / 0.5667 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.3676, allocations: 2.566 MB / 0.5692 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.368, allocations: 315.9 kB / 0.5695 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.3689, allocations: 1.006 MB / 0.5705 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.3701, allocations: 1.359 MB / 0.5718 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.3704, allocations: 203.1 kB / 0.572 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006037/0.371, allocations: 380.5 kB / 0.5724 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.3713, allocations: 0.519 MB / 0.5729 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.3719, allocations: 0.9881 MB / 0.5738 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.3738, allocations: 2.371 MB / 0.5762 GB, free: 31.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3738, allocations: 5.031 kB / 0.5762 GB, free: 31.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3738, allocations: 0 / 0.5762 GB, free: 31.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.709e-05/0.3738, allocations: 2.625 kB / 0.5762 GB, free: 31.53 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01886/0.3927, allocations: 4.942 MB / 0.581 GB, free: 30.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3927, allocations: 9.906 kB / 0.581 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.3962, allocations: 0.5777 MB / 0.5816 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.3983, allocations: 1.217 MB / 0.5828 GB, free: 29.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.3985, allocations: 272.5 kB / 0.583 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.3987, allocations: 117 kB / 0.5831 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.4008, allocations: 1.088 MB / 0.5842 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4008, allocations: 4 kB / 0.5842 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.4009, allocations: 35.28 kB / 0.5842 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.4009, allocations: 19.88 kB / 0.5842 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.4033, allocations: 1.186 MB / 0.5854 GB, free: 28.17 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007222/0.4105, allocations: 4.598 MB / 0.5899 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.4135, allocations: 2.144 MB / 0.592 GB, free: 24.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.415, allocations: 0.7907 MB / 0.5928 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.4151, allocations: 26.72 kB / 0.5928 GB, free: 23.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4152, allocations: 45.23 kB / 0.5928 GB, free: 23.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.217e-06/0.4152, allocations: 0 / 0.5928 GB, free: 23.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02705/0.4422, allocations: 6.69 MB / 0.5994 GB, free: 22.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.4423, allocations: 64.95 kB / 0.5994 GB, free: 22.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.4451, allocations: 1.662 MB / 0.601 GB, free: 21.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.4454, allocations: 56.14 kB / 0.6011 GB, free: 21.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.4459, allocations: 0.5547 MB / 0.6016 GB, free: 20.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/0.4464, allocations: 0.4938 MB / 0.6021 GB, free: 20.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.4476, allocations: 0.5103 MB / 0.6026 GB, free: 20.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.4477, allocations: 302.3 kB / 0.6029 GB, free: 20.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.45, allocations: 1.15 MB / 0.604 GB, free: 19.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.4524, allocations: 1.355 MB / 0.6054 GB, free: 19.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/0.4566, allocations: 2.344 MB / 0.6076 GB, free: 17.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.4567, allocations: 0.75 kB / 0.6076 GB, free: 17.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009229/0.4659, allocations: 4.082 MB / 0.6116 GB, free: 16.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4659, allocations: 5.438 kB / 0.6116 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.466, allocations: 2.438 kB / 0.6116 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/0.4766, allocations: 2.829 MB / 0.6144 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.4789, allocations: 471.3 kB / 0.6149 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004878/0.4838, allocations: 2.527 MB / 0.6173 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.4866, allocations: 246.9 kB / 0.6176 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.4869, allocations: 91.97 kB / 0.6176 GB, free: 12.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (281): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0006361/0.4875, allocations: 313.3 kB / 0.6179 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.488, allocations: 169.8 kB / 0.6181 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00979/0.4978, allocations: 3.548 MB / 0.6216 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.4978, allocations: 12 kB / 0.6216 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4978, allocations: 3.938 kB / 0.6216 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4978, allocations: 11.91 kB / 0.6216 GB, free: 8.742 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.5096, allocations: 5.652 MB / 0.6271 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5096, allocations: 0 / 0.6271 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/0.5106, allocations: 159.8 kB / 0.6273 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004823/0.5155, allocations: 1.49 MB / 0.6287 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.5156, allocations: 27.98 kB / 0.6287 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/0.5337, allocations: 7.849 MB / 0.6364 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5337, allocations: 1.625 kB / 0.6364 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.5466, allocations: 4.562 MB / 0.6409 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008491/0.5475, allocations: 306.8 kB / 0.6412 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004704/0.548, allocations: 20 kB / 0.6412 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.5496, allocations: 83.92 kB / 0.6413 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/0.5502, allocations: 189.5 kB / 0.6414 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.5503, allocations: 36 kB / 0.6415 GB, free: 4.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001652/0.552, allocations: 1.09 MB / 0.6425 GB, free: 2.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.552, allocations: 0 / 0.6425 GB, free: 2.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001776/0.5538, allocations: 0.5933 MB / 0.6431 GB, free: 2.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.PSIkq) * 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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003079/0.5541, allocations: 156.7 kB / 0.6433 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00795/0.562, allocations: 3.007 MB / 0.6462 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5621, allocations: 0 / 0.6462 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004285/0.5664, allocations: 1.53 MB / 0.6477 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.5677, allocations: 130.9 kB / 0.6478 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006152/0.5739, allocations: 3.481 MB / 0.6512 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/0.5747, allocations: 1.23 MB / 0.6524 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006706/0.5754, allocations: 168.2 kB / 0.6526 GB, free: 8.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.5759, allocations: 107.4 kB / 0.6527 GB, free: 8.59 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5759, allocations: 0 / 0.6527 GB, free: 8.59 MB / 462.1 MB Notification: Performance of Templates: time 0.04826/0.6241, allocations: 30.53 MB / 0.6825 GB, free: 10.2 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)