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.000972/0.000972, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.257/1.257, allocations: 222.9 MB / 238.8 MB, free: 4.707 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.001209/0.001209, allocations: 200.4 kB / 289.1 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4238/0.4238, allocations: 78.51 MB / 417.8 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 496.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1235, allocations: 68.17 MB / 0.5517 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2606/0.3841, allocations: 6.338 MB / 0.5579 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.3883, allocations: 2.136 MB / 0.56 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009231/0.3893, allocations: 9.781 kB / 0.56 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.3899, allocations: 184.5 kB / 0.5602 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.3929, allocations: 1.073 MB / 0.5612 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.394, allocations: 447.8 kB / 0.5616 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.3965, allocations: 1.749 MB / 0.5633 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.397, allocations: 187.6 kB / 0.5635 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.3983, allocations: 0.6343 MB / 0.5641 GB, free: 35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3994, allocations: 0.8928 MB / 0.565 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.3997, allocations: 85.69 kB / 0.5651 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007096/0.4004, allocations: 245.6 kB / 0.5653 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.4006, allocations: 320.6 kB / 0.5656 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005404/0.4012, allocations: 0.626 MB / 0.5662 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.4027, allocations: 1.657 MB / 0.5679 GB, free: 34.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4027, allocations: 0 / 0.5679 GB, free: 34.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4027, allocations: 0 / 0.5679 GB, free: 34.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.4027, allocations: 2.031 kB / 0.5679 GB, free: 34.17 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.01494/0.4176, allocations: 3.716 MB / 0.5715 GB, free: 33.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.4177, allocations: 15.41 kB / 0.5715 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.4208, allocations: 497 kB / 0.572 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.4222, allocations: 0.8958 MB / 0.5729 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.4225, allocations: 236 kB / 0.5731 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.4226, allocations: 80.84 kB / 0.5732 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.4245, allocations: 0.8882 MB / 0.574 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4245, allocations: 4 kB / 0.574 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.4246, allocations: 25.03 kB / 0.574 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4246, allocations: 16.98 kB / 0.5741 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.4267, allocations: 0.9904 MB / 0.575 GB, free: 32.56 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.004766/0.4315, allocations: 2.936 MB / 0.5779 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.4341, allocations: 1.093 MB / 0.579 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.4353, allocations: 0.6594 MB / 0.5796 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.4354, allocations: 22.7 kB / 0.5796 GB, free: 31.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4354, allocations: 43.56 kB / 0.5797 GB, free: 31.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.025e-06/0.4354, allocations: 0 / 0.5797 GB, free: 31.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02692/0.4624, allocations: 6.483 MB / 0.586 GB, free: 29.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4625, allocations: 65.97 kB / 0.5861 GB, free: 29.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4644, allocations: 1.139 MB / 0.5872 GB, free: 29.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003898/0.4648, allocations: 50.33 kB / 0.5872 GB, free: 29.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.4651, allocations: 390 kB / 0.5876 GB, free: 29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.4656, allocations: 360.8 kB / 0.5879 GB, free: 28.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007546/0.4663, allocations: 370 kB / 0.5883 GB, free: 28.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.4664, allocations: 307.3 kB / 0.5886 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.4684, allocations: 0.9063 MB / 0.5895 GB, free: 27.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.4705, allocations: 0.9365 MB / 0.5904 GB, free: 27.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.4743, allocations: 1.807 MB / 0.5922 GB, free: 26.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.4743, allocations: 2.094 kB / 0.5922 GB, free: 26.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007125/0.4814, allocations: 3.041 MB / 0.5951 GB, free: 25.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4815, allocations: 10.36 kB / 0.5951 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4815, allocations: 0.5469 kB / 0.5951 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008893/0.4904, allocations: 2.273 MB / 0.5974 GB, free: 25.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.4923, allocations: 318.7 kB / 0.5977 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/0.4976, allocations: 2.262 MB / 0.5999 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.5002, allocations: 205.1 kB / 0.6001 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.5004, allocations: 63 kB / 0.6001 GB, free: 23.96 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.0005515/0.501, allocations: 248.3 kB / 0.6004 GB, free: 23.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.5012, allocations: 123.6 kB / 0.6005 GB, free: 23.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.512, allocations: 3.296 MB / 0.6037 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.5121, allocations: 16.33 kB / 0.6037 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5121, allocations: 0 / 0.6037 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/0.5122, allocations: 5.891 kB / 0.6037 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.5142, allocations: 1.209 MB / 0.6049 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5142, allocations: 4.984 kB / 0.6049 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/0.5149, allocations: 108.8 kB / 0.605 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005244/0.5202, allocations: 1.443 MB / 0.6064 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.5204, allocations: 26.33 kB / 0.6064 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.5361, allocations: 7.134 MB / 0.6134 GB, free: 16.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5361, allocations: 4.938 kB / 0.6134 GB, free: 16.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.5468, allocations: 4.135 MB / 0.6175 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.5474, allocations: 233.5 kB / 0.6177 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.5476, allocations: 16.81 kB / 0.6177 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.5488, allocations: 87.91 kB / 0.6178 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/0.5493, allocations: 172.7 kB / 0.6179 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/0.5494, allocations: 20 kB / 0.618 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008435/0.5502, allocations: 0.7641 MB / 0.6187 GB, free: 10.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5502, allocations: 0 / 0.6187 GB, free: 10.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001133/0.5514, allocations: 431.7 kB / 0.6191 GB, free: 10.34 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.0002604/0.5516, allocations: 156.6 kB / 0.6193 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006279/0.5579, allocations: 2.335 MB / 0.6215 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.558, allocations: 112 / 0.6215 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003871/0.5619, allocations: 1.295 MB / 0.6228 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5633, allocations: 93.55 kB / 0.6229 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.5675, allocations: 2.825 MB / 0.6257 GB, free: 3.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.5678, allocations: 1.058 MB / 0.6267 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000528/0.5684, allocations: 104.6 kB / 0.6268 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.5687, allocations: 71.42 kB / 0.6269 GB, free: 2.414 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5687, allocations: 0 / 0.6269 GB, free: 2.414 MB / 430.1 MB Notification: Performance of Templates: time 0.0323/0.601, allocations: 21.41 MB / 0.6478 GB, free: 13.18 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (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)