Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.00132/0.00132, allocations: 110 kB / 18.93 MB, free: 2.945 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.538/1.538, allocations: 225.6 MB / 247.7 MB, free: 13.44 MB / 206.1 MB " [Timeout remaining time 178] 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.001726/0.001726, allocations: 191 kB / 303.1 MB, free: 8.676 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.4972/0.4972, allocations: 79.71 MB / 438.1 MB, free: 5.34 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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 83.86 kB / 0.584 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1653, allocations: 72.12 MB / 0.6545 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01548/0.1808, allocations: 13.83 MB / 0.668 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009772/0.1906, allocations: 3.519 MB / 0.6714 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.1939, allocations: 28 kB / 0.6714 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.1961, allocations: 0.5693 MB / 0.672 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006232/0.2023, allocations: 1.592 MB / 0.6735 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.2065, allocations: 1.532 MB / 0.675 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007361/0.2139, allocations: 3.847 MB / 0.6788 GB, free: 6.727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.2153, allocations: 0.6089 MB / 0.6794 GB, free: 6.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.2185, allocations: 1.599 MB / 0.681 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.2218, allocations: 2.018 MB / 0.6829 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009873/0.2228, allocations: 292 kB / 0.6832 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.2241, allocations: 443.8 kB / 0.6836 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007826/0.2249, allocations: 0.7701 MB / 0.6844 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.2269, allocations: 1.654 MB / 0.686 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005972/0.2329, allocations: 4.053 MB / 0.6899 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.2329, allocations: 0 / 0.6899 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2329, allocations: 0 / 0.6899 GB, free: 11.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.233, allocations: 0 / 0.6899 GB, free: 11.21 MB / 494.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.02671/0.2597, allocations: 7.413 MB / 0.6972 GB, free: 3.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.2598, allocations: 12.03 kB / 0.6972 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.2751, allocations: 2.3 MB / 0.6994 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3905/0.6656, allocations: 1.817 MB / 0.7012 GB, free: 40.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009247/0.6666, allocations: 0.7267 MB / 0.7019 GB, free: 39.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007736/0.6673, allocations: 215.7 kB / 0.7021 GB, free: 39.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008188/0.6755, allocations: 3.047 MB / 0.7051 GB, free: 39.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.6756, allocations: 1.969 kB / 0.7051 GB, free: 39.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.6758, allocations: 85.52 kB / 0.7052 GB, free: 38.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.969e-05/0.6759, allocations: 49.38 kB / 0.7052 GB, free: 38.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008332/0.6842, allocations: 2.798 MB / 0.708 GB, free: 38.04 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 preOpt removeSimpleEquations (simulation): time 0.02513/0.7094, allocations: 9.776 MB / 0.7175 GB, free: 33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.7221, allocations: 3.549 MB / 0.721 GB, free: 32.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005407/0.7275, allocations: 1.783 MB / 0.7227 GB, free: 31.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/0.7281, allocations: 47.55 kB / 0.7228 GB, free: 31.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0067/0.7348, allocations: 2.245 MB / 0.725 GB, free: 30.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 2.017e-05/0.7348, allocations: 0 / 0.725 GB, free: 30.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1236/0.8584, allocations: 27.12 MB / 0.7514 GB, free: 10.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.8585, allocations: 180.2 kB / 0.7516 GB, free: 10.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/0.8636, allocations: 2.313 MB / 0.7539 GB, free: 8.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00111/0.8647, allocations: 77.64 kB / 0.754 GB, free: 8.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.8658, allocations: 1.192 MB / 0.7551 GB, free: 6.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001935/0.8677, allocations: 0.9259 MB / 0.756 GB, free: 6.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002982/0.8707, allocations: 0.5621 MB / 0.7566 GB, free: 5.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.8708, allocations: 305.1 kB / 0.7569 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00493/0.8757, allocations: 1.966 MB / 0.7588 GB, free: 3.355 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/0.8806, allocations: 2.351 MB / 0.7611 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06397/0.9446, allocations: 14.21 MB / 0.775 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.9446, allocations: 4 kB / 0.775 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04965/0.9943, allocations: 12.49 MB / 0.7872 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.9944, allocations: 122.8 kB / 0.7873 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.9944, allocations: 4 kB / 0.7873 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02161/1.016, allocations: 5.257 MB / 0.7924 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/1.02, allocations: 0.5812 MB / 0.793 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07231/1.092, allocations: 23.11 MB / 0.8155 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00607/1.098, allocations: 0.4954 MB / 0.816 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.1, allocations: 120 kB / 0.8161 GB, free: 8.184 MB / 0.545 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 (334): * Single equations (assignments): 329 * 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.003601/1.103, allocations: 0.5284 MB / 0.8167 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/1.105, allocations: 321.9 kB / 0.817 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05264/1.158, allocations: 11.84 MB / 0.8285 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.036e-05/1.158, allocations: 24 kB / 0.8286 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001383/1.158, allocations: 20 kB / 0.8286 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/1.158, allocations: 11.95 kB / 0.8286 GB, free: 11.34 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 postOpt removeSimpleEquations (simulation): time 0.09699/1.255, allocations: 15.45 MB / 0.8437 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.392e-05/1.255, allocations: 0 / 0.8437 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/1.259, allocations: 251.6 kB / 0.8439 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0371/1.296, allocations: 5.3 MB / 0.8491 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/1.297, allocations: 47.98 kB / 0.8491 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0818/1.378, allocations: 24.66 MB / 0.8732 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.378, allocations: 4 kB / 0.8732 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05223/1.431, allocations: 14.24 MB / 0.8871 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.432, allocations: 364.3 kB / 0.8875 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009948/1.433, allocations: 51.94 kB / 0.8875 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/1.437, allocations: 299.6 kB / 0.8878 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002409/1.439, allocations: 0.5995 MB / 0.8884 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.439, allocations: 67.98 kB / 0.8885 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002766/1.442, allocations: 1.531 MB / 0.89 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/1.442, allocations: 0 / 0.89 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004494/1.446, allocations: 1.186 MB / 0.8911 GB, free: 10.68 MB / 0.6231 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.0005543/1.447, allocations: 171 kB / 0.8913 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02185/1.469, allocations: 6.357 MB / 0.8975 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.469, allocations: 0 / 0.8975 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01652/1.485, allocations: 4.26 MB / 0.9016 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.488, allocations: 273.9 kB / 0.9019 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.501, allocations: 5.536 MB / 0.9073 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/1.502, allocations: 1.815 MB / 0.9091 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001505/1.504, allocations: 266.6 kB / 0.9093 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/1.505, allocations: 179.3 kB / 0.9095 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/1.505, allocations: 0 / 0.9095 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of Templates: time 0.5093/2.014, allocations: 67.05 MB / 0.975 GB, free: 230.8 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.625108123756945] Failed to read output from testmodel.py, exit status != 0: 2.0230798106640577 2.0366196089999997 1.800784402 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f020e4457b0>