Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001271/0.001271, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.298/1.298, allocations: 177.1 MB / 199.4 MB, free: 8.434 MB / 190.1 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.001548/0.001548, allocations: 163.4 kB / 256 MB, free: 4.312 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.5512/0.5512, allocations: 80.36 MB / 392.7 MB, free: 29.63 MB / 334.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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5555 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.258e-05, allocations: 3.438 kB / 0.5555 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009553/0.009576, allocations: 11.82 MB / 0.5671 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.01663, allocations: 3.47 MB / 0.5704 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.01934, allocations: 27.06 kB / 0.5705 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.02106, allocations: 0.5581 MB / 0.571 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.02636, allocations: 1.618 MB / 0.5726 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.0299, allocations: 1.562 MB / 0.5741 GB, free: 232 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005701/0.0356, allocations: 3.799 MB / 0.5778 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.03715, allocations: 0.5869 MB / 0.5784 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.04184, allocations: 2.159 MB / 0.5805 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.0449, allocations: 1.586 MB / 0.5821 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007335/0.04563, allocations: 292 kB / 0.5823 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.04693, allocations: 451.8 kB / 0.5828 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000732/0.04766, allocations: 0.7933 MB / 0.5835 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.04911, allocations: 1.09 MB / 0.5846 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005099/0.05421, allocations: 4.146 MB / 0.5887 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.05422, allocations: 0 / 0.5887 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.05422, allocations: 0 / 0.5887 GB, free: 4.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.574e-05/0.05429, allocations: 0 / 0.5887 GB, free: 4.086 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02501/0.0793, allocations: 7.408 MB / 0.5959 GB, free: 12.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.07934, allocations: 11.97 kB / 0.5959 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.09531, allocations: 2.324 MB / 0.5982 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.09945, allocations: 1.824 MB / 0.6 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008469/0.1003, allocations: 0.8403 MB / 0.6008 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.1008, allocations: 216 kB / 0.601 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006799/0.1076, allocations: 3.097 MB / 0.604 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.1076, allocations: 0 / 0.604 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.1079, allocations: 84 kB / 0.6041 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.1079, allocations: 48 kB / 0.6041 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006446/0.1144, allocations: 2.838 MB / 0.6069 GB, free: 0.9805 MB / 462.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.01812/0.1325, allocations: 7.437 MB / 0.6142 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.1439, allocations: 3.59 MB / 0.6177 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004525/0.1484, allocations: 1.834 MB / 0.6195 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.1487, allocations: 37.98 kB / 0.6195 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005368/0.154, allocations: 2.298 MB / 0.6217 GB, free: 1.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=249): time 6.653e-06/0.154, allocations: 0 / 0.6217 GB, free: 1.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=249): time 0.1236/0.2777, allocations: 27.21 MB / 0.6483 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.2778, allocations: 180.2 kB / 0.6485 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003519/0.2813, allocations: 2.284 MB / 0.6507 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005693/0.2819, allocations: 77.69 kB / 0.6508 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.2829, allocations: 1.201 MB / 0.652 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.284, allocations: 0.91 MB / 0.6528 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.2851, allocations: 0.55 MB / 0.6534 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2853, allocations: 305.1 kB / 0.6537 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004722/0.29, allocations: 2.059 MB / 0.6557 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005313/0.2953, allocations: 2.433 MB / 0.6581 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06239/0.3577, allocations: 14.51 MB / 0.6722 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.3577, allocations: 4 kB / 0.6722 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.04467/0.4024, allocations: 12.54 MB / 0.6845 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.4025, allocations: 118.8 kB / 0.6846 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4025, allocations: 8 kB / 0.6846 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01953/0.422, allocations: 5.265 MB / 0.6897 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.4254, allocations: 0.5695 MB / 0.6903 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06404/0.4894, allocations: 22.5 MB / 0.7123 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/0.4938, allocations: 493.9 kB / 0.7127 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/0.4942, allocations: 116 kB / 0.7129 GB, free: 3.426 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001305/0.4955, allocations: 0.5299 MB / 0.7134 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/0.4961, allocations: 310 kB / 0.7137 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04316/0.5393, allocations: 11.9 MB / 0.7253 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/0.5393, allocations: 24 kB / 0.7253 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/0.5394, allocations: 20 kB / 0.7253 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.953e-05/0.5394, allocations: 15.89 kB / 0.7253 GB, free: 6.496 MB / 0.5762 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.276/0.8154, allocations: 14.25 MB / 0.7393 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.8155, allocations: 6.203 kB / 0.7393 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.817, allocations: 246.7 kB / 0.7395 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01787/0.8348, allocations: 5.293 MB / 0.7447 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005252/0.8354, allocations: 53.84 kB / 0.7447 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05486/0.8902, allocations: 23.98 MB / 0.7681 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8902, allocations: 7.734 kB / 0.7681 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04197/0.9322, allocations: 14.35 MB / 0.7822 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007248/0.9329, allocations: 348.8 kB / 0.7825 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005166/0.9334, allocations: 44 kB / 0.7825 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/0.9364, allocations: 303.6 kB / 0.7828 GB, free: 131 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001965/0.9384, allocations: 0.5956 MB / 0.7834 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/0.9386, allocations: 74.83 kB / 0.7835 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001769/0.9404, allocations: 1.514 MB / 0.785 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9404, allocations: 0 / 0.785 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002607/0.943, allocations: 1.186 MB / 0.7861 GB, free: 127.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/0.9434, allocations: 173.8 kB / 0.7863 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01633/0.9597, allocations: 6.485 MB / 0.7926 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.9597, allocations: 0 / 0.7926 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01245/0.9721, allocations: 4.292 MB / 0.7968 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.9741, allocations: 263.9 kB / 0.7971 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.9816, allocations: 5.375 MB / 0.8023 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.9824, allocations: 1.265 MB / 0.8035 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008312/0.9833, allocations: 259 kB / 0.8038 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/0.9838, allocations: 172.5 kB / 0.804 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.9838, allocations: 0 / 0.804 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.07257/1.056, allocations: 69.6 MB / 0.8719 GB, free: 39.8 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.023329082876444] Failed to read output from testmodel.py, exit status != 0: 1.0641815923154354 1.073158492 1.016762904 Calling exit ...