Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 177.1 MB / 199.7 MB, free: 5.828 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 168.6 kB / 256.3 MB, free: 13.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5064/0.5064, allocations: 80.36 MB / 393.1 MB, free: 2.164 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 489.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.757e-05, allocations: 2.312 kB / 489.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.01065/0.01069, allocations: 7.67 MB / 496.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.01661, allocations: 2.584 MB / 499.5 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.01774, allocations: 12 kB / 499.5 MB, free: 1.223 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009661/0.0187, allocations: 302.3 kB / 499.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003605/0.02231, allocations: 1.196 MB / 0.4892 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.02398, allocations: 0.692 MB / 0.4899 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003873/0.02786, allocations: 2.436 MB / 0.4923 GB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.02851, allocations: 206.1 kB / 0.4925 GB, free: 12.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.03134, allocations: 1.344 MB / 0.4938 GB, free: 11.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.0331, allocations: 1.091 MB / 0.4948 GB, free: 9.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.03345, allocations: 204.7 kB / 0.495 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008239/0.03428, allocations: 375.8 kB / 0.4954 GB, free: 9.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.03481, allocations: 0.5063 MB / 0.4959 GB, free: 8.863 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.0357, allocations: 0.698 MB / 0.4966 GB, free: 8.164 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.0389, allocations: 2.449 MB / 0.499 GB, free: 5.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.03891, allocations: 0 / 0.499 GB, free: 5.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.03891, allocations: 0.5 kB / 0.499 GB, free: 5.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.653e-05/0.03894, allocations: 1.844 kB / 0.499 GB, free: 5.707 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.01694/0.05588, allocations: 4.346 MB / 0.5032 GB, free: 1.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.05593, allocations: 16.03 kB / 0.5032 GB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.0596, allocations: 0.702 MB / 0.5039 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.06197, allocations: 1.193 MB / 0.5051 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.06233, allocations: 320.2 kB / 0.5054 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.06256, allocations: 116 kB / 0.5055 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.0649, allocations: 1.065 MB / 0.5065 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.06493, allocations: 0 / 0.5065 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.06504, allocations: 36 kB / 0.5066 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.06506, allocations: 28 kB / 0.5066 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.06764, allocations: 1.14 MB / 0.5077 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0075/0.07514, allocations: 3.488 MB / 0.5111 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.07834, allocations: 1.295 MB / 0.5124 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.07985, allocations: 0.6986 MB / 0.5131 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.07999, allocations: 29.31 kB / 0.5131 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.08004, allocations: 50.69 kB / 0.5131 GB, free: 7.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 3.266e-06/0.08005, allocations: 4 kB / 0.5131 GB, free: 7.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.02752/0.1076, allocations: 6.371 MB / 0.5194 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.1076, allocations: 72.66 kB / 0.5194 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.1107, allocations: 1.86 MB / 0.5213 GB, free: 14.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.111, allocations: 53.7 kB / 0.5213 GB, free: 14.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/0.1117, allocations: 0.6861 MB / 0.522 GB, free: 13.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000723/0.1124, allocations: 0.5581 MB / 0.5225 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.1135, allocations: 0.5899 MB / 0.5231 GB, free: 12.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.1137, allocations: 480.7 kB / 0.5236 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/0.1162, allocations: 1.075 MB / 0.5246 GB, free: 11.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.1189, allocations: 1.36 MB / 0.5259 GB, free: 9.809 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/0.1239, allocations: 2.485 MB / 0.5284 GB, free: 7.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.1239, allocations: 0 / 0.5284 GB, free: 7.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01089/0.1348, allocations: 4.112 MB / 0.5324 GB, free: 3.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.1349, allocations: 8 kB / 0.5324 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1349, allocations: 4.188 kB / 0.5324 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.1466, allocations: 2.744 MB / 0.5351 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.1493, allocations: 463.5 kB / 0.5355 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/0.1563, allocations: 2.805 MB / 0.5382 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/0.1597, allocations: 234.5 kB / 0.5385 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.1601, allocations: 87.97 kB / 0.5386 GB, free: 12.75 MB / 426.7 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 (272): * Single equations (assignments): 271 * 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.001052/0.1612, allocations: 352.1 kB / 0.5389 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007578/0.1619, allocations: 214.9 kB / 0.5391 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.1737, allocations: 3.319 MB / 0.5423 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.1737, allocations: 12 kB / 0.5423 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1737, allocations: 0 / 0.5423 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/0.1738, allocations: 7.969 kB / 0.5424 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.1889, allocations: 4.729 MB / 0.547 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.1889, allocations: 0 / 0.547 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.19, allocations: 163.8 kB / 0.5471 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009555/0.1996, allocations: 1.862 MB / 0.5489 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/0.1998, allocations: 31.98 kB / 0.549 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/0.2208, allocations: 7.961 MB / 0.5568 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2208, allocations: 0 / 0.5568 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/0.2348, allocations: 4.377 MB / 0.561 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.2355, allocations: 226.5 kB / 0.5612 GB, free: 5.258 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005622/0.2361, allocations: 23.98 kB / 0.5613 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.2381, allocations: 71.95 kB / 0.5613 GB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007152/0.2388, allocations: 205.4 kB / 0.5615 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.239, allocations: 36 kB / 0.5616 GB, free: 4.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0022/0.2412, allocations: 1.179 MB / 0.5627 GB, free: 3.754 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2412, allocations: 0 / 0.5627 GB, free: 3.754 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002417/0.2436, allocations: 0.5895 MB / 0.5633 GB, free: 3.164 MB / 442.7 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 (96): * Single equations (assignments): 95 * 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.0004431/0.244, allocations: 163 kB / 0.5634 GB, free: 2.992 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009364/0.2534, allocations: 2.837 MB / 0.5662 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2534, allocations: 0 / 0.5662 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1651/0.4185, allocations: 1.534 MB / 0.5677 GB, free: 95.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.4202, allocations: 160.5 kB / 0.5679 GB, free: 95.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.4261, allocations: 3.212 MB / 0.571 GB, free: 94.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000796/0.4269, allocations: 0.6573 MB / 0.5716 GB, free: 93.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008978/0.4278, allocations: 159.8 kB / 0.5718 GB, free: 93.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.4283, allocations: 112.2 kB / 0.5719 GB, free: 93.91 MB / 442.7 MB Notification: Performance of SimCode: time 2.195e-06/0.4283, allocations: 4 kB / 0.5719 GB, free: 93.91 MB / 442.7 MB Notification: Performance of Templates: time 0.04228/0.4705, allocations: 31.83 MB / 0.603 GB, free: 71.2 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7986166490009055]