Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001125/0.001125, allocations: 102.2 kB / 16.36 MB, free: 6.469 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.294/1.294, allocations: 222.9 MB / 240 MB, free: 4.602 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.001454/0.001453, allocations: 192.4 kB / 290.3 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.491/0.491, allocations: 91.91 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 79.88 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3613, allocations: 71.26 MB / 0.5729 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006491/0.3678, allocations: 8.24 MB / 0.5809 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.3728, allocations: 2.612 MB / 0.5835 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009492/0.3738, allocations: 9.75 kB / 0.5835 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.3744, allocations: 299.1 kB / 0.5838 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.3769, allocations: 1.146 MB / 0.5849 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3781, allocations: 0.6922 MB / 0.5856 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.3801, allocations: 2.378 MB / 0.5879 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.3805, allocations: 323.3 kB / 0.5882 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.3814, allocations: 0.9533 MB / 0.5891 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.3827, allocations: 1.309 MB / 0.5904 GB, free: 26.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.383, allocations: 202.8 kB / 0.5906 GB, free: 26.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007007/0.3837, allocations: 383.5 kB / 0.591 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.3841, allocations: 0.5021 MB / 0.5915 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006358/0.3847, allocations: 0.9736 MB / 0.5924 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.3865, allocations: 2.33 MB / 0.5947 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3865, allocations: 5.219 kB / 0.5947 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3865, allocations: 0 / 0.5947 GB, free: 24.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.3866, allocations: 0 / 0.5947 GB, free: 24.62 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.01441/0.401, allocations: 4.095 MB / 0.5987 GB, free: 23.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.401, allocations: 10.42 kB / 0.5987 GB, free: 23.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.4044, allocations: 0.5806 MB / 0.5993 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.4062, allocations: 1.215 MB / 0.6005 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.4064, allocations: 269.8 kB / 0.6007 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.4067, allocations: 114.4 kB / 0.6008 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.4087, allocations: 1.088 MB / 0.6019 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4087, allocations: 0 / 0.6019 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.4088, allocations: 36.03 kB / 0.6019 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.4089, allocations: 19.47 kB / 0.6019 GB, free: 21.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.411, allocations: 1.183 MB / 0.6031 GB, free: 21.03 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.006875/0.4179, allocations: 4.599 MB / 0.6076 GB, free: 18.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.4207, allocations: 2.142 MB / 0.6097 GB, free: 16.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.422, allocations: 0.7934 MB / 0.6105 GB, free: 16.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.4222, allocations: 25.42 kB / 0.6105 GB, free: 16.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.4222, allocations: 48.75 kB / 0.6105 GB, free: 16.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.695e-06/0.4222, allocations: 0 / 0.6105 GB, free: 16.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02535/0.4476, allocations: 6.699 MB / 0.6171 GB, free: 14.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.4476, allocations: 65.72 kB / 0.6171 GB, free: 14.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.45, allocations: 1.653 MB / 0.6187 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/0.4503, allocations: 60.39 kB / 0.6188 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.4506, allocations: 0.5506 MB / 0.6193 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.4511, allocations: 0.4924 MB / 0.6198 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007644/0.4518, allocations: 0.5153 MB / 0.6203 GB, free: 12.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.4519, allocations: 309.1 kB / 0.6206 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.4538, allocations: 1.141 MB / 0.6217 GB, free: 11.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.4558, allocations: 1.361 MB / 0.6231 GB, free: 10.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.4592, allocations: 2.341 MB / 0.6253 GB, free: 8.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4592, allocations: 0 / 0.6253 GB, free: 8.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.007426/0.4666, allocations: 4.078 MB / 0.6293 GB, free: 4.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4667, allocations: 7.984 kB / 0.6293 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4667, allocations: 4 kB / 0.6293 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009084/0.4758, allocations: 2.827 MB / 0.6321 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.478, allocations: 475.4 kB / 0.6326 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/0.4829, allocations: 2.531 MB / 0.635 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.4858, allocations: 241.9 kB / 0.6353 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.486, allocations: 95.89 kB / 0.6353 GB, free: 13.85 MB / 446.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.0006057/0.4866, allocations: 317.3 kB / 0.6356 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.4869, allocations: 169.8 kB / 0.6358 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00978/0.4967, allocations: 3.542 MB / 0.6393 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.4968, allocations: 12 kB / 0.6393 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4968, allocations: 0 / 0.6393 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.4968, allocations: 7.969 kB / 0.6393 GB, free: 9.781 MB / 446.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.01241/0.5092, allocations: 5.665 MB / 0.6448 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5093, allocations: 0 / 0.6448 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/0.5103, allocations: 167.8 kB / 0.645 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00495/0.5152, allocations: 1.48 MB / 0.6464 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/0.5154, allocations: 31.98 kB / 0.6465 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/0.5327, allocations: 7.837 MB / 0.6541 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5327, allocations: 0 / 0.6541 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/0.5453, allocations: 4.558 MB / 0.6586 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.5464, allocations: 306.7 kB / 0.6589 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/0.5469, allocations: 24 kB / 0.6589 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.5485, allocations: 75.92 kB / 0.6589 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005916/0.5491, allocations: 201.5 kB / 0.6591 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-05/0.5492, allocations: 32 kB / 0.6592 GB, free: 5.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001497/0.5507, allocations: 1.09 MB / 0.6602 GB, free: 3.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5507, allocations: 0 / 0.6602 GB, free: 3.965 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001774/0.5525, allocations: 0.5933 MB / 0.6608 GB, free: 3.371 MB / 462.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.0003142/0.5528, allocations: 167 kB / 0.661 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00774/0.5606, allocations: 3.006 MB / 0.6639 GB, free: 200 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5606, allocations: 3.938 kB / 0.6639 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004352/0.565, allocations: 1.524 MB / 0.6654 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5664, allocations: 133.5 kB / 0.6655 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.5722, allocations: 3.469 MB / 0.6689 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.5729, allocations: 1.234 MB / 0.6701 GB, free: 9.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000794/0.5737, allocations: 159.2 kB / 0.6703 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.5742, allocations: 111.4 kB / 0.6704 GB, free: 9.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5742, allocations: 0 / 0.6704 GB, free: 9.5 MB / 478.1 MB Notification: Performance of Templates: time 0.04466/0.6188, allocations: 30.53 MB / 0.7002 GB, free: 11 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)