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.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009856, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 239 MB, free: 5.543 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.001086/0.001086, allocations: 172.6 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5046/0.5046, allocations: 91.92 MB / 433.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 8 kB / 0.5042 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 72.47 MB / 0.5749 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009056/0.3392, allocations: 13.01 MB / 0.5876 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006643/0.3459, allocations: 3.503 MB / 0.5911 GB, free: 24.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.3482, allocations: 29.41 kB / 0.5911 GB, free: 24.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.3496, allocations: 399.2 kB / 0.5915 GB, free: 24.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.3535, allocations: 1.216 MB / 0.5927 GB, free: 24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.3562, allocations: 1.294 MB / 0.5939 GB, free: 23.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004331/0.3606, allocations: 3.403 MB / 0.5972 GB, free: 21.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.3618, allocations: 0.6971 MB / 0.5979 GB, free: 21.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.3639, allocations: 1.334 MB / 0.5992 GB, free: 20.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.3662, allocations: 1.758 MB / 0.6009 GB, free: 19.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004744/0.3666, allocations: 145.4 kB / 0.6011 GB, free: 19.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/0.3676, allocations: 274.6 kB / 0.6013 GB, free: 19.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005075/0.3681, allocations: 0.607 MB / 0.6019 GB, free: 19.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006403/0.3688, allocations: 0.524 MB / 0.6024 GB, free: 19.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.3715, allocations: 2.99 MB / 0.6054 GB, free: 18.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3716, allocations: 3.938 kB / 0.6054 GB, free: 18.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3716, allocations: 1.344 kB / 0.6054 GB, free: 18.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.3717, allocations: 0 / 0.6054 GB, free: 18.27 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02233/0.394, allocations: 6.257 MB / 0.6115 GB, free: 15.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3941, allocations: 13.09 kB / 0.6115 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/0.4095, allocations: 2.301 MB / 0.6137 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/0.4138, allocations: 1.804 MB / 0.6155 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006015/0.4144, allocations: 0.756 MB / 0.6162 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005639/0.415, allocations: 219.3 kB / 0.6165 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006512/0.4215, allocations: 3.243 MB / 0.6196 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.4216, allocations: 1.125 kB / 0.6196 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.4218, allocations: 85.91 kB / 0.6197 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.4219, allocations: 53.08 kB / 0.6198 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006211/0.4281, allocations: 2.985 MB / 0.6227 GB, free: 11.52 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.01634/0.4444, allocations: 10.21 MB / 0.6326 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.4548, allocations: 4.892 MB / 0.6374 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004708/0.4596, allocations: 2.186 MB / 0.6396 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/0.46, allocations: 45.95 kB / 0.6396 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0054/0.4654, allocations: 2.434 MB / 0.642 GB, free: 8.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 7.164e-06/0.4655, allocations: 0 / 0.642 GB, free: 8.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1222/0.5877, allocations: 35.36 MB / 0.6765 GB, free: 4.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5879, allocations: 184.2 kB / 0.6767 GB, free: 4.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/0.592, allocations: 2.314 MB / 0.6789 GB, free: 2.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008656/0.5929, allocations: 69.7 kB / 0.679 GB, free: 2.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.594, allocations: 1.176 MB / 0.6802 GB, free: 1.055 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.5956, allocations: 0.8858 MB / 0.681 GB, free: 160 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/0.5963, allocations: 64 kB / 0.6811 GB, free: 96 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002742/0.5966, allocations: 433 kB / 0.6815 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004929/0.6015, allocations: 2.173 MB / 0.6836 GB, free: 13.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005503/0.6071, allocations: 2.549 MB / 0.6861 GB, free: 10.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005587/0.6127, allocations: 2.44 MB / 0.6885 GB, free: 8.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.6127, allocations: 7.953 kB / 0.6885 GB, free: 8.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04448/0.6572, allocations: 15.31 MB / 0.7034 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.6574, allocations: 118.8 kB / 0.7036 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.6574, allocations: 4 kB / 0.7036 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01949/0.6769, allocations: 6.501 MB / 0.7099 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/0.68, allocations: 0.5656 MB / 0.7105 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06222/0.7423, allocations: 26.54 MB / 0.7364 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/0.7473, allocations: 0.5909 MB / 0.737 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007709/0.7481, allocations: 120 kB / 0.7371 GB, free: 6.227 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001896/0.75, allocations: 0.5314 MB / 0.7376 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009881/0.751, allocations: 304.2 kB / 0.7379 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04137/0.7924, allocations: 14.77 MB / 0.7523 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/0.7925, allocations: 28 kB / 0.7523 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.645e-05/0.7926, allocations: 16 kB / 0.7524 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/0.7926, allocations: 15.95 kB / 0.7524 GB, free: 6.445 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.04739/0.84, allocations: 18.41 MB / 0.7704 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.8401, allocations: 0 / 0.7704 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.8418, allocations: 255.6 kB / 0.7706 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2569/1.099, allocations: 6.26 MB / 0.7767 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006513/1.099, allocations: 50.56 kB / 0.7768 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05275/1.152, allocations: 25.49 MB / 0.8017 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.152, allocations: 3.938 kB / 0.8017 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04276/1.195, allocations: 17.35 MB / 0.8186 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/1.196, allocations: 420.9 kB / 0.819 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.197, allocations: 51.39 kB / 0.8191 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.2, allocations: 414.9 kB / 0.8194 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00195/1.202, allocations: 0.5786 MB / 0.82 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/1.202, allocations: 67.42 kB / 0.8201 GB, free: 146 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002113/1.205, allocations: 1.526 MB / 0.8216 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/1.205, allocations: 3.938 kB / 0.8216 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003667/1.208, allocations: 1.194 MB / 0.8227 GB, free: 145.3 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005042/1.209, allocations: 180.6 kB / 0.8229 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01598/1.225, allocations: 7.686 MB / 0.8304 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.225, allocations: 1.75 kB / 0.8304 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01104/1.236, allocations: 5.114 MB / 0.8354 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.238, allocations: 265.8 kB / 0.8357 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008066/1.246, allocations: 6.478 MB / 0.842 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/1.247, allocations: 1.819 MB / 0.8438 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001154/1.248, allocations: 264.1 kB / 0.844 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005538/1.249, allocations: 162.8 kB / 0.8442 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/1.249, allocations: 0 / 0.8442 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06827/1.317, allocations: 57.41 MB / 0.9002 GB, free: 70.85 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (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)