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.0009399/0.0009399, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.368/1.368, allocations: 223.3 MB / 239.4 MB, free: 5.418 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.0009604/0.0009603, allocations: 176.5 kB / 290.6 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4905/0.4905, allocations: 78.55 MB / 420.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.0005639, allocations: 8 kB / 0.4887 GB, free: 6.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2084, allocations: 69.36 MB / 0.5564 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.3215/0.5299, allocations: 7.96 MB / 0.5642 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005463/0.5354, allocations: 2.636 MB / 0.5667 GB, free: 34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.5367, allocations: 12.38 kB / 0.5667 GB, free: 34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.5374, allocations: 234.9 kB / 0.567 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.5411, allocations: 1.357 MB / 0.5683 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.5424, allocations: 0.5538 MB / 0.5688 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003098/0.5455, allocations: 2.43 MB / 0.5712 GB, free: 32.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005186/0.546, allocations: 290 kB / 0.5715 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.5472, allocations: 0.8804 MB / 0.5723 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.5484, allocations: 1.249 MB / 0.5736 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.5487, allocations: 109.1 kB / 0.5737 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000653/0.5493, allocations: 281 kB / 0.5739 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.5496, allocations: 429.1 kB / 0.5743 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007936/0.5504, allocations: 0.9006 MB / 0.5752 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.5526, allocations: 2.231 MB / 0.5774 GB, free: 31.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5526, allocations: 2.938 kB / 0.5774 GB, free: 31.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5526, allocations: 1.125 kB / 0.5774 GB, free: 31.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.5526, allocations: 1.094 kB / 0.5774 GB, free: 31.31 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.01892/0.5716, allocations: 4.774 MB / 0.5821 GB, free: 30.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5716, allocations: 8.5 kB / 0.5821 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/0.5757, allocations: 0.5811 MB / 0.5826 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.5782, allocations: 1.213 MB / 0.5838 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.5785, allocations: 277.3 kB / 0.5841 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.5787, allocations: 116.4 kB / 0.5842 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.581, allocations: 1.142 MB / 0.5853 GB, free: 29.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.5811, allocations: 3.938 kB / 0.5853 GB, free: 29.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.5812, allocations: 35.12 kB / 0.5854 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.5812, allocations: 20.88 kB / 0.5854 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.5838, allocations: 1.241 MB / 0.5866 GB, free: 28.66 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.007502/0.5913, allocations: 4.643 MB / 0.5911 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/0.5947, allocations: 2.195 MB / 0.5933 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.5963, allocations: 0.8418 MB / 0.5941 GB, free: 24.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.5965, allocations: 26.06 kB / 0.5941 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5965, allocations: 50.22 kB / 0.5942 GB, free: 24.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.106e-06/0.5965, allocations: 0 / 0.5942 GB, free: 24.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.03187/0.6284, allocations: 7.744 MB / 0.6017 GB, free: 22.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.6285, allocations: 65 kB / 0.6018 GB, free: 22.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004437/0.6329, allocations: 1.658 MB / 0.6034 GB, free: 21.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005653/0.6335, allocations: 56.33 kB / 0.6035 GB, free: 21.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/0.6342, allocations: 0.5496 MB / 0.604 GB, free: 21.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008608/0.6351, allocations: 0.4955 MB / 0.6045 GB, free: 20.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008758/0.636, allocations: 276.5 kB / 0.6047 GB, free: 20.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.636, allocations: 301.9 kB / 0.605 GB, free: 20.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/0.6392, allocations: 1.195 MB / 0.6062 GB, free: 20.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.6425, allocations: 1.404 MB / 0.6076 GB, free: 19.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006245/0.6488, allocations: 2.441 MB / 0.61 GB, free: 18.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.6488, allocations: 2.938 kB / 0.61 GB, free: 18.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01278/0.6616, allocations: 4.392 MB / 0.6143 GB, free: 16.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.6617, allocations: 7.391 kB / 0.6143 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.6618, allocations: 1.375 kB / 0.6143 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/0.6748, allocations: 3.077 MB / 0.6173 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.6777, allocations: 483.3 kB / 0.6177 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005644/0.6834, allocations: 2.691 MB / 0.6204 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/0.6869, allocations: 270.8 kB / 0.6206 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004739/0.6874, allocations: 88.83 kB / 0.6207 GB, free: 11.66 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.001011/0.6884, allocations: 321.3 kB / 0.621 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006513/0.6891, allocations: 166.4 kB / 0.6212 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.7003, allocations: 4.126 MB / 0.6252 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.7003, allocations: 12 kB / 0.6252 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7003, allocations: 0 / 0.6252 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.7004, allocations: 7.969 kB / 0.6252 GB, free: 7.008 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.01414/0.7145, allocations: 6.249 MB / 0.6313 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.7146, allocations: 1.25 kB / 0.6313 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.7156, allocations: 163.8 kB / 0.6315 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/0.7213, allocations: 1.705 MB / 0.6331 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/0.7216, allocations: 40.67 kB / 0.6332 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.7417, allocations: 7.802 MB / 0.6408 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7417, allocations: 0 / 0.6408 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.7574, allocations: 5.201 MB / 0.6459 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008993/0.7583, allocations: 312.2 kB / 0.6462 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/0.759, allocations: 24 kB / 0.6462 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/0.7609, allocations: 103.9 kB / 0.6463 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007001/0.7616, allocations: 186.2 kB / 0.6465 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.7618, allocations: 37.11 kB / 0.6465 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.7636, allocations: 1.094 MB / 0.6476 GB, free: 15.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7636, allocations: 0 / 0.6476 GB, free: 15.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002107/0.7657, allocations: 0.5894 MB / 0.6481 GB, free: 15.17 MB / 462.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.0003778/0.7661, allocations: 147.1 kB / 0.6483 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009259/0.7754, allocations: 3.185 MB / 0.6514 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7755, allocations: 0 / 0.6514 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005113/0.7806, allocations: 1.659 MB / 0.653 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.7831, allocations: 129.5 kB / 0.6531 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.7914, allocations: 4.298 MB / 0.6573 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.7926, allocations: 1.23 MB / 0.6585 GB, free: 4.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.7939, allocations: 167.2 kB / 0.6587 GB, free: 4.402 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/0.7947, allocations: 103.4 kB / 0.6588 GB, free: 4.305 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.7948, allocations: 0 / 0.6588 GB, free: 4.305 MB / 462.1 MB Notification: Performance of Templates: time 0.04984/0.8446, allocations: 27.35 MB / 0.6855 GB, free: 9.094 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: