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.001424/0.001424, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.599/1.599, allocations: 230.6 MB / 253.4 MB, free: 14.61 MB / 206.1 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.001686/0.001686, allocations: 205.9 kB / 310 MB, free: 3.062 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5243/0.5243, allocations: 79.74 MB / 446.2 MB, free: 38.77 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 89.83 kB / 0.5941 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1428, allocations: 73.3 MB / 0.6657 GB, free: 272 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.01111/0.1539, allocations: 8.297 MB / 0.6738 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.1605, allocations: 2.647 MB / 0.6764 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.1625, allocations: 16 kB / 0.6764 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1636, allocations: 309.4 kB / 0.6767 GB, free: 6.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.1687, allocations: 1.55 MB / 0.6782 GB, free: 4.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1703, allocations: 0.6013 MB / 0.6788 GB, free: 4.121 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.1744, allocations: 2.57 MB / 0.6813 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.175, allocations: 213.2 kB / 0.6815 GB, free: 1.312 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.1768, allocations: 1.035 MB / 0.6825 GB, free: 280 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.1791, allocations: 1.381 MB / 0.6839 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004718/0.1795, allocations: 200 kB / 0.6841 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.1805, allocations: 391.8 kB / 0.6845 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005048/0.181, allocations: 0.5293 MB / 0.685 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.1821, allocations: 0.983 MB / 0.6859 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.1854, allocations: 2.377 MB / 0.6883 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1854, allocations: 0 / 0.6883 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1854, allocations: 0 / 0.6883 GB, free: 10.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.715e-05/0.1855, allocations: 4 kB / 0.6883 GB, free: 10.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02032/0.2058, allocations: 4.936 MB / 0.6931 GB, free: 5.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.2059, allocations: 12.02 kB / 0.6931 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/0.2094, allocations: 0.581 MB / 0.6937 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.2118, allocations: 1.16 MB / 0.6948 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.2121, allocations: 320.2 kB / 0.6951 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.2124, allocations: 123.9 kB / 0.6952 GB, free: 3.148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.2147, allocations: 1.089 MB / 0.6963 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.2147, allocations: 0 / 0.6963 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.2148, allocations: 36 kB / 0.6963 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.2148, allocations: 20 kB / 0.6963 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.2172, allocations: 1.179 MB / 0.6975 GB, free: 0.8164 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008439/0.2257, allocations: 4.576 MB / 0.7019 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.2287, allocations: 1.3 MB / 0.7032 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.2302, allocations: 0.7163 MB / 0.7039 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.2304, allocations: 25.28 kB / 0.7039 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2304, allocations: 47.88 kB / 0.704 GB, free: 9.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.707e-06/0.2304, allocations: 3.938 kB / 0.704 GB, free: 9.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02656/0.257, allocations: 6.583 MB / 0.7104 GB, free: 3.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.257, allocations: 64.72 kB / 0.7105 GB, free: 3.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.2599, allocations: 1.663 MB / 0.7121 GB, free: 1.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004308/0.2603, allocations: 57.7 kB / 0.7122 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/0.2609, allocations: 0.5543 MB / 0.7127 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.2615, allocations: 0.5191 MB / 0.7132 GB, free: 440 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009207/0.2624, allocations: 0.5212 MB / 0.7137 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2626, allocations: 301.1 kB / 0.714 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.2649, allocations: 1.149 MB / 0.7151 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.2674, allocations: 1.353 MB / 0.7164 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/0.2719, allocations: 2.342 MB / 0.7187 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.2719, allocations: 4 kB / 0.7187 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009557/0.2814, allocations: 4.036 MB / 0.7227 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.2814, allocations: 4 kB / 0.7227 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.2815, allocations: 4 kB / 0.7227 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.2922, allocations: 2.827 MB / 0.7254 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.2949, allocations: 483.3 kB / 0.7259 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005878/0.3008, allocations: 2.541 MB / 0.7284 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.3039, allocations: 246.4 kB / 0.7286 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.3041, allocations: 91.97 kB / 0.7287 GB, free: 404 kB / 0.4981 GB 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 (281): * Single equations (assignments): 280 * 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.0007165/0.3048, allocations: 317.3 kB / 0.729 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.3052, allocations: 175 kB / 0.7292 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.3158, allocations: 3.507 MB / 0.7326 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.3158, allocations: 12 kB / 0.7326 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3158, allocations: 4 kB / 0.7326 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.3158, allocations: 15.92 kB / 0.7326 GB, free: 12.35 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.3303, allocations: 5.587 MB / 0.7381 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.3303, allocations: 4 kB / 0.7381 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.3315, allocations: 163.8 kB / 0.7383 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/0.3368, allocations: 1.484 MB / 0.7397 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.337, allocations: 28 kB / 0.7397 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/0.357, allocations: 7.755 MB / 0.7473 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.357, allocations: 4 kB / 0.7473 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.3705, allocations: 4.532 MB / 0.7517 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/0.3714, allocations: 234.5 kB / 0.752 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.3717, allocations: 27.94 kB / 0.752 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.3731, allocations: 83.92 kB / 0.7521 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/0.3738, allocations: 193.4 kB / 0.7522 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.3739, allocations: 35.98 kB / 0.7523 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001721/0.3756, allocations: 1.09 MB / 0.7533 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3756, allocations: 0 / 0.7533 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001803/0.3774, allocations: 0.6089 MB / 0.7539 GB, free: 6.219 MB / 0.5294 GB 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 (93): * Single equations (assignments): 92 * 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.0003896/0.3778, allocations: 155.5 kB / 0.7541 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008207/0.386, allocations: 2.748 MB / 0.7568 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.386, allocations: 0 / 0.7568 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004543/0.3906, allocations: 1.461 MB / 0.7582 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.392, allocations: 133.5 kB / 0.7583 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/0.399, allocations: 3.571 MB / 0.7618 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009772/0.4, allocations: 1.23 MB / 0.763 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/0.4008, allocations: 119.4 kB / 0.7631 GB, free: 12.72 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.4008, allocations: 0 / 0.7631 GB, free: 12.72 MB / 0.545 GB Notification: Performance of Templates: time 0.04603/0.4468, allocations: 26.95 MB / 0.7895 GB, free: 1.727 MB / 0.5606 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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.976416555931792] Failed to read output from testmodel.py, exit status != 0: 0.4564333490561694 0.47175608599999996 0.282908376 Calling exit ...