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.0014/0.0014, allocations: 100 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.236/1.236, allocations: 223.2 MB / 238.9 MB, free: 5.516 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.001026/0.001026, allocations: 180.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4216/0.4216, allocations: 78.53 MB / 419.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 15.98 kB / 499.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1133, allocations: 69.36 MB / 0.5557 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.1839/0.2972, allocations: 7.087 MB / 0.5626 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.3006, allocations: 2.579 MB / 0.5651 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.301, allocations: 13.62 kB / 0.5651 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.3014, allocations: 206.8 kB / 0.5653 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.3038, allocations: 1.32 MB / 0.5666 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.3045, allocations: 0.4958 MB / 0.5671 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.3059, allocations: 1.578 MB / 0.5686 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.3063, allocations: 264 kB / 0.5689 GB, free: 36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006135/0.3069, allocations: 0.8504 MB / 0.5697 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009463/0.3078, allocations: 1.211 MB / 0.5709 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.308, allocations: 111.6 kB / 0.571 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.3085, allocations: 250.6 kB / 0.5712 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.3087, allocations: 415.4 kB / 0.5716 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3089, allocations: 287.4 kB / 0.5719 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3099, allocations: 1.709 MB / 0.5736 GB, free: 34.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.31, allocations: 0 / 0.5736 GB, free: 34.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.31, allocations: 0 / 0.5736 GB, free: 34.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.31, allocations: 0 / 0.5736 GB, free: 34.27 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.0167/0.3267, allocations: 4.796 MB / 0.5783 GB, free: 32.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3267, allocations: 8.719 kB / 0.5783 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.3297, allocations: 0.5779 MB / 0.5788 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.3312, allocations: 1.16 MB / 0.58 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.3314, allocations: 281.4 kB / 0.5802 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.3316, allocations: 114.3 kB / 0.5804 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.3333, allocations: 1.121 MB / 0.5815 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3333, allocations: 0 / 0.5815 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.3334, allocations: 40.52 kB / 0.5815 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3335, allocations: 26.77 kB / 0.5815 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.3354, allocations: 1.232 MB / 0.5827 GB, free: 30.84 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.005974/0.3414, allocations: 4.766 MB / 0.5874 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.3442, allocations: 2.187 MB / 0.5895 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3444, allocations: 26.83 kB / 0.5895 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.3444, allocations: 45.69 kB / 0.5896 GB, free: 26.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.264e-06/0.3444, allocations: 3.938 kB / 0.5896 GB, free: 26.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02655/0.3709, allocations: 7.685 MB / 0.5971 GB, free: 25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.371, allocations: 69.25 kB / 0.5972 GB, free: 24.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.3732, allocations: 1.648 MB / 0.5988 GB, free: 24.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.3734, allocations: 56.33 kB / 0.5988 GB, free: 24.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.3738, allocations: 0.5536 MB / 0.5994 GB, free: 23.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/0.3742, allocations: 0.4912 MB / 0.5998 GB, free: 23.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3743, allocations: 55.72 kB / 0.5999 GB, free: 23.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3745, allocations: 411.8 kB / 0.6003 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.3765, allocations: 1.181 MB / 0.6014 GB, free: 22.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.3787, allocations: 1.387 MB / 0.6028 GB, free: 21.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.3809, allocations: 1.299 MB / 0.6041 GB, free: 21.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3809, allocations: 0 / 0.6041 GB, free: 21.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008431/0.3893, allocations: 4.266 MB / 0.6082 GB, free: 19.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3894, allocations: 6 kB / 0.6082 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3894, allocations: 2.469 kB / 0.6082 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/0.3999, allocations: 3.083 MB / 0.6112 GB, free: 19.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.4022, allocations: 482.9 kB / 0.6117 GB, free: 19.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/0.4072, allocations: 2.699 MB / 0.6143 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.4096, allocations: 275.3 kB / 0.6146 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.4097, allocations: 92.44 kB / 0.6147 GB, free: 17.42 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 (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 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.4103, allocations: 305.4 kB / 0.615 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.4105, allocations: 175.4 kB / 0.6151 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009621/0.4201, allocations: 4.133 MB / 0.6192 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.4201, allocations: 12 kB / 0.6192 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4202, allocations: 1.969 kB / 0.6192 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4202, allocations: 7.969 kB / 0.6192 GB, free: 12.84 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.01118/0.4314, allocations: 6.229 MB / 0.6253 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4314, allocations: 1 kB / 0.6253 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/0.4322, allocations: 167.8 kB / 0.6254 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004753/0.437, allocations: 1.701 MB / 0.6271 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.722e-05/0.4371, allocations: 31.98 kB / 0.6271 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.4532, allocations: 8.192 MB / 0.6351 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4532, allocations: 1.125 kB / 0.6351 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.4656, allocations: 5.181 MB / 0.6402 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.4662, allocations: 314.8 kB / 0.6405 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.4664, allocations: 20 kB / 0.6405 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.4677, allocations: 107.9 kB / 0.6406 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.4682, allocations: 185.4 kB / 0.6408 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.4683, allocations: 41.39 kB / 0.6408 GB, free: 6.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.4696, allocations: 1.075 MB / 0.6419 GB, free: 5.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4696, allocations: 4 kB / 0.6419 GB, free: 5.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001534/0.4711, allocations: 0.5894 MB / 0.6425 GB, free: 4.676 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 (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 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.4714, allocations: 153.2 kB / 0.6426 GB, free: 4.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007451/0.4789, allocations: 3.171 MB / 0.6457 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4789, allocations: 0 / 0.6457 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004039/0.4829, allocations: 1.661 MB / 0.6473 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.4836, allocations: 110 kB / 0.6474 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/0.489, allocations: 4.155 MB / 0.6515 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.4897, allocations: 1.265 MB / 0.6527 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000566/0.4902, allocations: 163.2 kB / 0.6529 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.4907, allocations: 103.4 kB / 0.653 GB, free: 9.934 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4907, allocations: 0 / 0.653 GB, free: 9.934 MB / 462.1 MB Notification: Performance of Templates: time 0.03549/0.5262, allocations: 26.41 MB / 0.6788 GB, free: 15.65 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: