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.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.001744/0.001744, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.516/1.516, allocations: 230.6 MB / 253.4 MB, free: 14.45 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.001662/0.001662, allocations: 206.5 kB / 310 MB, free: 3.121 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.492/0.492, allocations: 79.74 MB / 446.2 MB, free: 38.81 MB / 350.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.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_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: 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.002609/0.002609, allocations: 90.73 kB / 0.5942 GB, free: 38.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1502, allocations: 73.3 MB / 0.6658 GB, free: 320 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01708/0.1672, allocations: 13.92 MB / 0.6794 GB, free: 3.613 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009044/0.1763, allocations: 3.562 MB / 0.6829 GB, free: 36 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.1788, allocations: 31.94 kB / 0.6829 GB, free: 4 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.1804, allocations: 0.5654 MB / 0.6834 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.186, allocations: 1.608 MB / 0.685 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.19, allocations: 1.528 MB / 0.6865 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006723/0.1967, allocations: 3.874 MB / 0.6903 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.1982, allocations: 0.6167 MB / 0.6909 GB, free: 7.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.2012, allocations: 1.618 MB / 0.6925 GB, free: 6.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.2039, allocations: 2.042 MB / 0.6945 GB, free: 4.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005295/0.2045, allocations: 299.9 kB / 0.6948 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.2055, allocations: 459.8 kB / 0.6952 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007156/0.2062, allocations: 0.7818 MB / 0.696 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.2079, allocations: 1.67 MB / 0.6976 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.213, allocations: 4.08 MB / 0.7016 GB, free: 12.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.213, allocations: 0 / 0.7016 GB, free: 12.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.213, allocations: 0 / 0.7016 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.502e-05/0.2131, allocations: 8 kB / 0.7016 GB, free: 12.77 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.02447/0.2375, allocations: 7.476 MB / 0.7089 GB, free: 5.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2376, allocations: 8.031 kB / 0.7089 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/0.2526, allocations: 2.327 MB / 0.7112 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/0.2572, allocations: 1.84 MB / 0.713 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008857/0.2581, allocations: 0.8296 MB / 0.7138 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005286/0.2586, allocations: 223.9 kB / 0.714 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006444/0.265, allocations: 3.051 MB / 0.717 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.2651, allocations: 4 kB / 0.717 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.2653, allocations: 91.94 kB / 0.7171 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.2654, allocations: 48 kB / 0.7171 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.2714, allocations: 2.803 MB / 0.7198 GB, free: 9.672 MB / 0.4981 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.01979/0.2912, allocations: 9.808 MB / 0.7294 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.3021, allocations: 3.568 MB / 0.7329 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004602/0.3067, allocations: 1.792 MB / 0.7346 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004718/0.3072, allocations: 45.88 kB / 0.7347 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005536/0.3127, allocations: 2.253 MB / 0.7369 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 8.396e-06/0.3127, allocations: 3.984 kB / 0.7369 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1226/0.4353, allocations: 28.5 MB / 0.7647 GB, free: 11.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.4355, allocations: 184.2 kB / 0.7649 GB, free: 10.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/0.4401, allocations: 2.333 MB / 0.7672 GB, free: 8.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007651/0.4409, allocations: 69.7 kB / 0.7672 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.4421, allocations: 1.189 MB / 0.7684 GB, free: 7.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001647/0.4437, allocations: 0.9296 MB / 0.7693 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002171/0.4459, allocations: 0.5739 MB / 0.7699 GB, free: 5.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.446, allocations: 305.1 kB / 0.7702 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004851/0.4509, allocations: 1.99 MB / 0.7721 GB, free: 3.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005258/0.4561, allocations: 2.362 MB / 0.7744 GB, free: 1.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05888/0.515, allocations: 14.68 MB / 0.7888 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.515, allocations: 7.938 kB / 0.7888 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04445/0.5595, allocations: 12.55 MB / 0.801 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.5596, allocations: 116.4 kB / 0.8011 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.5596, allocations: 8 kB / 0.8011 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3799/0.9395, allocations: 5.43 MB / 0.8064 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.9429, allocations: 0.5775 MB / 0.807 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06199/1.005, allocations: 23.59 MB / 0.83 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.009, allocations: 0.4898 MB / 0.8305 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/1.01, allocations: 119.3 kB / 0.8306 GB, free: 111.8 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 (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.00119/1.011, allocations: 0.5389 MB / 0.8312 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/1.012, allocations: 314.9 kB / 0.8315 GB, free: 111.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03676/1.048, allocations: 11.86 MB / 0.843 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/1.048, allocations: 29.66 kB / 0.8431 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.883e-05/1.048, allocations: 19.38 kB / 0.8431 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.368e-05/1.048, allocations: 11.48 kB / 0.8431 GB, free: 108.8 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.04208/1.091, allocations: 15.48 MB / 0.8582 GB, free: 96.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/1.091, allocations: 3.938 kB / 0.8582 GB, free: 96.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.092, allocations: 243.8 kB / 0.8584 GB, free: 95.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01563/1.108, allocations: 5.289 MB / 0.8636 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000723/1.109, allocations: 48.75 kB / 0.8636 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05118/1.16, allocations: 24.67 MB / 0.8877 GB, free: 65.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.16, allocations: 3.938 kB / 0.8877 GB, free: 65.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04097/1.201, allocations: 14.27 MB / 0.9017 GB, free: 51.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009793/1.202, allocations: 358 kB / 0.902 GB, free: 50.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/1.202, allocations: 46 kB / 0.9021 GB, free: 50.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.205, allocations: 299.6 kB / 0.9023 GB, free: 50.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/1.207, allocations: 0.6111 MB / 0.9029 GB, free: 49.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.207, allocations: 63.98 kB / 0.903 GB, free: 49.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001935/1.209, allocations: 1.547 MB / 0.9045 GB, free: 48.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.209, allocations: 0 / 0.9045 GB, free: 48.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003634/1.213, allocations: 1.195 MB / 0.9057 GB, free: 47.21 MB / 0.5762 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.0004415/1.213, allocations: 184.8 kB / 0.9059 GB, free: 47.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.229, allocations: 6.48 MB / 0.9122 GB, free: 40.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.229, allocations: 4.984 kB / 0.9122 GB, free: 40.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01196/1.241, allocations: 4.247 MB / 0.9163 GB, free: 36.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.243, allocations: 268.1 kB / 0.9166 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/1.253, allocations: 5.668 MB / 0.9221 GB, free: 30.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.254, allocations: 1.82 MB / 0.9239 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009907/1.255, allocations: 191.4 kB / 0.9241 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of SimCode: time 1.443e-06/1.255, allocations: 0 / 0.9241 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.0796/1.334, allocations: 65.46 MB / 0.988 GB, free: 10.66 MB / 0.6231 GB " [Timeout remaining time 659] 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: 12.943680007942021] Failed to read output from testmodel.py, exit status != 0: 1.3433009430300444 1.35779536 1.141672019 Calling exit ...