Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.2 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 188.5 kB / 289.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.53/0.53, allocations: 91.89 MB / 431.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 79.88 kB / 0.5019 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3275, allocations: 71.27 MB / 0.5715 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009702/0.3372, allocations: 13.8 MB / 0.5849 GB, free: 27.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006646/0.3439, allocations: 3.512 MB / 0.5884 GB, free: 25.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.346, allocations: 30.25 kB / 0.5884 GB, free: 25.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.3474, allocations: 0.558 MB / 0.5889 GB, free: 24.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.3517, allocations: 1.446 MB / 0.5904 GB, free: 23.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.3549, allocations: 1.515 MB / 0.5918 GB, free: 23.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005279/0.3602, allocations: 3.75 MB / 0.5955 GB, free: 21.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.3617, allocations: 0.9007 MB / 0.5964 GB, free: 20.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.3644, allocations: 1.544 MB / 0.5979 GB, free: 19.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.367, allocations: 1.991 MB / 0.5998 GB, free: 18.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007477/0.3677, allocations: 291.4 kB / 0.6001 GB, free: 18.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.3689, allocations: 441.9 kB / 0.6005 GB, free: 18.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005719/0.3695, allocations: 0.7734 MB / 0.6013 GB, free: 18.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.3712, allocations: 1.65 MB / 0.6029 GB, free: 17.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.3757, allocations: 3.963 MB / 0.6068 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3757, allocations: 0 / 0.6068 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3757, allocations: 0 / 0.6068 GB, free: 15.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.3758, allocations: 1.859 kB / 0.6068 GB, free: 15.4 MB / 430.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.02516/0.401, allocations: 6.66 MB / 0.6133 GB, free: 12.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4011, allocations: 9.156 kB / 0.6133 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.4164, allocations: 2.274 MB / 0.6155 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.4211, allocations: 1.884 MB / 0.6173 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006858/0.4218, allocations: 0.735 MB / 0.6181 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007776/0.4226, allocations: 223.4 kB / 0.6183 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006792/0.4294, allocations: 3.043 MB / 0.6212 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.176e-05/0.4295, allocations: 0 / 0.6212 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.4298, allocations: 84.56 kB / 0.6213 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.4298, allocations: 51.06 kB / 0.6214 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006386/0.4362, allocations: 2.797 MB / 0.6241 GB, free: 8.105 MB / 430.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.01907/0.4553, allocations: 9.929 MB / 0.6338 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.4668, allocations: 4.207 MB / 0.6379 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00515/0.472, allocations: 1.979 MB / 0.6398 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.4726, allocations: 45.95 kB / 0.6399 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00602/0.4786, allocations: 2.24 MB / 0.6421 GB, free: 5.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 1.135e-05/0.4786, allocations: 3.984 kB / 0.6421 GB, free: 5.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1205/0.5991, allocations: 27.42 MB / 0.6689 GB, free: 9.887 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.5993, allocations: 180.2 kB / 0.669 GB, free: 9.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004342/0.6037, allocations: 2.313 MB / 0.6713 GB, free: 7.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001073/0.6048, allocations: 69.7 kB / 0.6714 GB, free: 7.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.6059, allocations: 1.18 MB / 0.6725 GB, free: 6.074 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/0.6074, allocations: 0.882 MB / 0.6734 GB, free: 5.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/0.6094, allocations: 0.5657 MB / 0.6739 GB, free: 4.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6096, allocations: 313.1 kB / 0.6742 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004348/0.6139, allocations: 1.97 MB / 0.6761 GB, free: 2.324 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/0.6187, allocations: 2.342 MB / 0.6784 GB, free: 15.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05661/0.6754, allocations: 14.29 MB / 0.6924 GB, free: 1.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/0.6754, allocations: 7.938 kB / 0.6924 GB, free: 1.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04607/0.7215, allocations: 12.55 MB / 0.7046 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.7216, allocations: 114.8 kB / 0.7048 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.7217, allocations: 8 kB / 0.7048 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01829/0.74, allocations: 5.261 MB / 0.7099 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/0.7433, allocations: 0.589 MB / 0.7105 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07906/0.8224, allocations: 23.2 MB / 0.7331 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007349/0.8298, allocations: 493 kB / 0.7336 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/0.8309, allocations: 120 kB / 0.7337 GB, free: 6.77 MB / 0.5294 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.002079/0.833, allocations: 0.5376 MB / 0.7342 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/0.8343, allocations: 296.3 kB / 0.7345 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05963/0.8939, allocations: 11.93 MB / 0.7462 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.894, allocations: 24 kB / 0.7462 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.654e-05/0.8941, allocations: 16 kB / 0.7462 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.648e-05/0.8941, allocations: 15.95 kB / 0.7462 GB, free: 9.836 MB / 0.545 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.05028/0.9444, allocations: 15.56 MB / 0.7614 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/0.9445, allocations: 4 kB / 0.7614 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.9463, allocations: 255.6 kB / 0.7617 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01843/0.9647, allocations: 5.304 MB / 0.7668 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007621/0.9655, allocations: 55.98 kB / 0.7669 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3111/1.277, allocations: 24.95 MB / 0.7913 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.277, allocations: 1.25 kB / 0.7913 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04692/1.324, allocations: 14.31 MB / 0.8052 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.325, allocations: 412.1 kB / 0.8056 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007148/1.325, allocations: 47.59 kB / 0.8057 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.329, allocations: 300 kB / 0.806 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001992/1.331, allocations: 0.5822 MB / 0.8065 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.331, allocations: 66.41 kB / 0.8066 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002405/1.333, allocations: 1.534 MB / 0.8081 GB, free: 154 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.333, allocations: 0 / 0.8081 GB, free: 154 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004071/1.337, allocations: 1.18 MB / 0.8092 GB, free: 153.9 MB / 0.5606 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.0004969/1.338, allocations: 185.3 kB / 0.8094 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02046/1.358, allocations: 6.764 MB / 0.816 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.358, allocations: 0.5 kB / 0.816 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/1.372, allocations: 4.435 MB / 0.8204 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/1.375, allocations: 269.9 kB / 0.8206 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009223/1.384, allocations: 5.486 MB / 0.826 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.385, allocations: 1.82 MB / 0.8277 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00125/1.386, allocations: 266.5 kB / 0.828 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/1.387, allocations: 172.8 kB / 0.8282 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/1.387, allocations: 0 / 0.8282 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.07945/1.466, allocations: 63.55 MB / 0.8902 GB, free: 78.25 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)