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.001538/0.001538, allocations: 104.2 kB / 16.41 MB, free: 6.516 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.467/1.467, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001757/0.001758, allocations: 184.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4664/0.4664, allocations: 78.54 MB / 419.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 71.89 kB / 0.5543 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4142, allocations: 68.17 MB / 0.6208 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007809/0.422, allocations: 8.214 MB / 0.6289 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00587/0.4279, allocations: 2.619 MB / 0.6314 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.4297, allocations: 12 kB / 0.6314 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.4309, allocations: 309.4 kB / 0.6317 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.436, allocations: 1.489 MB / 0.6332 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4378, allocations: 0.6052 MB / 0.6338 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00418/0.442, allocations: 2.554 MB / 0.6363 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007314/0.4427, allocations: 320.8 kB / 0.6366 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.4446, allocations: 1.02 MB / 0.6376 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.447, allocations: 1.35 MB / 0.6389 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008395/0.4479, allocations: 204 kB / 0.6391 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.4494, allocations: 379.8 kB / 0.6394 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008655/0.4503, allocations: 0.5177 MB / 0.6399 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.4521, allocations: 0.9946 MB / 0.6409 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.4557, allocations: 2.376 MB / 0.6432 GB, free: 3.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4557, allocations: 0 / 0.6432 GB, free: 3.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4557, allocations: 0 / 0.6432 GB, free: 3.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001058/0.4558, allocations: 4 kB / 0.6432 GB, free: 3.215 MB / 446.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.02224/0.4781, allocations: 4.943 MB / 0.6481 GB, free: 14.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4782, allocations: 8.031 kB / 0.6481 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.4822, allocations: 0.5838 MB / 0.6486 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.4852, allocations: 1.212 MB / 0.6498 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.4855, allocations: 268.8 kB / 0.6501 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/0.486, allocations: 116 kB / 0.6502 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.4887, allocations: 1.089 MB / 0.6513 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.4888, allocations: 4 kB / 0.6513 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.4889, allocations: 32 kB / 0.6513 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4889, allocations: 24 kB / 0.6513 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.4916, allocations: 1.183 MB / 0.6525 GB, free: 9.605 MB / 462.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.009522/0.5011, allocations: 4.598 MB / 0.657 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.5047, allocations: 2.147 MB / 0.6591 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.5063, allocations: 0.7905 MB / 0.6598 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.5065, allocations: 29.28 kB / 0.6599 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.5065, allocations: 47.86 kB / 0.6599 GB, free: 1.574 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.677e-06/0.5066, allocations: 0 / 0.6599 GB, free: 1.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.02771/0.5343, allocations: 6.687 MB / 0.6664 GB, free: 10.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.5344, allocations: 64.72 kB / 0.6665 GB, free: 10.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.5378, allocations: 1.655 MB / 0.6681 GB, free: 9.109 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003865/0.5382, allocations: 61.7 kB / 0.6682 GB, free: 9.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006529/0.5389, allocations: 0.5535 MB / 0.6687 GB, free: 8.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/0.5396, allocations: 0.4932 MB / 0.6692 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/0.541, allocations: 0.5133 MB / 0.6697 GB, free: 7.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5411, allocations: 301.1 kB / 0.67 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.5435, allocations: 1.149 MB / 0.6711 GB, free: 6.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.5461, allocations: 1.356 MB / 0.6724 GB, free: 4.629 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004614/0.5507, allocations: 2.346 MB / 0.6747 GB, free: 2.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.5507, allocations: 4 kB / 0.6747 GB, free: 2.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009973/0.5607, allocations: 4.078 MB / 0.6787 GB, free: 14.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.5608, allocations: 16.12 kB / 0.6787 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.5608, allocations: 0 / 0.6787 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.5722, allocations: 2.819 MB / 0.6815 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/0.5749, allocations: 483.3 kB / 0.6819 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/0.5812, allocations: 2.527 MB / 0.6844 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/0.5845, allocations: 249.8 kB / 0.6846 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004853/0.585, allocations: 91.91 kB / 0.6847 GB, free: 7.914 MB / 494.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.001074/0.5861, allocations: 317.3 kB / 0.685 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006468/0.5868, allocations: 165.8 kB / 0.6852 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5984, allocations: 3.542 MB / 0.6887 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.5985, allocations: 16 kB / 0.6887 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.5985, allocations: 0 / 0.6887 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.233e-05/0.5986, allocations: 7.969 kB / 0.6887 GB, free: 3.844 MB / 494.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.01569/0.6142, allocations: 5.65 MB / 0.6942 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.6143, allocations: 4 kB / 0.6942 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6155, allocations: 159.8 kB / 0.6943 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005825/0.6213, allocations: 1.496 MB / 0.6958 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002763/0.6216, allocations: 24 kB / 0.6958 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02118/0.6428, allocations: 7.837 MB / 0.7035 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6429, allocations: 0 / 0.7035 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.6577, allocations: 4.569 MB / 0.7079 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009629/0.6587, allocations: 302.8 kB / 0.7082 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/0.6594, allocations: 24 kB / 0.7083 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/0.6613, allocations: 79.92 kB / 0.7083 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007124/0.662, allocations: 193.5 kB / 0.7085 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.6621, allocations: 32 kB / 0.7086 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002005/0.6642, allocations: 1.09 MB / 0.7096 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6642, allocations: 0 / 0.7096 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002339/0.6665, allocations: 0.5933 MB / 0.7102 GB, free: 13.45 MB / 0.5137 GB 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.0004055/0.6669, allocations: 159 kB / 0.7103 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008955/0.6759, allocations: 3.006 MB / 0.7133 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6759, allocations: 4 kB / 0.7133 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005115/0.6811, allocations: 1.532 MB / 0.7148 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.6832, allocations: 128.2 kB / 0.7149 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.6911, allocations: 3.517 MB / 0.7183 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.6924, allocations: 1.238 MB / 0.7195 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009961/0.6934, allocations: 107.4 kB / 0.7196 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of SimCode: time 1.183e-06/0.6934, allocations: 0 / 0.7196 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of Templates: time 0.04465/0.738, allocations: 26.64 MB / 0.7457 GB, free: 8.996 MB / 0.545 GB 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)