Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 105.7 kB / 19.59 MB, free: 2.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 225.6 MB / 248.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 197.7 kB / 303.6 MB, free: 8.672 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.3914/0.3914, allocations: 79.71 MB / 438.6 MB, free: 5.234 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 91.84 kB / 0.5843 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1135, allocations: 72.13 MB / 0.6548 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007052/0.1205, allocations: 6.676 MB / 0.6613 GB, free: 9.074 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.1237, allocations: 2.009 MB / 0.6633 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.124, allocations: 11.94 kB / 0.6633 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.1245, allocations: 249.9 kB / 0.6635 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.1262, allocations: 0.8607 MB / 0.6643 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1273, allocations: 0.6444 MB / 0.665 GB, free: 5.301 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.1289, allocations: 1.675 MB / 0.6666 GB, free: 3.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.1292, allocations: 230.9 kB / 0.6668 GB, free: 3.379 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.1299, allocations: 0.6964 MB / 0.6675 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009082/0.1308, allocations: 0.8674 MB / 0.6684 GB, free: 1.809 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.131, allocations: 131.9 kB / 0.6685 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.1314, allocations: 267.9 kB / 0.6687 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.1317, allocations: 342.5 kB / 0.6691 GB, free: 1.082 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.1322, allocations: 0.6874 MB / 0.6697 GB, free: 400 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.1338, allocations: 1.723 MB / 0.6714 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1338, allocations: 0 / 0.6714 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1338, allocations: 0 / 0.6714 GB, free: 14.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1339, allocations: 7.938 kB / 0.6714 GB, free: 14.65 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008368/0.1422, allocations: 2.861 MB / 0.6742 GB, free: 11.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1423, allocations: 8.031 kB / 0.6742 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.147, allocations: 0.7796 MB / 0.675 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.1484, allocations: 0.8584 MB / 0.6758 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.1487, allocations: 260.2 kB / 0.6761 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.1488, allocations: 87.95 kB / 0.6762 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.1509, allocations: 1.102 MB / 0.6772 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1509, allocations: 3.938 kB / 0.6772 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.151, allocations: 31.98 kB / 0.6773 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.151, allocations: 20 kB / 0.6773 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.1531, allocations: 0.9955 MB / 0.6783 GB, free: 7.504 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.006237/0.1593, allocations: 3.798 MB / 0.682 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007275/0.1666, allocations: 2.007 MB / 0.6839 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.1679, allocations: 0.637 MB / 0.6846 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.168, allocations: 13 kB / 0.6846 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.1696, allocations: 0.8256 MB / 0.6854 GB, free: 8 kB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.084e-06/0.1696, allocations: 0 / 0.6854 GB, free: 8 kB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.0286/0.1982, allocations: 7.045 MB / 0.6923 GB, free: 8.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1983, allocations: 115.8 kB / 0.6924 GB, free: 8.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.1997, allocations: 1.127 MB / 0.6935 GB, free: 7.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1998, allocations: 45.7 kB / 0.6935 GB, free: 7.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.2002, allocations: 0.5054 MB / 0.694 GB, free: 7.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.2006, allocations: 384.8 kB / 0.6944 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004982/0.2011, allocations: 291.4 kB / 0.6946 GB, free: 6.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2012, allocations: 305.1 kB / 0.6949 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.2028, allocations: 0.7808 MB / 0.6957 GB, free: 5.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.2046, allocations: 0.9576 MB / 0.6966 GB, free: 4.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2447/0.4493, allocations: 5.779 MB / 0.7023 GB, free: 40.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4493, allocations: 0 / 0.7023 GB, free: 40.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0136/0.4629, allocations: 4.434 MB / 0.7066 GB, free: 40.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.463, allocations: 64.08 kB / 0.7067 GB, free: 40.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.463, allocations: 2.469 kB / 0.7067 GB, free: 40.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.4689, allocations: 1.636 MB / 0.7083 GB, free: 40.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.4702, allocations: 287.8 kB / 0.7085 GB, free: 40.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.4891, allocations: 8.514 MB / 0.7169 GB, free: 36.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.4907, allocations: 208.8 kB / 0.7171 GB, free: 36.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4908, allocations: 57.34 kB / 0.7171 GB, free: 36.58 MB / 494.1 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004687/0.4912, allocations: 311.9 kB / 0.7174 GB, free: 36.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4914, allocations: 130.8 kB / 0.7175 GB, free: 36.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.5031, allocations: 3.878 MB / 0.7213 GB, free: 35.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.5031, allocations: 10.19 kB / 0.7213 GB, free: 35.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5031, allocations: 6.625 kB / 0.7213 GB, free: 35.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5031, allocations: 6.422 kB / 0.7213 GB, free: 35.32 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.0126/0.5157, allocations: 5.458 MB / 0.7267 GB, free: 33.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5157, allocations: 1.531 kB / 0.7267 GB, free: 33.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.5162, allocations: 104 kB / 0.7268 GB, free: 33.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004675/0.5209, allocations: 1.58 MB / 0.7283 GB, free: 32.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.521, allocations: 31.86 kB / 0.7283 GB, free: 32.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/0.5372, allocations: 9.464 MB / 0.7376 GB, free: 26.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5372, allocations: 6.922 kB / 0.7376 GB, free: 26.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/0.5493, allocations: 4.752 MB / 0.7422 GB, free: 21.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.5494, allocations: 153.6 kB / 0.7424 GB, free: 21.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.5496, allocations: 20 kB / 0.7424 GB, free: 21.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5506, allocations: 111.8 kB / 0.7425 GB, free: 21.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/0.551, allocations: 208.6 kB / 0.7427 GB, free: 21.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.5511, allocations: 27.98 kB / 0.7427 GB, free: 21.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007848/0.5519, allocations: 0.7553 MB / 0.7435 GB, free: 20.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5519, allocations: 0.6562 kB / 0.7435 GB, free: 20.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00106/0.5529, allocations: 494.6 kB / 0.7439 GB, free: 19.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.5531, allocations: 140.8 kB / 0.7441 GB, free: 19.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00522/0.5584, allocations: 2.446 MB / 0.7465 GB, free: 17.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5584, allocations: 0 / 0.7465 GB, free: 17.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003396/0.5618, allocations: 1.533 MB / 0.748 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.5624, allocations: 113.3 kB / 0.7481 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.5652, allocations: 2.442 MB / 0.7505 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.5655, allocations: 1.128 MB / 0.7516 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.5658, allocations: 87.41 kB / 0.7516 GB, free: 11.93 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5658, allocations: 0 / 0.7516 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Templates: time 0.02208/0.5879, allocations: 24.2 MB / 0.7753 GB, free: 3.738 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.970319006999489] Failed to read output from testmodel.py, exit status != 0: 0.5944714429933811 0.60769341 0.471183722 Calling exit ...