Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.529/1.529, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001619/0.001619, allocations: 212.3 kB / 309.2 MB, free: 3.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.658/0.658, allocations: 107.3 MB / 473 MB, free: 29.87 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [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.002585/0.002585, allocations: 89.12 kB / 0.6338 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.163, allocations: 80.17 MB / 0.7121 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02237/0.1854, allocations: 18.58 MB / 0.7303 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.1985, allocations: 4.857 MB / 0.735 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004255/0.2028, allocations: 44 kB / 0.735 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.2063, allocations: 0.8828 MB / 0.7359 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009277/0.2155, allocations: 2.291 MB / 0.7381 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006813/0.2223, allocations: 2.069 MB / 0.7402 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.2332, allocations: 5.795 MB / 0.7458 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.2359, allocations: 0.8649 MB / 0.7467 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00546/0.2414, allocations: 2.427 MB / 0.749 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.2465, allocations: 2.697 MB / 0.7517 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.2486, allocations: 444 kB / 0.7521 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.2514, allocations: 0.5935 MB / 0.7527 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.2537, allocations: 1.171 MB / 0.7538 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004894/0.2586, allocations: 2.136 MB / 0.7559 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.2725, allocations: 6.367 MB / 0.7621 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.2725, allocations: 0 / 0.7621 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.697e-06/0.2726, allocations: 0 / 0.7621 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004197/0.273, allocations: 0 / 0.7621 GB, free: 3.492 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04019/0.3132, allocations: 9.966 MB / 0.7719 GB, free: 9.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3132, allocations: 8.031 kB / 0.7719 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/0.3416, allocations: 4.055 MB / 0.7758 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007456/0.3491, allocations: 2.602 MB / 0.7784 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001369/0.3504, allocations: 1.036 MB / 0.7794 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.352, allocations: 348 kB / 0.7797 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.365, allocations: 4.76 MB / 0.7844 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.172e-05/0.3651, allocations: 3.938 kB / 0.7844 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004452/0.3655, allocations: 148 kB / 0.7845 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/0.3656, allocations: 84 kB / 0.7846 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.3775, allocations: 4.253 MB / 0.7887 GB, free: 7.848 MB / 0.5606 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 preOpt removeSimpleEquations (simulation): time 0.04257/0.4201, allocations: 13.05 MB / 0.8015 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.4347, allocations: 4.37 MB / 0.8057 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0072/0.4419, allocations: 2.511 MB / 0.8082 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007226/0.4426, allocations: 70.91 kB / 0.8083 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009032/0.4516, allocations: 3.214 MB / 0.8114 GB, free: 136 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 9.418e-06/0.4516, allocations: 0 / 0.8114 GB, free: 136 kB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.6713/1.123, allocations: 67.54 MB / 0.8774 GB, free: 43.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/1.123, allocations: 141.8 kB / 0.8775 GB, free: 43.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/1.128, allocations: 3.261 MB / 0.8807 GB, free: 40.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001179/1.13, allocations: 89.7 kB / 0.8808 GB, free: 40.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/1.131, allocations: 2.005 MB / 0.8827 GB, free: 38.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002619/1.134, allocations: 1.383 MB / 0.8841 GB, free: 37.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003547/1.137, allocations: 0.6705 MB / 0.8847 GB, free: 36.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/1.137, allocations: 305.1 kB / 0.885 GB, free: 36.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005815/1.143, allocations: 2.647 MB / 0.8876 GB, free: 33.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/1.149, allocations: 3.267 MB / 0.8908 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06974/1.219, allocations: 19.19 MB / 0.9095 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-05/1.219, allocations: 4 kB / 0.9095 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.06081/1.28, allocations: 17.21 MB / 0.9263 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/1.28, allocations: 63.41 kB / 0.9264 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.966e-05/1.28, allocations: 12 kB / 0.9264 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02839/1.308, allocations: 7.153 MB / 0.9334 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/1.313, allocations: 0.6787 MB / 0.9341 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1043/1.417, allocations: 32.31 MB / 0.9656 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007066/1.424, allocations: 0.6208 MB / 0.9662 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.425, allocations: 156 kB / 0.9664 GB, free: 416 kB / 0.6231 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (400): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002831/1.428, allocations: 0.6662 MB / 0.967 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.43, allocations: 473 kB / 0.9675 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05939/1.489, allocations: 16.78 MB / 0.9839 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-05/1.489, allocations: 36 kB / 0.9839 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.838e-05/1.489, allocations: 28 kB / 0.9839 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/1.489, allocations: 24.94 kB / 0.9839 GB, free: 14.34 MB / 0.6544 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.06835/1.558, allocations: 20.05 MB / 1.004 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.558, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/1.56, allocations: 391.5 kB / 1.004 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02767/1.588, allocations: 7.372 MB / 1.011 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/1.589, allocations: 67.98 kB / 1.011 GB, free: 2.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09037/1.68, allocations: 30.68 MB / 1.041 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.68, allocations: 0 / 1.041 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06826/1.748, allocations: 20.21 MB / 1.061 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.75, allocations: 0.5016 MB / 1.061 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/1.751, allocations: 69.06 kB / 1.061 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005154/1.756, allocations: 375.5 kB / 1.062 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003263/1.76, allocations: 0.8192 MB / 1.063 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004825/1.76, allocations: 95.92 kB / 1.063 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003614/1.764, allocations: 2.121 MB / 1.065 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.11e-07/1.764, allocations: 0 / 1.065 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006426/1.77, allocations: 1.818 MB / 1.067 GB, free: 9.637 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007415/1.771, allocations: 198.8 kB / 1.067 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02807/1.799, allocations: 8.871 MB / 1.075 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.799, allocations: 0 / 1.075 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02161/1.821, allocations: 5.936 MB / 1.081 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.824, allocations: 383 kB / 1.082 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.841, allocations: 8.14 MB / 1.089 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/1.844, allocations: 1.939 MB / 1.091 GB, free: 0 / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001747/1.845, allocations: 375.1 kB / 1.092 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008955/1.846, allocations: 247.4 kB / 1.092 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of SimCode: time 1.634e-06/1.846, allocations: 4 kB / 1.092 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of Templates: time 0.4857/2.332, allocations: 103.1 MB / 1.193 GB, free: 205.2 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.46438667923212] Failed to read output from testmodel.py, exit status != 0: 2.3410326689481735 2.351197387 2.076068823 Calling exit ...