Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.307/1.307, allocations: 222.9 MB / 240 MB, free: 4.59 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.001299/0.001299, allocations: 184.5 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5117/0.5117, allocations: 91.89 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 75.88 kB / 0.5033 GB, free: 6.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3343, allocations: 71.26 MB / 0.5729 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005716/0.34, allocations: 6.216 MB / 0.579 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.3439, allocations: 2.105 MB / 0.581 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.345, allocations: 9.062 kB / 0.581 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.3458, allocations: 228.2 kB / 0.5812 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.348, allocations: 0.8918 MB / 0.5821 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3491, allocations: 0.5695 MB / 0.5827 GB, free: 31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.3507, allocations: 1.675 MB / 0.5843 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.351, allocations: 210.2 kB / 0.5845 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.3517, allocations: 0.6689 MB / 0.5851 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007505/0.3525, allocations: 0.9189 MB / 0.586 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.3526, allocations: 150.7 kB / 0.5862 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.3532, allocations: 312.2 kB / 0.5865 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.3534, allocations: 367.9 kB / 0.5868 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.3539, allocations: 0.6725 MB / 0.5875 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.3557, allocations: 1.701 MB / 0.5892 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3557, allocations: 0 / 0.5892 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3557, allocations: 4.031 kB / 0.5892 GB, free: 27.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.008e-05/0.3558, allocations: 0 / 0.5892 GB, free: 27.94 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01236/0.3681, allocations: 3.138 MB / 0.5922 GB, free: 26.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3682, allocations: 9.594 kB / 0.5922 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/0.3712, allocations: 0.4894 MB / 0.5927 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.3725, allocations: 0.8986 MB / 0.5936 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.3727, allocations: 227.7 kB / 0.5938 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3729, allocations: 84.19 kB / 0.5939 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.3746, allocations: 0.8848 MB / 0.5948 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3747, allocations: 1.125 kB / 0.5948 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.3747, allocations: 20.53 kB / 0.5948 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3748, allocations: 18.22 kB / 0.5948 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.3768, allocations: 0.9952 MB / 0.5958 GB, free: 25.12 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.004936/0.3818, allocations: 2.922 MB / 0.5986 GB, free: 23.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.3844, allocations: 1.1 MB / 0.5997 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.3857, allocations: 0.6589 MB / 0.6003 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.3858, allocations: 16.95 kB / 0.6003 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3859, allocations: 48.66 kB / 0.6004 GB, free: 22.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.056e-06/0.3859, allocations: 0 / 0.6004 GB, free: 22.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02582/0.4117, allocations: 6.484 MB / 0.6067 GB, free: 21.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4118, allocations: 61.47 kB / 0.6068 GB, free: 21.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.4138, allocations: 1.143 MB / 0.6079 GB, free: 20.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003279/0.4141, allocations: 46.58 kB / 0.6079 GB, free: 20.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.4144, allocations: 389.5 kB / 0.6083 GB, free: 20.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.4147, allocations: 364.1 kB / 0.6087 GB, free: 20.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006829/0.4154, allocations: 372.3 kB / 0.609 GB, free: 20.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.362e-05/0.4155, allocations: 306.9 kB / 0.6093 GB, free: 19.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.4174, allocations: 0.9037 MB / 0.6102 GB, free: 19.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.4192, allocations: 0.9353 MB / 0.6111 GB, free: 19.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/0.4228, allocations: 1.812 MB / 0.6129 GB, free: 18.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4228, allocations: 0 / 0.6129 GB, free: 18.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006723/0.4295, allocations: 3.045 MB / 0.6159 GB, free: 16.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4296, allocations: 8.922 kB / 0.6159 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.4296, allocations: 5.094 kB / 0.6159 GB, free: 16.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008293/0.4379, allocations: 2.267 MB / 0.6181 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.4396, allocations: 323.5 kB / 0.6184 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.444, allocations: 2.265 MB / 0.6206 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.4464, allocations: 194.5 kB / 0.6208 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4465, allocations: 59.98 kB / 0.6208 GB, free: 13.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004409/0.447, allocations: 258 kB / 0.6211 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.4472, allocations: 122.4 kB / 0.6212 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009052/0.4562, allocations: 3.305 MB / 0.6244 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.4563, allocations: 11.94 kB / 0.6244 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.4563, allocations: 0 / 0.6244 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.4563, allocations: 3.984 kB / 0.6244 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.4579, allocations: 1.206 MB / 0.6256 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4579, allocations: 0 / 0.6256 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.4586, allocations: 119.8 kB / 0.6257 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004489/0.4631, allocations: 1.442 MB / 0.6271 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.4632, allocations: 19.98 kB / 0.6272 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/0.479, allocations: 7.823 MB / 0.6348 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.479, allocations: 0 / 0.6348 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.4906, allocations: 4.135 MB / 0.6388 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4917, allocations: 235.4 kB / 0.6391 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.492, allocations: 20 kB / 0.6391 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.4932, allocations: 83.91 kB / 0.6392 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006756/0.4939, allocations: 176.8 kB / 0.6393 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.4939, allocations: 20 kB / 0.6394 GB, free: 9.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001144/0.4951, allocations: 0.7641 MB / 0.6401 GB, free: 9.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4951, allocations: 0 / 0.6401 GB, free: 9.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001365/0.4965, allocations: 431.7 kB / 0.6405 GB, free: 8.668 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (62): * Single equations (assignments): 61 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002824/0.4968, allocations: 153.6 kB / 0.6407 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006363/0.5031, allocations: 2.378 MB / 0.643 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5032, allocations: 0 / 0.643 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003818/0.507, allocations: 1.306 MB / 0.6443 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5081, allocations: 87.59 kB / 0.6443 GB, free: 4.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.5126, allocations: 2.432 MB / 0.6467 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.5132, allocations: 1.057 MB / 0.6477 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005965/0.5138, allocations: 103.6 kB / 0.6478 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.5141, allocations: 75.42 kB / 0.6479 GB, free: 1 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5142, allocations: 0 / 0.6479 GB, free: 1 MB / 446.1 MB Notification: Performance of Templates: time 0.03601/0.5502, allocations: 23.76 MB / 0.6711 GB, free: 9.262 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)