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.0009138/0.0009137, allocations: 91.45 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.476/1.476, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001211/0.001211, allocations: 191.1 kB / 290.6 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5194/0.5194, allocations: 78.54 MB / 420.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004367, allocations: 8 kB / 0.4887 GB, free: 6.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1637, allocations: 69.36 MB / 0.5564 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.3073/0.471, allocations: 5.887 MB / 0.5621 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004155/0.4752, allocations: 2.118 MB / 0.5642 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.4765, allocations: 10.47 kB / 0.5642 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.4773, allocations: 181 kB / 0.5644 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.4806, allocations: 1.06 MB / 0.5654 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.4816, allocations: 445.9 kB / 0.5659 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.4834, allocations: 1.748 MB / 0.5676 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.4838, allocations: 182.1 kB / 0.5677 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.4844, allocations: 0.6235 MB / 0.5683 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000861/0.4853, allocations: 0.8724 MB / 0.5692 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.4854, allocations: 81.56 kB / 0.5693 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.486, allocations: 240.7 kB / 0.5695 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.4862, allocations: 309.8 kB / 0.5698 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.4867, allocations: 0.6456 MB / 0.5704 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.4878, allocations: 1.616 MB / 0.572 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4879, allocations: 2.938 kB / 0.572 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4879, allocations: 2.062 kB / 0.572 GB, free: 33.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4879, allocations: 0 / 0.572 GB, free: 33.73 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.01345/0.5013, allocations: 3.601 MB / 0.5755 GB, free: 32.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5014, allocations: 10.5 kB / 0.5755 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.5044, allocations: 0.4934 MB / 0.576 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.5057, allocations: 0.8979 MB / 0.5769 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.506, allocations: 236.6 kB / 0.5771 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.5062, allocations: 83.81 kB / 0.5772 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.508, allocations: 0.945 MB / 0.5781 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5081, allocations: 0.75 kB / 0.5781 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/0.5082, allocations: 25 kB / 0.5781 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.5082, allocations: 14.09 kB / 0.5782 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.5104, allocations: 1.066 MB / 0.5792 GB, free: 32.13 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.004983/0.5154, allocations: 2.967 MB / 0.5821 GB, free: 31.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.5181, allocations: 1.167 MB / 0.5832 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.5195, allocations: 0.7214 MB / 0.5839 GB, free: 30.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.5196, allocations: 18.2 kB / 0.584 GB, free: 30.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5196, allocations: 47.34 kB / 0.584 GB, free: 30.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.356e-06/0.5196, allocations: 0 / 0.584 GB, free: 30.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03011/0.5498, allocations: 7.698 MB / 0.5915 GB, free: 29.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.5499, allocations: 66.47 kB / 0.5916 GB, free: 29.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.5521, allocations: 1.14 MB / 0.5927 GB, free: 28.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004223/0.5525, allocations: 51.27 kB / 0.5928 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.5528, allocations: 393.6 kB / 0.5931 GB, free: 28.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/0.5533, allocations: 364.5 kB / 0.5935 GB, free: 27.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.5536, allocations: 191.6 kB / 0.5937 GB, free: 27.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.5537, allocations: 306.8 kB / 0.594 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.5558, allocations: 0.9602 MB / 0.5949 GB, free: 27.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.5579, allocations: 0.9883 MB / 0.5959 GB, free: 26.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004002/0.5619, allocations: 1.924 MB / 0.5977 GB, free: 25.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5619, allocations: 1.25 kB / 0.5977 GB, free: 25.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008092/0.57, allocations: 3.271 MB / 0.6009 GB, free: 24.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.5701, allocations: 6.422 kB / 0.6009 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5701, allocations: 1.062 kB / 0.6009 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.5802, allocations: 2.534 MB / 0.6034 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.5822, allocations: 320.7 kB / 0.6037 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.588, allocations: 2.459 MB / 0.6061 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.5908, allocations: 227.6 kB / 0.6063 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.591, allocations: 61.67 kB / 0.6064 GB, free: 23.08 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 (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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005651/0.5915, allocations: 246.8 kB / 0.6066 GB, free: 22.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.5918, allocations: 119.8 kB / 0.6067 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.6046, allocations: 3.912 MB / 0.6106 GB, free: 21.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.6047, allocations: 12.28 kB / 0.6106 GB, free: 21.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6047, allocations: 5.25 kB / 0.6106 GB, free: 21.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.886e-05/0.6047, allocations: 4.969 kB / 0.6106 GB, free: 21.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.6071, allocations: 1.21 MB / 0.6118 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.6071, allocations: 5.438 kB / 0.6118 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.6078, allocations: 111.9 kB / 0.6119 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005101/0.6129, allocations: 1.674 MB / 0.6135 GB, free: 19.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.613, allocations: 23.98 kB / 0.6135 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/0.6296, allocations: 7.838 MB / 0.6212 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6296, allocations: 4 kB / 0.6212 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.6417, allocations: 4.799 MB / 0.6259 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.6423, allocations: 235.4 kB / 0.6261 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.6425, allocations: 16 kB / 0.6261 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.6437, allocations: 115.9 kB / 0.6262 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005223/0.6442, allocations: 177.3 kB / 0.6264 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.6443, allocations: 28.92 kB / 0.6264 GB, free: 5.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008611/0.6452, allocations: 0.7563 MB / 0.6272 GB, free: 5.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6452, allocations: 8 kB / 0.6272 GB, free: 5.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001428/0.6466, allocations: 433.3 kB / 0.6276 GB, free: 4.715 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 (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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003223/0.647, allocations: 147.1 kB / 0.6277 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006522/0.6535, allocations: 2.555 MB / 0.6302 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6535, allocations: 0 / 0.6302 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004042/0.6576, allocations: 1.447 MB / 0.6316 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.6589, allocations: 94.44 kB / 0.6317 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.6639, allocations: 3 MB / 0.6347 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006617/0.6645, allocations: 1.054 MB / 0.6357 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000556/0.6651, allocations: 104.4 kB / 0.6358 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.6654, allocations: 71.42 kB / 0.6359 GB, free: 12.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6654, allocations: 0 / 0.6359 GB, free: 12.28 MB / 446.1 MB Notification: Performance of Templates: time 0.0343/0.6997, allocations: 21 MB / 0.6564 GB, free: 7.422 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: