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.0008755/0.0008755, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.9384/0.9384, allocations: 177.1 MB / 200.3 MB, free: 5.707 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.001391/0.001391, allocations: 152.7 kB / 256.9 MB, free: 12.98 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.27/0.27, allocations: 80.25 MB / 393.7 MB, free: 1.98 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.723e-06/1.723e-06, allocations: 0 / 490.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.632e-05, allocations: 4.953 kB / 490.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008766/0.008792, allocations: 7.581 MB / 497.8 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006896/0.01569, allocations: 2.564 MB / 0.4886 GB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.01693, allocations: 8.781 kB / 0.4886 GB, free: 1.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.01766, allocations: 306.2 kB / 0.4889 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.02175, allocations: 1.209 MB / 0.4901 GB, free: 15.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.02347, allocations: 0.6793 MB / 0.4908 GB, free: 14.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.02648, allocations: 2.441 MB / 0.4932 GB, free: 12.49 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.02693, allocations: 209.8 kB / 0.4934 GB, free: 12.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.02876, allocations: 1.344 MB / 0.4947 GB, free: 10.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.03017, allocations: 1.089 MB / 0.4957 GB, free: 9.824 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004042/0.03058, allocations: 200 kB / 0.4959 GB, free: 9.629 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007676/0.03134, allocations: 375.8 kB / 0.4963 GB, free: 9.262 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.03173, allocations: 0.5097 MB / 0.4968 GB, free: 8.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007278/0.03245, allocations: 0.6988 MB / 0.4975 GB, free: 8.051 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.0345, allocations: 1.7 MB / 0.4991 GB, free: 6.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.0345, allocations: 0 / 0.4991 GB, free: 6.344 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.0345, allocations: 0 / 0.4991 GB, free: 6.344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.03454, allocations: 0 / 0.4991 GB, free: 6.344 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.008427/0.04297, allocations: 4.292 MB / 0.5033 GB, free: 2.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.04301, allocations: 12.03 kB / 0.5033 GB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.04479, allocations: 0.6981 MB / 0.504 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.04582, allocations: 1.043 MB / 0.505 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.04601, allocations: 320.2 kB / 0.5053 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.04615, allocations: 115.9 kB / 0.5054 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/0.04689, allocations: 0.6513 MB / 0.5061 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.04691, allocations: 3.984 kB / 0.5061 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.04697, allocations: 32 kB / 0.5061 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.04698, allocations: 24 kB / 0.5061 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.0476, allocations: 489.5 kB / 0.5066 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.05095, allocations: 2.756 MB / 0.5093 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.05203, allocations: 0.8667 MB / 0.5101 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.05238, allocations: 339.4 kB / 0.5105 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.05247, allocations: 29.3 kB / 0.5105 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.05249, allocations: 46.7 kB / 0.5105 GB, free: 10.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 2.444e-06/0.0525, allocations: 0 / 0.5105 GB, free: 10.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.01041/0.06291, allocations: 4.973 MB / 0.5154 GB, free: 5.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.06295, allocations: 68.7 kB / 0.5155 GB, free: 5.414 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.06396, allocations: 1.394 MB / 0.5168 GB, free: 3.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/0.06404, allocations: 53.7 kB / 0.5169 GB, free: 3.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.06439, allocations: 0.6468 MB / 0.5175 GB, free: 3.281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.06469, allocations: 0.5229 MB / 0.518 GB, free: 2.754 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005615/0.06526, allocations: 0.531 MB / 0.5185 GB, free: 2.215 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.06537, allocations: 484.7 kB / 0.519 GB, free: 1.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.06614, allocations: 0.5595 MB / 0.5195 GB, free: 1.176 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/0.06705, allocations: 0.8054 MB / 0.5203 GB, free: 344 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.0688, allocations: 1.411 MB / 0.5217 GB, free: 14.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.06881, allocations: 0 / 0.5217 GB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003999/0.07281, allocations: 2.761 MB / 0.5244 GB, free: 12.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.07283, allocations: 4 kB / 0.5244 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.07284, allocations: 0 / 0.5244 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/0.07721, allocations: 2.299 MB / 0.5266 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.07824, allocations: 471.3 kB / 0.5271 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.08024, allocations: 1.836 MB / 0.5289 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.08125, allocations: 222.5 kB / 0.5291 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.08135, allocations: 75.95 kB / 0.5292 GB, free: 7.148 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.000322/0.08167, allocations: 252.1 kB / 0.5294 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.0819, allocations: 226.8 kB / 0.5296 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.08563, allocations: 2.351 MB / 0.5319 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.08565, allocations: 16 kB / 0.5319 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.08565, allocations: 0 / 0.5319 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.08566, allocations: 7.969 kB / 0.532 GB, free: 4.273 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/0.09045, allocations: 3.322 MB / 0.5352 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.09045, allocations: 0 / 0.5352 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.09089, allocations: 175.7 kB / 0.5354 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/0.09428, allocations: 1.484 MB / 0.5368 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/0.09435, allocations: 31.98 kB / 0.5368 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005881/0.1002, allocations: 4.644 MB / 0.5414 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1002, allocations: 4 kB / 0.5414 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.1045, allocations: 2.819 MB / 0.5441 GB, free: 7.594 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.1048, allocations: 238.4 kB / 0.5444 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.105, allocations: 24 kB / 0.5444 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.1055, allocations: 67.95 kB / 0.5444 GB, free: 7.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.1058, allocations: 193.4 kB / 0.5446 GB, free: 7.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.1059, allocations: 31.92 kB / 0.5447 GB, free: 7.051 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000583/0.1065, allocations: 0.8152 MB / 0.5455 GB, free: 6.238 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1065, allocations: 4 kB / 0.5455 GB, free: 6.234 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001041/0.1075, allocations: 0.5817 MB / 0.546 GB, free: 5.652 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.0002469/0.1077, allocations: 159 kB / 0.5462 GB, free: 5.484 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.1108, allocations: 1.911 MB / 0.548 GB, free: 3.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1108, allocations: 0 / 0.548 GB, free: 3.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.1124, allocations: 1.146 MB / 0.5492 GB, free: 2.398 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.113, allocations: 153.3 kB / 0.5493 GB, free: 2.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.1166, allocations: 2.987 MB / 0.5522 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.1168, allocations: 282.5 kB / 0.5525 GB, free: 14.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.1171, allocations: 155.2 kB / 0.5526 GB, free: 14.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.1176, allocations: 250.2 kB / 0.5529 GB, free: 14.52 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1176, allocations: 0 / 0.5529 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Templates: time 0.03352/0.1511, allocations: 32.73 MB / 0.5849 GB, free: 14.02 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.12175572803244]