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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 113 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4084/0.4084, allocations: 78.51 MB / 418.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 497.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2507, allocations: 68.16 MB / 0.5524 GB, free: 19.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005647/0.2563, allocations: 8.467 MB / 0.5607 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.26, allocations: 2.655 MB / 0.5633 GB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.2606, allocations: 12 kB / 0.5633 GB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.2611, allocations: 234.4 kB / 0.5635 GB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.2638, allocations: 1.37 MB / 0.5648 GB, free: 7.113 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009298/0.2647, allocations: 0.5481 MB / 0.5654 GB, free: 6.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.2665, allocations: 2.465 MB / 0.5678 GB, free: 4.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.2669, allocations: 289.2 kB / 0.5681 GB, free: 3.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007183/0.2676, allocations: 0.9103 MB / 0.569 GB, free: 2.879 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000929/0.2685, allocations: 1.272 MB / 0.5702 GB, free: 1.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.2687, allocations: 120 kB / 0.5703 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.2693, allocations: 283.8 kB / 0.5706 GB, free: 1.207 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.2695, allocations: 446 kB / 0.571 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005617/0.2701, allocations: 0.901 MB / 0.5719 GB, free: 15.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.272, allocations: 2.279 MB / 0.5741 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2721, allocations: 0 / 0.5741 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2721, allocations: 4 kB / 0.5741 GB, free: 13.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.2721, allocations: 0 / 0.5741 GB, free: 13.57 MB / 394.7 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.01919/0.2913, allocations: 4.941 MB / 0.5789 GB, free: 8.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2914, allocations: 12.03 kB / 0.579 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.2946, allocations: 0.576 MB / 0.5795 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.2966, allocations: 1.216 MB / 0.5807 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.2969, allocations: 268.8 kB / 0.581 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.2971, allocations: 112 kB / 0.5811 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.2991, allocations: 1.093 MB / 0.5821 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2991, allocations: 3.938 kB / 0.5821 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-05/0.2992, allocations: 39.94 kB / 0.5822 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.2993, allocations: 20 kB / 0.5822 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.3015, allocations: 1.175 MB / 0.5833 GB, free: 3.973 MB / 394.7 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.006674/0.3082, allocations: 4.625 MB / 0.5879 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.3112, allocations: 2.146 MB / 0.59 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.3126, allocations: 0.7895 MB / 0.5907 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.3128, allocations: 29.27 kB / 0.5908 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3128, allocations: 47.81 kB / 0.5908 GB, free: 11.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.136e-06/0.3128, allocations: 0 / 0.5908 GB, free: 11.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.02532/0.3381, allocations: 6.691 MB / 0.5973 GB, free: 5.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3382, allocations: 68.72 kB / 0.5974 GB, free: 5.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.3406, allocations: 1.655 MB / 0.599 GB, free: 3.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002876/0.3409, allocations: 57.7 kB / 0.5991 GB, free: 3.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.3413, allocations: 0.5574 MB / 0.5996 GB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/0.3418, allocations: 0.4932 MB / 0.6001 GB, free: 2.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007916/0.3426, allocations: 0.5094 MB / 0.6006 GB, free: 1.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.3427, allocations: 301.1 kB / 0.6009 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.3448, allocations: 1.145 MB / 0.602 GB, free: 360 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.3471, allocations: 1.364 MB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.3511, allocations: 2.342 MB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.3511, allocations: 0 / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008764/0.3599, allocations: 4.086 MB / 0.6096 GB, free: 8.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3599, allocations: 8.188 kB / 0.6096 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.36, allocations: 0 / 0.6096 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.3702, allocations: 2.823 MB / 0.6124 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.3724, allocations: 479.3 kB / 0.6128 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005259/0.3777, allocations: 2.527 MB / 0.6153 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.3803, allocations: 241.9 kB / 0.6155 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/0.3806, allocations: 95.95 kB / 0.6156 GB, free: 2.262 MB / 426.7 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.0005834/0.3812, allocations: 309.3 kB / 0.6159 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.3815, allocations: 169.8 kB / 0.6161 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.3928, allocations: 3.554 MB / 0.6195 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3928, allocations: 15.98 kB / 0.6196 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3929, allocations: 0 / 0.6196 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.3929, allocations: 3.984 kB / 0.6196 GB, free: 14.19 MB / 442.7 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.01356/0.4065, allocations: 5.658 MB / 0.6251 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.4065, allocations: 0 / 0.6251 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.4076, allocations: 175.7 kB / 0.6253 GB, free: 8.195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/0.4128, allocations: 1.48 MB / 0.6267 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.413, allocations: 31.98 kB / 0.6267 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.4299, allocations: 7.18 MB / 0.6337 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4299, allocations: 3.938 kB / 0.6337 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09084/0.5208, allocations: 33.14 MB / 0.6661 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.5213, allocations: 298.7 kB / 0.6664 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/0.5217, allocations: 27.98 kB / 0.6664 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.5232, allocations: 83.94 kB / 0.6665 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005862/0.5238, allocations: 189.4 kB / 0.6667 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5239, allocations: 39.92 kB / 0.6667 GB, free: 13.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001524/0.5255, allocations: 1.09 MB / 0.6678 GB, free: 12.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5255, allocations: 0 / 0.6678 GB, free: 12.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002237/0.5277, allocations: 0.8473 MB / 0.6686 GB, free: 11.28 MB / 490.7 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.0003104/0.528, allocations: 156.6 kB / 0.6688 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007904/0.536, allocations: 2.968 MB / 0.6717 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.536, allocations: 4 kB / 0.6717 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004341/0.5403, allocations: 1.504 MB / 0.6731 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.5419, allocations: 129.6 kB / 0.6733 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5524, allocations: 5.467 MB / 0.6786 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1937/0.7461, allocations: 1.291 MB / 0.6799 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001116/0.7472, allocations: 179.4 kB / 0.68 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.7478, allocations: 111.8 kB / 0.6801 GB, free: 114.2 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7478, allocations: 0 / 0.6801 GB, free: 114.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04634/0.7942, allocations: 41.01 MB / 0.7202 GB, free: 86.34 MB / 490.7 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)