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.001133/0.001133, allocations: 107 kB / 15.99 MB, free: 6.359 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.297/1.297, allocations: 222.9 MB / 239.6 MB, free: 4.73 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.001364/0.001364, allocations: 192.5 kB / 289.9 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.461/0.461, allocations: 78.52 MB / 418.6 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 71.89 kB / 497.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1388, allocations: 68.18 MB / 0.5525 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2513/0.3902, allocations: 8.465 MB / 0.5608 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004719/0.3949, allocations: 2.639 MB / 0.5633 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3961, allocations: 13.69 kB / 0.5634 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.3969, allocations: 247 kB / 0.5636 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.4004, allocations: 1.339 MB / 0.5649 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4016, allocations: 0.5584 MB / 0.5654 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.4044, allocations: 2.545 MB / 0.5679 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.4049, allocations: 317.8 kB / 0.5682 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.4063, allocations: 0.9984 MB / 0.5692 GB, free: 33.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.4077, allocations: 1.36 MB / 0.5705 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.408, allocations: 207 kB / 0.5707 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007259/0.4088, allocations: 388.8 kB / 0.5711 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.4091, allocations: 0.5118 MB / 0.5716 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007581/0.4099, allocations: 0.9958 MB / 0.5726 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.4116, allocations: 1.808 MB / 0.5743 GB, free: 32.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4116, allocations: 3.938 kB / 0.5743 GB, free: 32.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4116, allocations: 0.5 kB / 0.5743 GB, free: 32.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.4117, allocations: 3.688 kB / 0.5744 GB, free: 32.21 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.01882/0.4305, allocations: 4.939 MB / 0.5792 GB, free: 31.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4305, allocations: 12.53 kB / 0.5792 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.4339, allocations: 0.5739 MB / 0.5797 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.4359, allocations: 1.222 MB / 0.5809 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.4362, allocations: 276 kB / 0.5812 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.4364, allocations: 111.8 kB / 0.5813 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.4386, allocations: 1.09 MB / 0.5824 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4386, allocations: 0 / 0.5824 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.4388, allocations: 36.66 kB / 0.5824 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.4388, allocations: 20.66 kB / 0.5824 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.4411, allocations: 1.181 MB / 0.5836 GB, free: 29.06 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.007649/0.4487, allocations: 4.621 MB / 0.5881 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.4518, allocations: 2.135 MB / 0.5902 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.4532, allocations: 0.7948 MB / 0.591 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.4534, allocations: 22.02 kB / 0.591 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4534, allocations: 54 kB / 0.591 GB, free: 24.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.957e-06/0.4534, allocations: 0 / 0.591 GB, free: 24.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02806/0.4815, allocations: 6.69 MB / 0.5976 GB, free: 23.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4816, allocations: 65.09 kB / 0.5976 GB, free: 23.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003548/0.4851, allocations: 1.656 MB / 0.5992 GB, free: 22.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004637/0.4856, allocations: 56.58 kB / 0.5993 GB, free: 22.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006037/0.4862, allocations: 0.5532 MB / 0.5998 GB, free: 21.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000852/0.4871, allocations: 0.4918 MB / 0.6003 GB, free: 21.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/0.4891, allocations: 0.5094 MB / 0.6008 GB, free: 21.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.4892, allocations: 306.9 kB / 0.6011 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/0.4918, allocations: 1.144 MB / 0.6022 GB, free: 20.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/0.4947, allocations: 1.363 MB / 0.6036 GB, free: 19.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.4997, allocations: 2.336 MB / 0.6058 GB, free: 18.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.4997, allocations: 0.75 kB / 0.6058 GB, free: 18.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.0108/0.5105, allocations: 4.086 MB / 0.6098 GB, free: 17.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.5106, allocations: 5.344 kB / 0.6098 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.5106, allocations: 2.25 kB / 0.6098 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.5217, allocations: 2.839 MB / 0.6126 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.5243, allocations: 480 kB / 0.6131 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.53, allocations: 2.528 MB / 0.6155 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.5334, allocations: 246.5 kB / 0.6158 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005081/0.5339, allocations: 96.92 kB / 0.6159 GB, free: 14.28 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 (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.001027/0.535, allocations: 306 kB / 0.6162 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/0.5356, allocations: 169.8 kB / 0.6163 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009665/0.5453, allocations: 3.547 MB / 0.6198 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.5453, allocations: 13.62 kB / 0.6198 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.5453, allocations: 1.219 kB / 0.6198 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/0.5454, allocations: 7.969 kB / 0.6198 GB, free: 10.22 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.0128/0.5582, allocations: 5.667 MB / 0.6253 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.5582, allocations: 4 kB / 0.6253 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.5592, allocations: 163.7 kB / 0.6255 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/0.5639, allocations: 1.493 MB / 0.627 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.5642, allocations: 24 kB / 0.627 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.5816, allocations: 7.852 MB / 0.6346 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5817, allocations: 0 / 0.6346 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.5945, allocations: 4.568 MB / 0.6391 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.5955, allocations: 298.8 kB / 0.6394 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007514/0.5963, allocations: 21 kB / 0.6394 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.5984, allocations: 83.92 kB / 0.6395 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007537/0.5992, allocations: 191.4 kB / 0.6397 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.5994, allocations: 39.98 kB / 0.6397 GB, free: 5.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.6014, allocations: 1.09 MB / 0.6408 GB, free: 4.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6014, allocations: 3.938 kB / 0.6408 GB, free: 4.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002692/0.6041, allocations: 0.5933 MB / 0.6414 GB, free: 3.785 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 (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.0004677/0.6046, allocations: 164.4 kB / 0.6415 GB, free: 3.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008934/0.6136, allocations: 3.036 MB / 0.6445 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.6136, allocations: 0 / 0.6445 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004473/0.6181, allocations: 1.53 MB / 0.646 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.6202, allocations: 131.7 kB / 0.6461 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/0.6276, allocations: 4.081 MB / 0.6501 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/0.6286, allocations: 1.232 MB / 0.6513 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008723/0.6295, allocations: 115.4 kB / 0.6514 GB, free: 9.547 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.6295, allocations: 0 / 0.6514 GB, free: 9.547 MB / 462.1 MB Notification: Performance of Templates: time 0.03614/0.6656, allocations: 26.48 MB / 0.6773 GB, free: 15.16 MB / 494.1 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)