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.001048/0.001047, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.35/1.35, allocations: 223.2 MB / 238.9 MB, free: 5.457 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.001068/0.001068, allocations: 187.6 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4837/0.4837, allocations: 79.44 MB / 420.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 12 kB / 0.489 GB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 69.52 MB / 0.5569 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2663/0.4176, allocations: 12.21 MB / 0.5688 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006928/0.4246, allocations: 3.62 MB / 0.5723 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.427, allocations: 33.41 kB / 0.5724 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.4283, allocations: 399.2 kB / 0.5728 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.4328, allocations: 1.338 MB / 0.5741 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.436, allocations: 1.278 MB / 0.5753 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004906/0.441, allocations: 2.405 MB / 0.5777 GB, free: 29.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008843/0.4419, allocations: 0.6939 MB / 0.5783 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.4433, allocations: 1.339 MB / 0.5796 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.4447, allocations: 1.69 MB / 0.5813 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.4449, allocations: 148.4 kB / 0.5814 GB, free: 27.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.4455, allocations: 263.2 kB / 0.5817 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.4459, allocations: 0.5868 MB / 0.5823 GB, free: 27.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.4463, allocations: 0.5237 MB / 0.5828 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.4482, allocations: 2.853 MB / 0.5856 GB, free: 26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4483, allocations: 0 / 0.5856 GB, free: 26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4483, allocations: 1.125 kB / 0.5856 GB, free: 26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.282e-05/0.4483, allocations: 0 / 0.5856 GB, free: 26 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.02108/0.4694, allocations: 6.22 MB / 0.5916 GB, free: 23.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4695, allocations: 9.719 kB / 0.5916 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.4843, allocations: 2.296 MB / 0.5939 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.4886, allocations: 1.803 MB / 0.5956 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006586/0.4893, allocations: 0.7494 MB / 0.5964 GB, free: 21.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004685/0.4898, allocations: 216.1 kB / 0.5966 GB, free: 21.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/0.4961, allocations: 3.212 MB / 0.5997 GB, free: 20.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.4961, allocations: 0 / 0.5997 GB, free: 20.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.4964, allocations: 87.39 kB / 0.5998 GB, free: 20.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.4964, allocations: 57.39 kB / 0.5999 GB, free: 20.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006173/0.5026, allocations: 2.976 MB / 0.6028 GB, free: 19.29 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.01971/0.5224, allocations: 10.49 MB / 0.613 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.5342, allocations: 4.879 MB / 0.6178 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.5345, allocations: 39.81 kB / 0.6178 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004745/0.5393, allocations: 2.44 MB / 0.6202 GB, free: 10.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.358e-06/0.5393, allocations: 0 / 0.6202 GB, free: 10.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1196/0.6589, allocations: 33.47 MB / 0.6529 GB, free: 9.898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.659, allocations: 180.2 kB / 0.653 GB, free: 9.684 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.6629, allocations: 2.298 MB / 0.6553 GB, free: 7.367 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007686/0.6636, allocations: 73.69 kB / 0.6554 GB, free: 7.289 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.6647, allocations: 1.176 MB / 0.6565 GB, free: 6.102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.6659, allocations: 0.8781 MB / 0.6574 GB, free: 5.211 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.6662, allocations: 60 kB / 0.6574 GB, free: 5.152 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.6664, allocations: 432.9 kB / 0.6578 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004438/0.6708, allocations: 2.158 MB / 0.6599 GB, free: 2.562 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004566/0.6754, allocations: 2.514 MB / 0.6624 GB, free: 15.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004563/0.68, allocations: 2.435 MB / 0.6648 GB, free: 13.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.68, allocations: 1.875 kB / 0.6648 GB, free: 13.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04309/0.7231, allocations: 15.22 MB / 0.6796 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.7233, allocations: 119.7 kB / 0.6798 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.7233, allocations: 4 kB / 0.6798 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01985/0.7431, allocations: 6.431 MB / 0.686 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/0.7466, allocations: 0.5857 MB / 0.6866 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06208/0.8087, allocations: 26.49 MB / 0.7125 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/0.8146, allocations: 0.5947 MB / 0.7131 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/0.815, allocations: 120 kB / 0.7132 GB, free: 11.72 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-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 (331): * Single equations (assignments): 326 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001413/0.8164, allocations: 0.5369 MB / 0.7137 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.8169, allocations: 296.3 kB / 0.714 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04184/0.8587, allocations: 14.76 MB / 0.7284 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/0.8588, allocations: 27.95 kB / 0.7284 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.007e-05/0.8589, allocations: 20 kB / 0.7284 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.941e-05/0.8589, allocations: 11.95 kB / 0.7284 GB, free: 11.96 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 postOpt removeSimpleEquations (simulation): time 0.04719/0.9061, allocations: 18.49 MB / 0.7465 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.9062, allocations: 0 / 0.7465 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.9077, allocations: 251.6 kB / 0.7467 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01834/0.9261, allocations: 6.281 MB / 0.7529 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005733/0.9267, allocations: 53.39 kB / 0.7529 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.333/1.26, allocations: 26.86 MB / 0.7792 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.26, allocations: 0.5625 kB / 0.7792 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04749/1.307, allocations: 17.37 MB / 0.7961 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.309, allocations: 422.1 kB / 0.7965 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.31, allocations: 45.81 kB / 0.7966 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003919/1.314, allocations: 405 kB / 0.7969 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002478/1.316, allocations: 0.5792 MB / 0.7975 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000452/1.317, allocations: 68.62 kB / 0.7976 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002717/1.319, allocations: 1.505 MB / 0.799 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/1.319, allocations: 0 / 0.799 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00508/1.324, allocations: 1.193 MB / 0.8002 GB, free: 161.5 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 (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 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000688/1.325, allocations: 175.4 kB / 0.8004 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02048/1.346, allocations: 7.538 MB / 0.8077 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.346, allocations: 0 / 0.8077 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01468/1.36, allocations: 5.113 MB / 0.8127 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.363, allocations: 223.3 kB / 0.8129 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.374, allocations: 6.578 MB / 0.8194 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/1.376, allocations: 1.879 MB / 0.8212 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001387/1.378, allocations: 259.1 kB / 0.8215 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/1.378, allocations: 163.9 kB / 0.8216 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.378, allocations: 0 / 0.8216 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07937/1.458, allocations: 56.93 MB / 0.8772 GB, free: 102.5 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)