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.001065/0.001066, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.536/1.536, allocations: 223.3 MB / 239.3 MB, free: 5.539 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.001274/0.001274, allocations: 187.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5801/0.5801, allocations: 91.92 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004684, allocations: 12 kB / 0.5048 GB, free: 7.309 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4226, allocations: 72.47 MB / 0.5755 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006352/0.429, allocations: 7.979 MB / 0.5833 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.4347, allocations: 2.626 MB / 0.5859 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.4359, allocations: 14.06 kB / 0.5859 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.4365, allocations: 233 kB / 0.5861 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.4392, allocations: 1.015 MB / 0.5871 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4404, allocations: 0.6434 MB / 0.5877 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.4427, allocations: 2.244 MB / 0.5899 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.4431, allocations: 287.8 kB / 0.5902 GB, free: 27.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.4444, allocations: 0.8432 MB / 0.591 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.4459, allocations: 1.195 MB / 0.5922 GB, free: 26.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002768/0.4461, allocations: 107.3 kB / 0.5923 GB, free: 26.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.447, allocations: 278.5 kB / 0.5926 GB, free: 26.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.4473, allocations: 421.2 kB / 0.593 GB, free: 26.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.448, allocations: 0.8862 MB / 0.5938 GB, free: 25.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.45, allocations: 2.19 MB / 0.596 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.45, allocations: 0 / 0.596 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.45, allocations: 1.344 kB / 0.596 GB, free: 24.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.45, allocations: 0 / 0.596 GB, free: 24.93 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.01542/0.4654, allocations: 3.912 MB / 0.5998 GB, free: 23.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4655, allocations: 9.094 kB / 0.5998 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.4699, allocations: 0.5766 MB / 0.6004 GB, free: 23.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.4727, allocations: 1.216 MB / 0.6016 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.473, allocations: 279.1 kB / 0.6018 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.4733, allocations: 116.4 kB / 0.6019 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.4758, allocations: 1.136 MB / 0.603 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4759, allocations: 3.938 kB / 0.603 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.476, allocations: 35.75 kB / 0.6031 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.476, allocations: 20.31 kB / 0.6031 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.4788, allocations: 1.235 MB / 0.6043 GB, free: 21.5 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.009479/0.4883, allocations: 4.647 MB / 0.6088 GB, free: 18.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.4917, allocations: 2.204 MB / 0.611 GB, free: 17.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.4934, allocations: 0.8439 MB / 0.6118 GB, free: 16.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.4936, allocations: 25.22 kB / 0.6118 GB, free: 16.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.4936, allocations: 45.75 kB / 0.6119 GB, free: 16.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 4.9e-06/0.4936, allocations: 0 / 0.6119 GB, free: 16.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.0327/0.5263, allocations: 7.752 MB / 0.6195 GB, free: 14.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.5265, allocations: 65.28 kB / 0.6195 GB, free: 14.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.5298, allocations: 1.657 MB / 0.6211 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005458/0.5303, allocations: 56.2 kB / 0.6212 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.5307, allocations: 0.5506 MB / 0.6217 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006473/0.5314, allocations: 0.4925 MB / 0.6222 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.5318, allocations: 273.7 kB / 0.6225 GB, free: 12.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.5319, allocations: 309.1 kB / 0.6228 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.5343, allocations: 1.19 MB / 0.6239 GB, free: 11.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.5364, allocations: 1.407 MB / 0.6253 GB, free: 10.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.5403, allocations: 2.44 MB / 0.6277 GB, free: 7.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.5404, allocations: 0 / 0.6277 GB, free: 7.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.00874/0.5491, allocations: 4.39 MB / 0.632 GB, free: 3.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.5492, allocations: 11.98 kB / 0.632 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5492, allocations: 0 / 0.632 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.5597, allocations: 3.073 MB / 0.635 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/0.5624, allocations: 483.3 kB / 0.6354 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.5686, allocations: 2.696 MB / 0.6381 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/0.5722, allocations: 269.9 kB / 0.6383 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.5725, allocations: 95.91 kB / 0.6384 GB, free: 12.61 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.000711/0.5732, allocations: 313.3 kB / 0.6387 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.5736, allocations: 165.8 kB / 0.6389 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.5859, allocations: 4.128 MB / 0.6429 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.586, allocations: 12 kB / 0.6429 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.586, allocations: 4 kB / 0.6429 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-05/0.5861, allocations: 3.984 kB / 0.6429 GB, free: 7.957 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.01616/0.6022, allocations: 6.248 MB / 0.649 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.6023, allocations: 0 / 0.649 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.6036, allocations: 171.8 kB / 0.6492 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006068/0.6097, allocations: 1.707 MB / 0.6509 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/0.61, allocations: 35.92 kB / 0.6509 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.629, allocations: 7.793 MB / 0.6585 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.629, allocations: 4 kB / 0.6585 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.6439, allocations: 5.201 MB / 0.6636 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.645, allocations: 310.8 kB / 0.6639 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.6454, allocations: 20 kB / 0.6639 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.647, allocations: 107.9 kB / 0.664 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006196/0.6477, allocations: 185.4 kB / 0.6642 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/0.6478, allocations: 35.98 kB / 0.6642 GB, free: 1.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.6493, allocations: 1.094 MB / 0.6653 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6493, allocations: 0 / 0.6653 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001934/0.6513, allocations: 0.5933 MB / 0.6659 GB, free: 124 kB / 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.0003541/0.6516, allocations: 143.1 kB / 0.666 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008991/0.6606, allocations: 3.183 MB / 0.6691 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6607, allocations: 0 / 0.6691 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.6658, allocations: 1.661 MB / 0.6707 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6678, allocations: 133.5 kB / 0.6709 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/0.6749, allocations: 4.293 MB / 0.6751 GB, free: 6.664 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008323/0.6758, allocations: 1.238 MB / 0.6763 GB, free: 5.395 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009719/0.6767, allocations: 159.2 kB / 0.6764 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.6772, allocations: 103.4 kB / 0.6765 GB, free: 5.133 MB / 478.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6772, allocations: 0 / 0.6765 GB, free: 5.133 MB / 478.1 MB Notification: Performance of Templates: time 0.05152/0.7287, allocations: 27.36 MB / 0.7032 GB, free: 9.812 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)