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.0008029/0.0008029, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.9034/0.9034, allocations: 177.2 MB / 200.2 MB, free: 5.918 MB / 186.7 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.001033/0.001033, allocations: 164.4 kB / 256.7 MB, free: 13.32 MB / 250.7 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.2606/0.2606, allocations: 80.36 MB / 393.5 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5562 GB, free: 11.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.369e-05, allocations: 7.859 kB / 0.5562 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2216/0.2217, allocations: 11.85 MB / 0.5678 GB, free: 15.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.2278, allocations: 3.494 MB / 0.5712 GB, free: 15.1 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009299/0.2287, allocations: 30.72 kB / 0.5712 GB, free: 15.1 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009282/0.2297, allocations: 0.5677 MB / 0.5718 GB, free: 14.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.232, allocations: 1.619 MB / 0.5734 GB, free: 13.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.2343, allocations: 1.562 MB / 0.5749 GB, free: 13.38 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.2368, allocations: 3.83 MB / 0.5786 GB, free: 11.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.2374, allocations: 0.5826 MB / 0.5792 GB, free: 11.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.2392, allocations: 2.173 MB / 0.5813 GB, free: 10.21 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.2407, allocations: 1.604 MB / 0.5829 GB, free: 9.785 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000322/0.241, allocations: 299.7 kB / 0.5832 GB, free: 9.781 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007937/0.2418, allocations: 455.7 kB / 0.5836 GB, free: 9.742 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.2423, allocations: 0.7965 MB / 0.5844 GB, free: 9.273 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008043/0.2431, allocations: 1.098 MB / 0.5855 GB, free: 8.781 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.2461, allocations: 4.167 MB / 0.5895 GB, free: 7.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2461, allocations: 1.094 kB / 0.5895 GB, free: 7.238 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2461, allocations: 0 / 0.5895 GB, free: 7.238 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.2461, allocations: 0 / 0.5895 GB, free: 7.238 MB / 442.7 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.01173/0.2578, allocations: 7.441 MB / 0.5968 GB, free: 2.977 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2579, allocations: 13.44 kB / 0.5968 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007292/0.2652, allocations: 2.329 MB / 0.5991 GB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.2674, allocations: 1.842 MB / 0.6009 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/0.2678, allocations: 0.8315 MB / 0.6017 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.2681, allocations: 223.8 kB / 0.6019 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.2722, allocations: 3.111 MB / 0.605 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.2722, allocations: 0 / 0.605 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.2724, allocations: 85.28 kB / 0.605 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.2724, allocations: 50.56 kB / 0.6051 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.2761, allocations: 2.843 MB / 0.6079 GB, free: 12.46 MB / 458.7 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.01035/0.2864, allocations: 7.463 MB / 0.6152 GB, free: 5.367 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005976/0.2924, allocations: 3.616 MB / 0.6187 GB, free: 1.715 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.2948, allocations: 1.847 MB / 0.6205 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.2949, allocations: 37.92 kB / 0.6205 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002734/0.2977, allocations: 2.302 MB / 0.6228 GB, free: 13.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 5.01e-06/0.2977, allocations: 0 / 0.6228 GB, free: 13.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=250): time 0.06351/0.3612, allocations: 28.6 MB / 0.6507 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.3613, allocations: 192.2 kB / 0.6509 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.3643, allocations: 2.296 MB / 0.6531 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004271/0.3648, allocations: 69.7 kB / 0.6532 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/0.3654, allocations: 1.195 MB / 0.6544 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008811/0.3663, allocations: 0.9079 MB / 0.6552 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000768/0.367, allocations: 0.5541 MB / 0.6558 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.3671, allocations: 301.1 kB / 0.6561 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/0.3699, allocations: 2.082 MB / 0.6581 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/0.373, allocations: 2.446 MB / 0.6605 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03026/0.4032, allocations: 14.64 MB / 0.6748 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.4033, allocations: 4 kB / 0.6748 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.02271/0.426, allocations: 12.46 MB / 0.687 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/0.4261, allocations: 122.7 kB / 0.6871 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.4261, allocations: 8 kB / 0.6871 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/0.4364, allocations: 5.425 MB / 0.6924 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.4385, allocations: 0.5695 MB / 0.6929 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03663/0.4751, allocations: 22.96 MB / 0.7154 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.4786, allocations: 497.8 kB / 0.7158 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.4788, allocations: 116 kB / 0.7159 GB, free: 13.42 MB / 0.5573 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.001151/0.4799, allocations: 0.5392 MB / 0.7165 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.4803, allocations: 313.9 kB / 0.7168 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/0.5017, allocations: 11.92 MB / 0.7284 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.5018, allocations: 24 kB / 0.7284 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.5018, allocations: 23.94 kB / 0.7285 GB, free: 496 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.5018, allocations: 11.95 kB / 0.7285 GB, free: 484 kB / 0.5573 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.02575/0.5276, allocations: 14.27 MB / 0.7424 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.5276, allocations: 4 kB / 0.7424 GB, free: 2.109 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.5287, allocations: 251.8 kB / 0.7426 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009684/0.5384, allocations: 5.27 MB / 0.7478 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004041/0.5388, allocations: 51.98 kB / 0.7478 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03472/0.5735, allocations: 23.98 MB / 0.7713 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5735, allocations: 7.938 kB / 0.7713 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0262/0.5997, allocations: 14.38 MB / 0.7853 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.6008, allocations: 349.5 kB / 0.7856 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.6011, allocations: 48 kB / 0.7857 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.6028, allocations: 307.6 kB / 0.786 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/0.6047, allocations: 0.6111 MB / 0.7866 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.6048, allocations: 63.98 kB / 0.7866 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001633/0.6064, allocations: 1.518 MB / 0.7881 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6064, allocations: 0 / 0.7881 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002667/0.6091, allocations: 1.206 MB / 0.7893 GB, free: 1.621 MB / 0.6198 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.0004054/0.6095, allocations: 178.8 kB / 0.7895 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01098/0.6205, allocations: 6.602 MB / 0.7959 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6205, allocations: 0 / 0.7959 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00739/0.6279, allocations: 4.282 MB / 0.8001 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6295, allocations: 264.9 kB / 0.8004 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/0.6367, allocations: 5.481 MB / 0.8057 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2054/0.8421, allocations: 1.266 MB / 0.8069 GB, free: 215.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.8433, allocations: 189.2 kB / 0.8071 GB, free: 215.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.313e-06/0.8433, allocations: 0 / 0.8071 GB, free: 215.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.05173/0.895, allocations: 66.57 MB / 0.8721 GB, free: 173.3 MB / 0.6355 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: 7.905674286186695] Failed to read output from testmodel.py, exit status != 0: 0.9008112801238894 0.905874548 0.658521802 Calling exit ...