Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.28/1.28, allocations: 223.2 MB / 238.9 MB, free: 5.496 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.001039/0.001039, allocations: 173.2 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4313/0.4313, allocations: 78.52 MB / 419.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 16 kB / 499.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1098, allocations: 69.36 MB / 0.5557 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.1874/0.2973, allocations: 5.298 MB / 0.5609 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3, allocations: 2.036 MB / 0.5628 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.3003, allocations: 9.156 kB / 0.5629 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.3007, allocations: 159.8 kB / 0.563 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.3027, allocations: 1.015 MB / 0.564 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.3034, allocations: 412.2 kB / 0.5644 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3046, allocations: 1.124 MB / 0.5655 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3048, allocations: 177.6 kB / 0.5657 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.3053, allocations: 0.5984 MB / 0.5662 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.3061, allocations: 0.8464 MB / 0.5671 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3063, allocations: 80.19 kB / 0.5671 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.3067, allocations: 213.2 kB / 0.5673 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.307, allocations: 304.8 kB / 0.5676 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.3071, allocations: 205.7 kB / 0.5678 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008924/0.308, allocations: 1.235 MB / 0.569 GB, free: 36.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.308, allocations: 0 / 0.569 GB, free: 36.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.308, allocations: 0 / 0.569 GB, free: 36.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3081, allocations: 3.031 kB / 0.569 GB, free: 36.53 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01311/0.3212, allocations: 3.612 MB / 0.5726 GB, free: 35.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.3212, allocations: 10.88 kB / 0.5726 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.3241, allocations: 0.5032 MB / 0.5731 GB, free: 35.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.3253, allocations: 0.8506 MB / 0.5739 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.3256, allocations: 241.6 kB / 0.5741 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.3257, allocations: 89.5 kB / 0.5742 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.3274, allocations: 0.9382 MB / 0.5751 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3275, allocations: 3.031 kB / 0.5751 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.3275, allocations: 22.94 kB / 0.5752 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3276, allocations: 19.08 kB / 0.5752 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.3296, allocations: 1.058 MB / 0.5762 GB, free: 34.31 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.003918/0.3335, allocations: 2.953 MB / 0.5791 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.3361, allocations: 1.171 MB / 0.5802 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.985e-05/0.3362, allocations: 17.33 kB / 0.5803 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.3362, allocations: 42.41 kB / 0.5803 GB, free: 32.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.334e-06/0.3362, allocations: 0 / 0.5803 GB, free: 32.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.0258/0.362, allocations: 7.652 MB / 0.5878 GB, free: 30.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3621, allocations: 62.8 kB / 0.5878 GB, free: 30.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.3636, allocations: 1.133 MB / 0.5889 GB, free: 30.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.3638, allocations: 51.56 kB / 0.589 GB, free: 30.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.364, allocations: 393.8 kB / 0.5894 GB, free: 29.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.3643, allocations: 360.4 kB / 0.5897 GB, free: 29.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3645, allocations: 38.94 kB / 0.5897 GB, free: 29.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.3646, allocations: 372.8 kB / 0.5901 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.3664, allocations: 0.9562 MB / 0.591 GB, free: 28.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.3683, allocations: 0.974 MB / 0.592 GB, free: 28.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.3703, allocations: 1.029 MB / 0.593 GB, free: 28.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3703, allocations: 5.594 kB / 0.593 GB, free: 28.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006868/0.3772, allocations: 3.27 MB / 0.5962 GB, free: 26.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3772, allocations: 4.25 kB / 0.5962 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3772, allocations: 1.781 kB / 0.5962 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00894/0.3862, allocations: 2.531 MB / 0.5987 GB, free: 26.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.3877, allocations: 325.1 kB / 0.599 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004945/0.3927, allocations: 2.453 MB / 0.6014 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.3945, allocations: 232.7 kB / 0.6016 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.3947, allocations: 61.72 kB / 0.6016 GB, free: 25.29 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0003996/0.3951, allocations: 249.2 kB / 0.6019 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.3953, allocations: 111.8 kB / 0.602 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.4066, allocations: 3.911 MB / 0.6058 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4066, allocations: 15.38 kB / 0.6058 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4066, allocations: 3.938 kB / 0.6058 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.4067, allocations: 8.781 kB / 0.6058 GB, free: 24.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4082, allocations: 1.208 MB / 0.607 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4082, allocations: 0 / 0.607 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/0.4089, allocations: 119.2 kB / 0.6071 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005472/0.4144, allocations: 1.673 MB / 0.6088 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/0.4145, allocations: 24.73 kB / 0.6088 GB, free: 23.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/0.4314, allocations: 8.201 MB / 0.6168 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4314, allocations: 0 / 0.6168 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.443, allocations: 4.797 MB / 0.6215 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.4434, allocations: 235.4 kB / 0.6217 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4436, allocations: 16 kB / 0.6217 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.4447, allocations: 116.9 kB / 0.6218 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/0.4452, allocations: 176.6 kB / 0.622 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.4452, allocations: 27.98 kB / 0.622 GB, free: 10 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008082/0.4461, allocations: 0.7524 MB / 0.6228 GB, free: 9.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4461, allocations: 0 / 0.6228 GB, free: 9.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001079/0.4471, allocations: 435.7 kB / 0.6232 GB, free: 8.812 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.000224/0.4474, allocations: 141.1 kB / 0.6233 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006026/0.4534, allocations: 2.546 MB / 0.6258 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4534, allocations: 1.875 kB / 0.6258 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003536/0.457, allocations: 1.444 MB / 0.6272 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.4576, allocations: 77 kB / 0.6273 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.4615, allocations: 2.923 MB / 0.6301 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4618, allocations: 1.077 MB / 0.6312 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004299/0.4623, allocations: 103.6 kB / 0.6313 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.4626, allocations: 71.42 kB / 0.6314 GB, free: 476 kB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4626, allocations: 4 kB / 0.6314 GB, free: 472 kB / 430.1 MB Notification: Performance of Templates: time 0.03026/0.4929, allocations: 20.27 MB / 0.6512 GB, free: 12.33 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) Environment - environmentSimulation: