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.001649/0.001649, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.436/1.436, allocations: 222.9 MB / 240 MB, free: 4.512 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.001416/0.001416, allocations: 192.4 kB / 290.3 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5833/0.5833, allocations: 78.54 MB / 419 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 76.17 kB / 498.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1561, allocations: 68.18 MB / 0.5538 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.3007/0.4568, allocations: 8.213 MB / 0.5618 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005984/0.4628, allocations: 2.615 MB / 0.5644 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.4639, allocations: 12.12 kB / 0.5644 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007543/0.4647, allocations: 307.7 kB / 0.5647 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.4681, allocations: 1.489 MB / 0.5661 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4693, allocations: 0.5993 MB / 0.5667 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.4718, allocations: 2.57 MB / 0.5692 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.4723, allocations: 314 kB / 0.5695 GB, free: 33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009375/0.4732, allocations: 1.008 MB / 0.5705 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.4745, allocations: 1.362 MB / 0.5718 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.4747, allocations: 201.4 kB / 0.572 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.4754, allocations: 385.8 kB / 0.5724 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.4757, allocations: 0.5105 MB / 0.5729 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.4764, allocations: 0.9924 MB / 0.5739 GB, free: 32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.4784, allocations: 2.37 MB / 0.5762 GB, free: 31.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4785, allocations: 0 / 0.5762 GB, free: 31.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4785, allocations: 1.094 kB / 0.5762 GB, free: 31.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.4785, allocations: 0 / 0.5762 GB, free: 31.49 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.01835/0.4968, allocations: 4.947 MB / 0.581 GB, free: 30.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4969, allocations: 11 kB / 0.581 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.5001, allocations: 0.579 MB / 0.5816 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.5019, allocations: 1.214 MB / 0.5828 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.5022, allocations: 276.2 kB / 0.583 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.5024, allocations: 109.3 kB / 0.5831 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.5045, allocations: 1.092 MB / 0.5842 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5045, allocations: 0 / 0.5842 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.5046, allocations: 36.58 kB / 0.5842 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.5046, allocations: 19.34 kB / 0.5842 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.507, allocations: 1.182 MB / 0.5854 GB, free: 28.12 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.007135/0.5141, allocations: 4.604 MB / 0.5899 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.5173, allocations: 2.141 MB / 0.592 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.5187, allocations: 0.7937 MB / 0.5928 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.5188, allocations: 22.97 kB / 0.5928 GB, free: 23.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5189, allocations: 49.97 kB / 0.5928 GB, free: 23.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.985e-06/0.5189, allocations: 0 / 0.5928 GB, free: 23.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02685/0.5457, allocations: 6.689 MB / 0.5994 GB, free: 22.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5458, allocations: 70.44 kB / 0.5994 GB, free: 22.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.549, allocations: 1.657 MB / 0.6011 GB, free: 21.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004005/0.5494, allocations: 55.8 kB / 0.6011 GB, free: 21.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.5499, allocations: 0.5536 MB / 0.6016 GB, free: 20.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005743/0.5505, allocations: 0.4919 MB / 0.6021 GB, free: 20.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009761/0.5514, allocations: 0.5096 MB / 0.6026 GB, free: 20.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.5515, allocations: 303.1 kB / 0.6029 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.5538, allocations: 1.148 MB / 0.604 GB, free: 19.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.5563, allocations: 1.361 MB / 0.6054 GB, free: 18.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004151/0.5604, allocations: 2.345 MB / 0.6077 GB, free: 17.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.5604, allocations: 0.5 kB / 0.6077 GB, free: 17.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009157/0.5696, allocations: 4.083 MB / 0.6116 GB, free: 16.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.5697, allocations: 5.812 kB / 0.6116 GB, free: 16.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5697, allocations: 5.547 kB / 0.6117 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/0.5801, allocations: 2.828 MB / 0.6144 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.5826, allocations: 472.1 kB / 0.6149 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.5873, allocations: 2.527 MB / 0.6173 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.5901, allocations: 245.9 kB / 0.6176 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.5903, allocations: 95.95 kB / 0.6177 GB, free: 12.83 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.0005788/0.5909, allocations: 309.3 kB / 0.618 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.5911, allocations: 169.8 kB / 0.6181 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009079/0.6002, allocations: 3.544 MB / 0.6216 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6003, allocations: 12.66 kB / 0.6216 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.6003, allocations: 1.594 kB / 0.6216 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.6003, allocations: 11.97 kB / 0.6216 GB, free: 8.77 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.01137/0.6117, allocations: 5.654 MB / 0.6271 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6117, allocations: 0 / 0.6271 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.6126, allocations: 159.8 kB / 0.6273 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004485/0.6171, allocations: 1.49 MB / 0.6287 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.6173, allocations: 28.98 kB / 0.6288 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/0.635, allocations: 7.843 MB / 0.6364 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.6351, allocations: 0 / 0.6364 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.6489, allocations: 4.566 MB / 0.6409 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009947/0.65, allocations: 310.8 kB / 0.6412 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/0.6504, allocations: 20 kB / 0.6412 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.652, allocations: 81.3 kB / 0.6413 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/0.6527, allocations: 189.5 kB / 0.6414 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6528, allocations: 39.94 kB / 0.6415 GB, free: 4.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.6545, allocations: 1.094 MB / 0.6426 GB, free: 2.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6545, allocations: 0 / 0.6426 GB, free: 2.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002342/0.6568, allocations: 0.5899 MB / 0.6431 GB, free: 2.359 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.0003742/0.6572, allocations: 153.5 kB / 0.6433 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008301/0.6655, allocations: 3.007 MB / 0.6462 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6656, allocations: 0 / 0.6462 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004275/0.6699, allocations: 1.532 MB / 0.6477 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.6714, allocations: 132.1 kB / 0.6478 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.6776, allocations: 3.478 MB / 0.6512 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.6784, allocations: 1.234 MB / 0.6524 GB, free: 8.883 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008799/0.6793, allocations: 163.1 kB / 0.6526 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.6798, allocations: 111.4 kB / 0.6527 GB, free: 8.613 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6798, allocations: 0 / 0.6527 GB, free: 8.613 MB / 462.1 MB Notification: Performance of Templates: time 0.0505/0.7303, allocations: 30.54 MB / 0.6825 GB, free: 10.23 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)