Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.001435/0.001435, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.468/1.468, allocations: 225.6 MB / 247.7 MB, free: 13.28 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.001728/0.001728, allocations: 199.1 kB / 303.1 MB, free: 8.668 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.4653/0.4653, allocations: 79.72 MB / 438.1 MB, free: 5.227 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 84.2 kB / 0.584 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1759, allocations: 72.13 MB / 0.6545 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01654/0.1925, allocations: 13.9 MB / 0.668 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.2023, allocations: 3.527 MB / 0.6715 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.2059, allocations: 31.94 kB / 0.6715 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.2081, allocations: 0.5654 MB / 0.6721 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006533/0.2146, allocations: 1.601 MB / 0.6736 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004669/0.2193, allocations: 1.527 MB / 0.6751 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007698/0.227, allocations: 3.87 MB / 0.6789 GB, free: 6.625 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.2287, allocations: 0.6128 MB / 0.6795 GB, free: 5.965 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.2321, allocations: 1.61 MB / 0.6811 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.2359, allocations: 2.042 MB / 0.6831 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.2375, allocations: 296 kB / 0.6833 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.2395, allocations: 447.8 kB / 0.6838 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.241, allocations: 0.7857 MB / 0.6845 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.2435, allocations: 1.654 MB / 0.6861 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005812/0.2493, allocations: 4.08 MB / 0.6901 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2493, allocations: 0 / 0.6901 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2493, allocations: 0 / 0.6901 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001294/0.2495, allocations: 0 / 0.6901 GB, free: 11.02 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02762/0.2771, allocations: 7.445 MB / 0.6974 GB, free: 3.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.2771, allocations: 8.031 kB / 0.6974 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.2932, allocations: 2.3 MB / 0.6997 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4225/0.7158, allocations: 1.841 MB / 0.7015 GB, free: 39.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008722/0.7166, allocations: 0.7256 MB / 0.7022 GB, free: 39.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007596/0.7174, allocations: 222.1 kB / 0.7024 GB, free: 39.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007776/0.7252, allocations: 3.058 MB / 0.7054 GB, free: 38.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.7252, allocations: 0 / 0.7054 GB, free: 38.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.7255, allocations: 89.77 kB / 0.7054 GB, free: 38.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.7256, allocations: 49.28 kB / 0.7055 GB, free: 38.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007084/0.7326, allocations: 2.802 MB / 0.7082 GB, free: 37.8 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.02178/0.7544, allocations: 9.816 MB / 0.7178 GB, free: 32.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.7656, allocations: 3.571 MB / 0.7213 GB, free: 31.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004735/0.7704, allocations: 1.789 MB / 0.7231 GB, free: 31.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.7707, allocations: 39.08 kB / 0.7231 GB, free: 31.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005082/0.7758, allocations: 2.261 MB / 0.7253 GB, free: 30.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 4.177e-06/0.7758, allocations: 0 / 0.7253 GB, free: 30.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.122/0.8978, allocations: 28.5 MB / 0.7531 GB, free: 8.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.8978, allocations: 188.2 kB / 0.7533 GB, free: 8.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.9013, allocations: 2.331 MB / 0.7556 GB, free: 6.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009474/0.9023, allocations: 73.69 kB / 0.7557 GB, free: 6.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.903, allocations: 1.192 MB / 0.7568 GB, free: 5.105 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.9045, allocations: 0.9187 MB / 0.7577 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.9056, allocations: 0.5701 MB / 0.7583 GB, free: 3.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.9057, allocations: 313.1 kB / 0.7586 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004175/0.9099, allocations: 1.986 MB / 0.7605 GB, free: 1.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/0.9147, allocations: 2.356 MB / 0.7628 GB, free: 15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0625/0.9772, allocations: 14.36 MB / 0.7768 GB, free: 444 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.9772, allocations: 0 / 0.7768 GB, free: 444 kB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04655/1.024, allocations: 12.54 MB / 0.7891 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.024, allocations: 122.7 kB / 0.7892 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.024, allocations: 8 kB / 0.7892 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/1.045, allocations: 5.429 MB / 0.7945 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/1.049, allocations: 0.5812 MB / 0.7951 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06852/1.117, allocations: 23.57 MB / 0.8181 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006131/1.123, allocations: 0.4937 MB / 0.8186 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005206/1.124, allocations: 123.9 kB / 0.8187 GB, free: 5.426 MB / 0.545 GB Warning: Assuming fixed start value for the following 6 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.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 (336): * Single equations (assignments): 331 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001773/1.126, allocations: 0.5302 MB / 0.8192 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009281/1.126, allocations: 321.9 kB / 0.8195 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04378/1.17, allocations: 11.87 MB / 0.8311 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/1.17, allocations: 24 kB / 0.8311 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-05/1.17, allocations: 20 kB / 0.8312 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-05/1.17, allocations: 15.95 kB / 0.8312 GB, free: 8.535 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.0506/1.221, allocations: 15.46 MB / 0.8463 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/1.221, allocations: 8 kB / 0.8463 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.223, allocations: 251.6 kB / 0.8465 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02011/1.243, allocations: 5.273 MB / 0.8517 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009657/1.244, allocations: 51.98 kB / 0.8517 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07172/1.316, allocations: 24.66 MB / 0.8758 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.316, allocations: 1.156 kB / 0.8758 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05268/1.368, allocations: 14.28 MB / 0.8897 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.37, allocations: 349.5 kB / 0.8901 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.371, allocations: 51.98 kB / 0.8901 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004351/1.376, allocations: 299.6 kB / 0.8904 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003037/1.379, allocations: 0.6073 MB / 0.891 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004274/1.379, allocations: 66.23 kB / 0.8911 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003084/1.382, allocations: 1.547 MB / 0.8926 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/1.382, allocations: 0 / 0.8926 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004997/1.387, allocations: 1.202 MB / 0.8938 GB, free: 7.793 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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 {(66,22,7.7%)} * 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.0005382/1.388, allocations: 177.9 kB / 0.8939 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02069/1.408, allocations: 6.491 MB / 0.9003 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.408, allocations: 0 / 0.9003 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01495/1.423, allocations: 4.265 MB / 0.9044 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.426, allocations: 268.9 kB / 0.9047 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.437, allocations: 5.597 MB / 0.9101 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/1.439, allocations: 1.815 MB / 0.9119 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001303/1.44, allocations: 266.8 kB / 0.9122 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/1.441, allocations: 179.4 kB / 0.9123 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of SimCode: time 1.132e-06/1.441, allocations: 0 / 0.9123 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of Templates: time 0.4963/1.937, allocations: 69.61 MB / 0.9803 GB, free: 231.9 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.545331154949963] Failed to read output from testmodel.py, exit status != 0: 1.947334655560553 1.958890398 1.706983111 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fedeab217b0>