Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.001237/0.001237, 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.376/1.376, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001553/0.001553, allocations: 212.3 kB / 310 MB, free: 3.121 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.5803/0.5803, allocations: 107.3 MB / 473.7 MB, free: 29.62 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.002395/0.002395, allocations: 85.81 kB / 0.6345 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1217, allocations: 80.17 MB / 0.7128 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01331/0.135, allocations: 11.86 MB / 0.7244 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007456/0.1425, allocations: 3.481 MB / 0.7278 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1441, allocations: 28 kB / 0.7278 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.1454, allocations: 0.5653 MB / 0.7284 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.1495, allocations: 1.59 MB / 0.7299 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.153, allocations: 1.519 MB / 0.7314 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005186/0.1582, allocations: 3.87 MB / 0.7352 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.1593, allocations: 0.5816 MB / 0.7357 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.1616, allocations: 1.61 MB / 0.7373 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.1639, allocations: 1.854 MB / 0.7391 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005344/0.1645, allocations: 296 kB / 0.7394 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.1654, allocations: 455.9 kB / 0.7398 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007055/0.1661, allocations: 0.7896 MB / 0.7406 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.1675, allocations: 1.36 MB / 0.7419 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.1725, allocations: 4.115 MB / 0.746 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1725, allocations: 0 / 0.746 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.435e-06/0.1725, allocations: 0 / 0.746 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001058/0.1726, allocations: 4 kB / 0.746 GB, free: 4.859 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02395/0.1965, allocations: 7.487 MB / 0.7533 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1966, allocations: 8.031 kB / 0.7533 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.2115, allocations: 2.327 MB / 0.7556 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003966/0.2154, allocations: 1.836 MB / 0.7573 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008395/0.2163, allocations: 0.8334 MB / 0.7582 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.2168, allocations: 220 kB / 0.7584 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006492/0.2233, allocations: 3.105 MB / 0.7614 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.2233, allocations: 0 / 0.7614 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.2235, allocations: 95.91 kB / 0.7615 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.2236, allocations: 52 kB / 0.7615 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006029/0.2296, allocations: 2.834 MB / 0.7643 GB, free: 1.637 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.01742/0.247, allocations: 7.459 MB / 0.7716 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.2578, allocations: 3.61 MB / 0.7751 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004131/0.2619, allocations: 1.838 MB / 0.7769 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.2622, allocations: 37.98 kB / 0.777 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004764/0.2669, allocations: 2.306 MB / 0.7792 GB, free: 2.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=250): time 4.609e-06/0.2669, allocations: 3.938 kB / 0.7792 GB, free: 2.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=250): time 0.1223/0.3892, allocations: 28.61 MB / 0.8071 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.3893, allocations: 184.2 kB / 0.8073 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.393, allocations: 2.296 MB / 0.8096 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005836/0.3935, allocations: 69.7 kB / 0.8096 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.3946, allocations: 1.197 MB / 0.8108 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.3958, allocations: 0.9218 MB / 0.8117 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.3969, allocations: 0.5581 MB / 0.8122 GB, free: 132 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2582/0.6551, allocations: 301.1 kB / 0.8125 GB, free: 86.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004902/0.66, allocations: 2.071 MB / 0.8146 GB, free: 86.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/0.6647, allocations: 2.446 MB / 0.8169 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05409/0.7187, allocations: 14.65 MB / 0.8312 GB, free: 82.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.7188, allocations: 2.5 kB / 0.8313 GB, free: 82.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.03577/0.7545, allocations: 12.46 MB / 0.8434 GB, free: 79.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.7546, allocations: 116.8 kB / 0.8435 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.7546, allocations: 7.812 kB / 0.8435 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/0.7709, allocations: 5.435 MB / 0.8488 GB, free: 75.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/0.7735, allocations: 0.5617 MB / 0.8494 GB, free: 74.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05175/0.8253, allocations: 22.96 MB / 0.8718 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/0.8294, allocations: 497.7 kB / 0.8723 GB, free: 51.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/0.8298, allocations: 120 kB / 0.8724 GB, free: 51.34 MB / 0.5762 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 (326): * Single equations (assignments): 321 * 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.001023/0.8308, allocations: 0.5282 MB / 0.8729 GB, free: 50.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.8313, allocations: 310 kB / 0.8732 GB, free: 50.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03438/0.8657, allocations: 11.92 MB / 0.8849 GB, free: 38.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.8657, allocations: 24 kB / 0.8849 GB, free: 38.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/0.8657, allocations: 20 kB / 0.8849 GB, free: 38.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-05/0.8658, allocations: 11.95 kB / 0.8849 GB, free: 38.41 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.0377/0.9035, allocations: 14.28 MB / 0.8989 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.9035, allocations: 3.984 kB / 0.8989 GB, free: 24.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.905, allocations: 255.6 kB / 0.8991 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01581/0.9208, allocations: 5.269 MB / 0.9043 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004917/0.9213, allocations: 55.98 kB / 0.9043 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05221/0.9735, allocations: 23.99 MB / 0.9277 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.9735, allocations: 4 kB / 0.9277 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04541/1.019, allocations: 14.37 MB / 0.9418 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008904/1.02, allocations: 345.3 kB / 0.9421 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/1.02, allocations: 48 kB / 0.9422 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/1.023, allocations: 303.6 kB / 0.9424 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/1.025, allocations: 0.6073 MB / 0.943 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.025, allocations: 67.92 kB / 0.9431 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002332/1.028, allocations: 1.518 MB / 0.9446 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.028, allocations: 1.641 kB / 0.9446 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0029/1.03, allocations: 1.198 MB / 0.9458 GB, free: 7.711 MB / 0.6075 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.0004058/1.031, allocations: 188.5 kB / 0.9459 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.049, allocations: 6.614 MB / 0.9524 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.049, allocations: 4.25 kB / 0.9524 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01296/1.062, allocations: 4.294 MB / 0.9566 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/1.064, allocations: 272 kB / 0.9569 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00977/1.074, allocations: 5.732 MB / 0.9624 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.075, allocations: 1.269 MB / 0.9637 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008473/1.076, allocations: 183.4 kB / 0.9639 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/1.076, allocations: 4 kB / 0.9639 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of Templates: time 0.0838/1.16, allocations: 66.55 MB / 1.029 GB, free: 2.312 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.455597185064107] Failed to read output from testmodel.py, exit status != 0: 1.1677623428404331 1.181853348 1.006402375 Calling exit ...