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.007556/0.007556, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.387/1.387, allocations: 222.9 MB / 239.4 MB, free: 4.367 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.001221/0.001221, allocations: 188.5 kB / 289.7 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4378/0.4378, allocations: 78.54 MB / 418.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 75.88 kB / 0.5536 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3563, allocations: 68.17 MB / 0.6202 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006435/0.3628, allocations: 8.22 MB / 0.6282 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005178/0.368, allocations: 2.616 MB / 0.6307 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.3693, allocations: 12 kB / 0.6308 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.3701, allocations: 313.3 kB / 0.6311 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.374, allocations: 1.491 MB / 0.6325 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3753, allocations: 0.5956 MB / 0.6331 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003116/0.3784, allocations: 2.576 MB / 0.6356 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.379, allocations: 312.8 kB / 0.6359 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.3802, allocations: 1.004 MB / 0.6369 GB, free: 9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.382, allocations: 1.358 MB / 0.6382 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.3824, allocations: 208 kB / 0.6384 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.3832, allocations: 387.8 kB / 0.6388 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.3836, allocations: 0.5138 MB / 0.6393 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008823/0.3845, allocations: 0.9868 MB / 0.6402 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.3871, allocations: 2.386 MB / 0.6426 GB, free: 3.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3871, allocations: 0 / 0.6426 GB, free: 3.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3871, allocations: 0 / 0.6426 GB, free: 3.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.98e-05/0.3871, allocations: 0 / 0.6426 GB, free: 3.156 MB / 446.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.0201/0.4073, allocations: 5.01 MB / 0.6475 GB, free: 14.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4073, allocations: 16.02 kB / 0.6475 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.4109, allocations: 0.5849 MB / 0.6481 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.413, allocations: 1.225 MB / 0.6492 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.4133, allocations: 272.8 kB / 0.6495 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.4135, allocations: 116 kB / 0.6496 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.4158, allocations: 1.089 MB / 0.6507 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4158, allocations: 0 / 0.6507 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.416, allocations: 32 kB / 0.6507 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4161, allocations: 20 kB / 0.6507 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.4188, allocations: 1.179 MB / 0.6519 GB, free: 9.465 MB / 462.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.007762/0.4265, allocations: 4.614 MB / 0.6564 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.4298, allocations: 2.148 MB / 0.6585 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.4314, allocations: 0.7983 MB / 0.6593 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.4315, allocations: 17.3 kB / 0.6593 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.4316, allocations: 43.88 kB / 0.6593 GB, free: 1.426 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 2.775e-06/0.4316, allocations: 0 / 0.6593 GB, free: 1.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.02713/0.4587, allocations: 6.703 MB / 0.6659 GB, free: 10.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.4588, allocations: 68.72 kB / 0.6659 GB, free: 10.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.4614, allocations: 1.663 MB / 0.6676 GB, free: 8.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.4617, allocations: 53.7 kB / 0.6676 GB, free: 8.875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.4622, allocations: 0.5543 MB / 0.6682 GB, free: 8.312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005631/0.4627, allocations: 0.5191 MB / 0.6687 GB, free: 7.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/0.4636, allocations: 0.5134 MB / 0.6692 GB, free: 7.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4638, allocations: 301.1 kB / 0.6694 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.466, allocations: 1.142 MB / 0.6706 GB, free: 5.828 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.4684, allocations: 1.364 MB / 0.6719 GB, free: 4.438 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/0.4727, allocations: 2.342 MB / 0.6742 GB, free: 2.055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4727, allocations: 0 / 0.6742 GB, free: 2.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009144/0.4819, allocations: 4.095 MB / 0.6782 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.4819, allocations: 4 kB / 0.6782 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.389e-05/0.482, allocations: 4 kB / 0.6782 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.4928, allocations: 2.823 MB / 0.6809 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.4951, allocations: 479.3 kB / 0.6814 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/0.5008, allocations: 2.531 MB / 0.6839 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.5036, allocations: 254.4 kB / 0.6841 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/0.504, allocations: 87.97 kB / 0.6842 GB, free: 7.719 MB / 494.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.0007698/0.5048, allocations: 313.3 kB / 0.6845 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.5053, allocations: 178.8 kB / 0.6847 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.5163, allocations: 3.554 MB / 0.6881 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.5163, allocations: 12 kB / 0.6882 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5163, allocations: 3.984 kB / 0.6882 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.5164, allocations: 11.91 kB / 0.6882 GB, free: 3.625 MB / 494.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.01436/0.5307, allocations: 5.65 MB / 0.6937 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.5308, allocations: 0 / 0.6937 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5319, allocations: 163.8 kB / 0.6938 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005562/0.5375, allocations: 1.484 MB / 0.6953 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002998/0.5378, allocations: 31.98 kB / 0.6953 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.5574, allocations: 7.854 MB / 0.703 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5575, allocations: 0 / 0.703 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.571, allocations: 4.563 MB / 0.7074 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007607/0.5719, allocations: 323.6 kB / 0.7078 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.5724, allocations: 24 kB / 0.7078 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.5741, allocations: 75.92 kB / 0.7079 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/0.5747, allocations: 193.4 kB / 0.708 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.5749, allocations: 35.98 kB / 0.7081 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001789/0.5767, allocations: 1.098 MB / 0.7091 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5767, allocations: 0 / 0.7091 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00189/0.5786, allocations: 0.5895 MB / 0.7097 GB, free: 13.2 MB / 0.5137 GB 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.0003514/0.579, allocations: 155 kB / 0.7099 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00859/0.5876, allocations: 3.022 MB / 0.7128 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5876, allocations: 0 / 0.7128 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004599/0.5922, allocations: 1.528 MB / 0.7143 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.5939, allocations: 129.6 kB / 0.7144 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.6009, allocations: 3.538 MB / 0.7179 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/0.6018, allocations: 1.23 MB / 0.7191 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009267/0.6028, allocations: 163.2 kB / 0.7192 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.6034, allocations: 103.4 kB / 0.7193 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of SimCode: time 1.203e-06/0.6034, allocations: 0 / 0.7193 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of Templates: time 0.05377/0.6572, allocations: 30.85 MB / 0.7495 GB, free: 4.41 MB / 0.545 GB 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)