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.001003/0.001003, allocations: 80.88 kB / 19.94 MB, free: 4.547 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 1.023/1.023, allocations: 177.2 MB / 200.3 MB, free: 5.684 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.001201/0.001201, allocations: 152.6 kB / 257 MB, free: 12.97 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.4227/0.4227, allocations: 80.24 MB / 340.5 MB, free: 9.637 MB / 314.7 MB " [Timeout remaining time 180] 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.282e-06/1.282e-06, allocations: 0 / 383.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.86e-05, allocations: 2.312 kB / 383.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005882/0.0059, allocations: 7.624 MB / 391.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.009368, allocations: 2.673 MB / 394.1 MB, free: 4.324 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003925/0.00976, allocations: 8 kB / 394.1 MB, free: 4.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.01025, allocations: 325.2 kB / 394.4 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.01193, allocations: 1.196 MB / 395.6 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.01278, allocations: 0.7014 MB / 396.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.01464, allocations: 2.436 MB / 398.8 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.015, allocations: 219.3 kB / 399 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.01627, allocations: 1.356 MB / 400.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.01729, allocations: 1.087 MB / 401.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.01758, allocations: 204 kB / 401.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.01812, allocations: 387.6 kB / 402 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.01842, allocations: 0.5098 MB / 402.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.01896, allocations: 0.6892 MB / 403.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.02036, allocations: 1.697 MB / 404.9 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.02036, allocations: 0 / 404.9 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02036, allocations: 0 / 404.9 MB, free: 9.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.02038, allocations: 0 / 404.9 MB, free: 9.469 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.00744/0.02782, allocations: 4.192 MB / 409.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.02786, allocations: 8.031 kB / 409.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.02989, allocations: 0.7068 MB / 409.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.03109, allocations: 0.7439 MB / 410.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.03129, allocations: 316.2 kB / 410.9 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.03143, allocations: 119.9 kB / 411 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/0.03219, allocations: 0.6551 MB / 411.6 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.03221, allocations: 7.938 kB / 411.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.03227, allocations: 39.98 kB / 411.7 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.03228, allocations: 20 kB / 411.7 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.03287, allocations: 393.7 kB / 412.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.0357, allocations: 1.897 MB / 414 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.0367, allocations: 0.7814 MB / 414.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.03702, allocations: 278 kB / 415 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.329e-05/0.03711, allocations: 33.3 kB / 415.1 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.03714, allocations: 43.88 kB / 415.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 2.795e-06/0.03714, allocations: 0 / 415.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.009902/0.04704, allocations: 4.621 MB / 419.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.04709, allocations: 68.72 kB / 419.8 MB, free: 10.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000895/0.04799, allocations: 1.251 MB / 421 MB, free: 9.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.04807, allocations: 61.7 kB / 421.1 MB, free: 9.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.04829, allocations: 409.7 kB / 421.5 MB, free: 8.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.04857, allocations: 0.5307 MB / 422 MB, free: 8.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/0.04909, allocations: 0.4934 MB / 422.5 MB, free: 7.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.04916, allocations: 309 kB / 422.8 MB, free: 7.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007471/0.04991, allocations: 0.5051 MB / 423.3 MB, free: 6.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.05077, allocations: 0.7268 MB / 424.1 MB, free: 6.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.05267, allocations: 1.359 MB / 425.4 MB, free: 4.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.05268, allocations: 0 / 425.4 MB, free: 4.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003359/0.05604, allocations: 2.31 MB / 427.7 MB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.05606, allocations: 4 kB / 427.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.05607, allocations: 8 kB / 427.7 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/0.06007, allocations: 1.848 MB / 429.6 MB, free: 428 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.0612, allocations: 0.512 MB / 430.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.06316, allocations: 1.447 MB / 431.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.06406, allocations: 234.5 kB / 431.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.06416, allocations: 59.97 kB / 431.8 MB, free: 14.15 MB / 410.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.0002746/0.06443, allocations: 221.3 kB / 432.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.06461, allocations: 139.8 kB / 432.2 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/0.06807, allocations: 2.129 MB / 434.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.06808, allocations: 16 kB / 434.3 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.06808, allocations: 7.984 kB / 434.3 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.06809, allocations: 7.922 kB / 434.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.07269, allocations: 2.826 MB / 437.2 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.0727, allocations: 4 kB / 437.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.07319, allocations: 171.8 kB / 437.3 MB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/0.07647, allocations: 1.454 MB / 438.8 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.07653, allocations: 31.98 kB / 438.8 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00611/0.08264, allocations: 3.807 MB / 442.6 MB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.08264, allocations: 3.938 kB / 442.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/0.08706, allocations: 2.483 MB / 445.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.0875, allocations: 162.6 kB / 445.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.08765, allocations: 20 kB / 445.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.08826, allocations: 79.88 kB / 445.4 MB, free: 428 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.08864, allocations: 193.4 kB / 445.6 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.08869, allocations: 23.98 kB / 445.6 MB, free: 204 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1874/0.2761, allocations: 0.6489 MB / 446.2 MB, free: 57.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2761, allocations: 0 / 446.2 MB, free: 57.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001744/0.2779, allocations: 0.5807 MB / 446.8 MB, free: 57.8 MB / 410.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.0003116/0.2782, allocations: 143.8 kB / 447 MB, free: 57.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004245/0.2824, allocations: 1.795 MB / 448.8 MB, free: 57.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.749e-05/0.2824, allocations: 14.41 kB / 448.8 MB, free: 57.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.2848, allocations: 1.026 MB / 449.8 MB, free: 57.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2858, allocations: 150.1 kB / 449.9 MB, free: 57.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.2902, allocations: 2.636 MB / 452.6 MB, free: 56.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.2905, allocations: 286.9 kB / 452.9 MB, free: 56.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000601/0.2911, allocations: 161.7 kB / 453 MB, free: 56.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.2916, allocations: 231.4 kB / 453.2 MB, free: 56.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2916, allocations: 1.75 kB / 453.2 MB, free: 56.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03136/0.323, allocations: 32.01 MB / 485.3 MB, free: 32.05 MB / 410.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0517524210736156]