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.001284/0.001284, allocations: 80.75 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 0.9818/0.9818, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001639/0.001639, 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.4372/0.4372, allocations: 80.24 MB / 340.5 MB, free: 9.629 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.503e-06/1.503e-06, allocations: 0 / 383.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.435e-05, allocations: 2.312 kB / 383.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009018/0.009043, allocations: 7.575 MB / 391.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.01404, allocations: 2.666 MB / 394 MB, free: 4.422 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.01509, allocations: 8 kB / 394 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006504/0.01574, allocations: 325.2 kB / 394.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.01828, allocations: 1.224 MB / 395.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.01942, allocations: 0.6821 MB / 396.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.02221, allocations: 2.436 MB / 398.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.02263, allocations: 211.3 kB / 398.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.02477, allocations: 1.364 MB / 400.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.02583, allocations: 1.091 MB / 401.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.02609, allocations: 203.9 kB / 401.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006431/0.02674, allocations: 379.7 kB / 401.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.02703, allocations: 0.5058 MB / 402.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005818/0.02761, allocations: 0.6893 MB / 403.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.02976, allocations: 1.693 MB / 404.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.02977, allocations: 0 / 404.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02977, allocations: 0 / 404.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.02979, allocations: 7.938 kB / 404.8 MB, free: 9.562 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.007855/0.03764, allocations: 4.196 MB / 409 MB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.03768, allocations: 8.031 kB / 409 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.03983, allocations: 0.7029 MB / 409.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.04131, allocations: 0.7438 MB / 410.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.04155, allocations: 320.2 kB / 410.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.04176, allocations: 123.9 kB / 410.9 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.04318, allocations: 0.6629 MB / 411.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.0432, allocations: 0 / 411.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.04326, allocations: 36 kB / 411.6 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.04328, allocations: 24 kB / 411.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.0439, allocations: 393.7 kB / 412 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.04756, allocations: 1.901 MB / 413.9 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.04871, allocations: 0.766 MB / 414.7 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.04907, allocations: 278 kB / 414.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.974e-05/0.04917, allocations: 29.3 kB / 415 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.0492, allocations: 47.88 kB / 415 MB, free: 15.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 3.958e-06/0.04921, allocations: 0 / 415 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.01075/0.05995, allocations: 4.628 MB / 419.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.05999, allocations: 64.72 kB / 419.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.06111, allocations: 1.251 MB / 420.9 MB, free: 9.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.06126, allocations: 57.7 kB / 421 MB, free: 9.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.0615, allocations: 417.7 kB / 421.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.06186, allocations: 0.5268 MB / 421.9 MB, free: 8.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005252/0.06238, allocations: 0.4934 MB / 422.4 MB, free: 7.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.06245, allocations: 305.1 kB / 422.7 MB, free: 7.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.06322, allocations: 0.5128 MB / 423.2 MB, free: 6.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008706/0.06409, allocations: 0.7268 MB / 424 MB, free: 6.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.06572, allocations: 1.359 MB / 425.3 MB, free: 4.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.06573, allocations: 0 / 425.3 MB, free: 4.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00389/0.06962, allocations: 2.306 MB / 427.6 MB, free: 2.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.06964, allocations: 7.938 kB / 427.6 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.06966, allocations: 0 / 427.6 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/0.07388, allocations: 1.854 MB / 429.5 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.07513, allocations: 463.3 kB / 429.9 MB, free: 52 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.07699, allocations: 1.447 MB / 431.4 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.07825, allocations: 234.5 kB / 431.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.07836, allocations: 63.97 kB / 431.7 MB, free: 14.29 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.0003726/0.07873, allocations: 217.4 kB / 431.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.07896, allocations: 135.9 kB / 432 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.08278, allocations: 2.141 MB / 434.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.08279, allocations: 19.94 kB / 434.2 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.08279, allocations: 0 / 434.2 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.0828, allocations: 3.984 kB / 434.2 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.08756, allocations: 2.823 MB / 437 MB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.08757, allocations: 4 kB / 437 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.08806, allocations: 163.8 kB / 437.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.09155, allocations: 1.461 MB / 438.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.654e-05/0.09164, allocations: 20 kB / 438.7 MB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005643/0.09728, allocations: 3.784 MB / 442.4 MB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.09728, allocations: 0 / 442.4 MB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.1015, allocations: 2.494 MB / 444.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.1019, allocations: 166.5 kB / 445.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.1021, allocations: 24 kB / 445.1 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/0.1027, allocations: 67.95 kB / 445.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/0.1031, allocations: 193.4 kB / 445.4 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.1031, allocations: 27.98 kB / 445.4 MB, free: 384 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1894/0.2926, allocations: 0.6449 MB / 446.1 MB, free: 57.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2926, allocations: 3.719 kB / 446.1 MB, free: 57.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001765/0.2943, allocations: 0.5834 MB / 446.6 MB, free: 57.88 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.0003249/0.2947, allocations: 137 kB / 446.8 MB, free: 57.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.2982, allocations: 1.797 MB / 448.6 MB, free: 57.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.448e-05/0.2983, allocations: 15.16 kB / 448.6 MB, free: 57.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.3002, allocations: 1.027 MB / 449.6 MB, free: 57.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.3011, allocations: 151.8 kB / 449.8 MB, free: 57.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.3051, allocations: 2.636 MB / 452.4 MB, free: 56.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3053, allocations: 281.2 kB / 452.7 MB, free: 56.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004993/0.3058, allocations: 158.2 kB / 452.8 MB, free: 56.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/0.3062, allocations: 229.3 kB / 453.1 MB, free: 56.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.395e-06/0.3062, allocations: 0 / 453.1 MB, free: 56.23 MB / 410.7 MB Notification: Performance of Templates: time 0.03325/0.3395, allocations: 31.71 MB / 484.8 MB, free: 32.62 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.03393067792058]