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.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.000996/0.000996, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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 0.9773/0.9773, allocations: 177.1 MB / 201 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.001218/0.001218, allocations: 148.7 kB / 257.7 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2828/0.2828, allocations: 80.26 MB / 394.5 MB, free: 1.992 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 491 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.892e-05, allocations: 7.719 kB / 491 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006064/0.006093, allocations: 7.572 MB / 498.6 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.0107, allocations: 2.565 MB / 0.4894 GB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.01188, allocations: 12 kB / 0.4894 GB, free: 1.148 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007378/0.01262, allocations: 310.3 kB / 0.4897 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.01536, allocations: 1.204 MB / 0.4909 GB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.01667, allocations: 0.6855 MB / 0.4915 GB, free: 14.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.01964, allocations: 2.44 MB / 0.4939 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.02004, allocations: 201.3 kB / 0.4941 GB, free: 12.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.02182, allocations: 1.348 MB / 0.4954 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.02295, allocations: 1.088 MB / 0.4965 GB, free: 9.859 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.02321, allocations: 204 kB / 0.4967 GB, free: 9.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.02383, allocations: 375.8 kB / 0.4971 GB, free: 9.293 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.02411, allocations: 0.5097 MB / 0.4976 GB, free: 8.781 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.02468, allocations: 0.6943 MB / 0.4982 GB, free: 8.086 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.02646, allocations: 1.696 MB / 0.4999 GB, free: 6.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.02647, allocations: 0 / 0.4999 GB, free: 6.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02647, allocations: 1.562 kB / 0.4999 GB, free: 6.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.564e-05/0.02651, allocations: 4 kB / 0.4999 GB, free: 6.379 MB / 426.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.008263/0.03477, allocations: 4.287 MB / 0.5041 GB, free: 2.074 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.03481, allocations: 8.031 kB / 0.5041 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.03677, allocations: 0.7097 MB / 0.5048 GB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.03804, allocations: 1.039 MB / 0.5058 GB, free: 284 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.03827, allocations: 324.2 kB / 0.5061 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.03843, allocations: 120 kB / 0.5062 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.03932, allocations: 0.6474 MB / 0.5069 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.03934, allocations: 0 / 0.5069 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.03941, allocations: 36 kB / 0.5069 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.03943, allocations: 24 kB / 0.5069 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.04014, allocations: 481.5 kB / 0.5074 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.04408, allocations: 2.763 MB / 0.5101 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.04526, allocations: 0.8766 MB / 0.5109 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.04564, allocations: 331.4 kB / 0.5112 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-05/0.04572, allocations: 21.31 kB / 0.5113 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.04575, allocations: 54.7 kB / 0.5113 GB, free: 10.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 3.958e-06/0.04576, allocations: 0 / 0.5113 GB, free: 10.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.01183/0.05758, allocations: 4.965 MB / 0.5162 GB, free: 5.531 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.05763, allocations: 64.72 kB / 0.5162 GB, free: 5.453 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.05918, allocations: 1.394 MB / 0.5176 GB, free: 4.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.05944, allocations: 69.64 kB / 0.5176 GB, free: 3.961 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.05985, allocations: 0.6429 MB / 0.5183 GB, free: 3.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.0603, allocations: 0.5229 MB / 0.5188 GB, free: 2.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006195/0.06092, allocations: 0.5349 MB / 0.5193 GB, free: 2.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.06105, allocations: 484.7 kB / 0.5198 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008408/0.06189, allocations: 0.5556 MB / 0.5203 GB, free: 1.203 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009765/0.06286, allocations: 0.7976 MB / 0.5211 GB, free: 380 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.06459, allocations: 1.411 MB / 0.5225 GB, free: 14.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.06459, allocations: 3.938 kB / 0.5225 GB, free: 14.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004335/0.06893, allocations: 2.757 MB / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.06896, allocations: 4 kB / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.06897, allocations: 4 kB / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004808/0.07378, allocations: 2.299 MB / 0.5274 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.07516, allocations: 467.3 kB / 0.5279 GB, free: 9.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.07748, allocations: 1.833 MB / 0.5297 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.0791, allocations: 234.5 kB / 0.5299 GB, free: 7.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.07923, allocations: 63.97 kB / 0.5299 GB, free: 7.188 MB / 458.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.0004401/0.07967, allocations: 260.1 kB / 0.5302 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.07999, allocations: 218.8 kB / 0.5304 GB, free: 6.707 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/0.08417, allocations: 2.358 MB / 0.5327 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.08419, allocations: 19.98 kB / 0.5327 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.08419, allocations: 0 / 0.5327 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.0842, allocations: 3.984 kB / 0.5327 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/0.08972, allocations: 3.326 MB / 0.536 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.08973, allocations: 0 / 0.536 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.09023, allocations: 167.7 kB / 0.5361 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003802/0.09403, allocations: 1.484 MB / 0.5376 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.09414, allocations: 27.98 kB / 0.5376 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006437/0.1006, allocations: 4.636 MB / 0.5421 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1006, allocations: 3.938 kB / 0.5421 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.1057, allocations: 2.838 MB / 0.5449 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/0.1062, allocations: 230.4 kB / 0.5451 GB, free: 7.395 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.1064, allocations: 28 kB / 0.5452 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.107, allocations: 63.94 kB / 0.5452 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004386/0.1075, allocations: 189.4 kB / 0.5454 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.1075, allocations: 35.92 kB / 0.5454 GB, free: 7.086 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007044/0.1082, allocations: 0.8231 MB / 0.5462 GB, free: 6.266 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1082, allocations: 0 / 0.5462 GB, free: 6.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001214/0.1094, allocations: 0.5817 MB / 0.5468 GB, free: 5.684 MB / 474.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.0002833/0.1097, allocations: 151 kB / 0.5469 GB, free: 5.523 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003544/0.1133, allocations: 1.919 MB / 0.5488 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1133, allocations: 0 / 0.5488 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.1152, allocations: 1.142 MB / 0.5499 GB, free: 2.434 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009172/0.1161, allocations: 157.3 kB / 0.5501 GB, free: 2.277 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.1204, allocations: 2.989 MB / 0.553 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1206, allocations: 274.5 kB / 0.5533 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005814/0.1212, allocations: 163.2 kB / 0.5534 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.1217, allocations: 250.2 kB / 0.5537 GB, free: 14.55 MB / 490.7 MB Notification: Performance of SimCode: time 2.345e-06/0.1217, allocations: 3.938 kB / 0.5537 GB, free: 14.55 MB / 490.7 MB Notification: Performance of Templates: time 0.04219/0.1639, allocations: 33.83 MB / 0.5867 GB, free: 12.87 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6168457618914545]