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.001545/0.001545, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001741/0.001741, allocations: 180.5 kB / 289.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4835/0.4835, allocations: 78.53 MB / 418.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 83.86 kB / 497.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1576, allocations: 68.17 MB / 0.5524 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.3112/0.4689, allocations: 8.211 MB / 0.5604 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.4738, allocations: 2.609 MB / 0.5629 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.475, allocations: 10.22 kB / 0.5629 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.4758, allocations: 307.3 kB / 0.5632 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.4795, allocations: 1.498 MB / 0.5647 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4807, allocations: 0.6038 MB / 0.5653 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.4833, allocations: 2.555 MB / 0.5678 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.4837, allocations: 311.2 kB / 0.5681 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.4849, allocations: 1.004 MB / 0.5691 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.4861, allocations: 1.356 MB / 0.5704 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.4863, allocations: 203.7 kB / 0.5706 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.487, allocations: 373.2 kB / 0.5709 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.4874, allocations: 0.5227 MB / 0.5714 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.488, allocations: 0.9839 MB / 0.5724 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.4899, allocations: 2.349 MB / 0.5747 GB, free: 31.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4899, allocations: 0 / 0.5747 GB, free: 31.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4899, allocations: 4.438 kB / 0.5747 GB, free: 31.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.4899, allocations: 0.75 kB / 0.5747 GB, free: 31.88 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.01917/0.5091, allocations: 4.947 MB / 0.5795 GB, free: 30.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5092, allocations: 10.81 kB / 0.5795 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.5126, allocations: 0.5805 MB / 0.5801 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.5146, allocations: 1.215 MB / 0.5813 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.5148, allocations: 269.5 kB / 0.5816 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.515, allocations: 112.2 kB / 0.5817 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.5171, allocations: 1.093 MB / 0.5827 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5171, allocations: 0 / 0.5827 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5173, allocations: 30.75 kB / 0.5828 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.5173, allocations: 24.06 kB / 0.5828 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5196, allocations: 1.178 MB / 0.5839 GB, free: 28.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.008145/0.5278, allocations: 4.625 MB / 0.5884 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.5311, allocations: 2.139 MB / 0.5905 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.5326, allocations: 0.792 MB / 0.5913 GB, free: 24.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.5328, allocations: 29.2 kB / 0.5913 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.5328, allocations: 45.72 kB / 0.5914 GB, free: 24.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.326e-06/0.5328, allocations: 0 / 0.5914 GB, free: 24.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02777/0.5606, allocations: 6.691 MB / 0.5979 GB, free: 22.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5607, allocations: 70.16 kB / 0.598 GB, free: 22.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.5637, allocations: 1.661 MB / 0.5996 GB, free: 21.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004751/0.5641, allocations: 56.3 kB / 0.5997 GB, free: 21.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.5646, allocations: 0.5498 MB / 0.6002 GB, free: 21.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/0.5651, allocations: 0.4943 MB / 0.6007 GB, free: 20.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009533/0.5661, allocations: 0.51 MB / 0.6012 GB, free: 20.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.5661, allocations: 302.9 kB / 0.6015 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.5684, allocations: 1.145 MB / 0.6026 GB, free: 19.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.5709, allocations: 1.359 MB / 0.6039 GB, free: 19.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.5754, allocations: 2.347 MB / 0.6062 GB, free: 18.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.5754, allocations: 1.156 kB / 0.6062 GB, free: 18.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009828/0.5852, allocations: 4.086 MB / 0.6102 GB, free: 16.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5853, allocations: 5.375 kB / 0.6102 GB, free: 16.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.5853, allocations: 3.156 kB / 0.6102 GB, free: 16.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/0.5966, allocations: 2.828 MB / 0.613 GB, free: 16.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.5999, allocations: 486.5 kB / 0.6134 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.6058, allocations: 2.528 MB / 0.6159 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/0.6094, allocations: 237.9 kB / 0.6161 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/0.6097, allocations: 93.14 kB / 0.6162 GB, free: 13.47 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.0007899/0.6105, allocations: 317.3 kB / 0.6165 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.611, allocations: 169.8 kB / 0.6167 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009718/0.6207, allocations: 3.544 MB / 0.6201 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.6208, allocations: 12 kB / 0.6201 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6208, allocations: 0 / 0.6201 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.6208, allocations: 4.609 kB / 0.6202 GB, free: 9.41 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.0132/0.634, allocations: 5.666 MB / 0.6257 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.6341, allocations: 3.984 kB / 0.6257 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6352, allocations: 163.8 kB / 0.6258 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004874/0.64, allocations: 1.491 MB / 0.6273 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/0.6403, allocations: 31.98 kB / 0.6273 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.6587, allocations: 7.86 MB / 0.635 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6587, allocations: 0 / 0.635 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.6722, allocations: 4.561 MB / 0.6395 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/0.6732, allocations: 306.8 kB / 0.6398 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.6735, allocations: 29.39 kB / 0.6398 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.6751, allocations: 71.94 kB / 0.6398 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/0.6757, allocations: 193.5 kB / 0.64 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.048e-05/0.6758, allocations: 37.42 kB / 0.6401 GB, free: 4.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.6774, allocations: 1.098 MB / 0.6411 GB, free: 3.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6774, allocations: 0 / 0.6411 GB, free: 3.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001646/0.6791, allocations: 0.5855 MB / 0.6417 GB, free: 2.977 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.0003084/0.6794, allocations: 151.5 kB / 0.6419 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009155/0.6885, allocations: 3.045 MB / 0.6448 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6886, allocations: 0 / 0.6448 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005007/0.6936, allocations: 1.528 MB / 0.6463 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.6952, allocations: 136.1 kB / 0.6465 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.7016, allocations: 3.514 MB / 0.6499 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.7024, allocations: 1.234 MB / 0.6511 GB, free: 9.422 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009256/0.7034, allocations: 165.1 kB / 0.6512 GB, free: 9.258 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.7038, allocations: 103.4 kB / 0.6513 GB, free: 9.156 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7038, allocations: 3.938 kB / 0.6514 GB, free: 9.152 MB / 462.1 MB Notification: Performance of Templates: time 0.05169/0.7555, allocations: 30.55 MB / 0.6812 GB, free: 10.74 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)