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.001516/0.001516, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.365/1.365, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.00144/0.00144, allocations: 199.9 kB / 310 MB, free: 3.137 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.5726/0.5726, allocations: 107.3 MB / 473.7 MB, free: 29.92 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.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: 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.002443/0.002443, allocations: 91.14 kB / 0.6345 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1209, allocations: 80.17 MB / 0.7128 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01308/0.134, allocations: 11.81 MB / 0.7243 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007289/0.1413, allocations: 3.476 MB / 0.7277 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.1428, allocations: 31.94 kB / 0.7278 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1442, allocations: 0.5576 MB / 0.7283 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.1484, allocations: 1.582 MB / 0.7298 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.1517, allocations: 1.519 MB / 0.7313 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004818/0.1565, allocations: 3.827 MB / 0.7351 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.1576, allocations: 0.5776 MB / 0.7356 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.16, allocations: 1.61 MB / 0.7372 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.1622, allocations: 1.831 MB / 0.739 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004724/0.1627, allocations: 292 kB / 0.7393 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.1636, allocations: 459.9 kB / 0.7397 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.1642, allocations: 0.7779 MB / 0.7405 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.1655, allocations: 1.348 MB / 0.7418 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004464/0.17, allocations: 4.1 MB / 0.7458 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.17, allocations: 0 / 0.7458 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.17, allocations: 0 / 0.7458 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.538e-05/0.1701, allocations: 0 / 0.7458 GB, free: 5.035 MB / 0.5137 GB 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.02424/0.1943, allocations: 7.448 MB / 0.7531 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1944, allocations: 8.031 kB / 0.7531 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/0.2091, allocations: 2.32 MB / 0.7553 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/0.2135, allocations: 1.832 MB / 0.7571 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008826/0.2144, allocations: 0.8295 MB / 0.7579 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005976/0.215, allocations: 216 kB / 0.7581 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006455/0.2214, allocations: 3.101 MB / 0.7612 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.2215, allocations: 0 / 0.7612 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.2217, allocations: 87.94 kB / 0.7613 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.2217, allocations: 52 kB / 0.7613 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00627/0.228, allocations: 2.83 MB / 0.7641 GB, free: 1.887 MB / 0.5294 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.0182/0.2462, allocations: 7.443 MB / 0.7713 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.257, allocations: 3.59 MB / 0.7748 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/0.2613, allocations: 1.834 MB / 0.7766 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/0.2617, allocations: 37.98 kB / 0.7767 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005421/0.2671, allocations: 2.294 MB / 0.7789 GB, free: 2.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=249): time 6.542e-06/0.2671, allocations: 0 / 0.7789 GB, free: 2.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=249): time 0.1168/0.3839, allocations: 27.21 MB / 0.8055 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.384, allocations: 188.2 kB / 0.8057 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.3878, allocations: 2.284 MB / 0.8079 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000556/0.3884, allocations: 73.7 kB / 0.808 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3895, allocations: 1.201 MB / 0.8091 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.3909, allocations: 0.914 MB / 0.81 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.3925, allocations: 0.554 MB / 0.8106 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3926, allocations: 301.1 kB / 0.8109 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2786/0.6713, allocations: 2.062 MB / 0.8129 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005129/0.6764, allocations: 2.426 MB / 0.8152 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05641/0.7328, allocations: 14.51 MB / 0.8294 GB, free: 82.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.7328, allocations: 5.656 kB / 0.8294 GB, free: 82.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.03769/0.7705, allocations: 12.55 MB / 0.8417 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/0.7706, allocations: 114.3 kB / 0.8418 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.7706, allocations: 7.812 kB / 0.8418 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/0.7865, allocations: 5.266 MB / 0.8469 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.7895, allocations: 0.5734 MB / 0.8475 GB, free: 76.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05327/0.8428, allocations: 22.49 MB / 0.8695 GB, free: 54.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004193/0.8469, allocations: 488.7 kB / 0.8699 GB, free: 53.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/0.8475, allocations: 116 kB / 0.87 GB, free: 53.59 MB / 0.5762 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.001581/0.8491, allocations: 0.5466 MB / 0.8706 GB, free: 53.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007945/0.8499, allocations: 306 kB / 0.8709 GB, free: 52.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03595/0.8859, allocations: 11.89 MB / 0.8825 GB, free: 40.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.8859, allocations: 24 kB / 0.8825 GB, free: 40.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-05/0.8859, allocations: 23.72 kB / 0.8825 GB, free: 40.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.825e-05/0.886, allocations: 15.94 kB / 0.8825 GB, free: 40.68 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.04091/0.9269, allocations: 14.27 MB / 0.8965 GB, free: 26.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.9269, allocations: 0 / 0.8965 GB, free: 26.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.9284, allocations: 247.6 kB / 0.8967 GB, free: 26.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01608/0.9445, allocations: 5.292 MB / 0.9019 GB, free: 20.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006594/0.9451, allocations: 47.98 kB / 0.9019 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05427/0.9994, allocations: 23.99 MB / 0.9253 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.9994, allocations: 2.188 kB / 0.9253 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04747/1.047, allocations: 14.35 MB / 0.9394 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.048, allocations: 345.2 kB / 0.9397 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.049, allocations: 47.98 kB / 0.9397 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/1.053, allocations: 307.6 kB / 0.94 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002243/1.055, allocations: 0.5956 MB / 0.9406 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003786/1.055, allocations: 74.14 kB / 0.9407 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002829/1.058, allocations: 1.507 MB / 0.9421 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 0.9421 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003886/1.062, allocations: 1.185 MB / 0.9433 GB, free: 10.04 MB / 0.6075 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.0005658/1.062, allocations: 184.9 kB / 0.9435 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01932/1.082, allocations: 6.488 MB / 0.9498 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.082, allocations: 1.75 kB / 0.9498 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01424/1.096, allocations: 4.313 MB / 0.954 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.099, allocations: 262.6 kB / 0.9543 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.111, allocations: 5.66 MB / 0.9598 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.112, allocations: 1.257 MB / 0.961 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.113, allocations: 191.4 kB / 0.9612 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/1.113, allocations: 0 / 0.9612 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of Templates: time 0.08931/1.203, allocations: 66.19 MB / 1.026 GB, free: 5.191 MB / 0.6856 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: 11.569044107105583] Failed to read output from testmodel.py, exit status != 0: 1.2110345279797912 1.225378798 1.052423927 Calling exit ...