Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 177.1 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239.8 MB, free: 8 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007602/0.0007602, allocations: 98.64 kB / 290.9 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4394/0.4394, allocations: 78.62 MB / 420.7 MB, free: 36.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 15.98 kB / 0.4888 GB, free: 7.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 69.35 MB / 0.5565 GB, free: 1.824 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01228/0.1427, allocations: 12.92 MB / 0.5691 GB, free: 4.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007813/0.1505, allocations: 3.469 MB / 0.5725 GB, free: 1.375 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.1527, allocations: 35.94 kB / 0.5726 GB, free: 1.34 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.1542, allocations: 400.9 kB / 0.5729 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2199/0.3742, allocations: 1.192 MB / 0.5741 GB, free: 31.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.3774, allocations: 1.281 MB / 0.5754 GB, free: 31.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.3811, allocations: 3.389 MB / 0.5787 GB, free: 31.89 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009113/0.382, allocations: 0.6892 MB / 0.5793 GB, free: 31.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.3835, allocations: 1.321 MB / 0.5806 GB, free: 31.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.385, allocations: 1.742 MB / 0.5823 GB, free: 31.11 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.3853, allocations: 148.3 kB / 0.5825 GB, free: 31.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.386, allocations: 271.9 kB / 0.5827 GB, free: 31.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003992/0.3864, allocations: 0.5942 MB / 0.5833 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.387, allocations: 0.5238 MB / 0.5838 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.3895, allocations: 2.98 MB / 0.5867 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3895, allocations: 1.172 kB / 0.5867 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3895, allocations: 1.812 kB / 0.5867 GB, free: 30.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.541e-05/0.3896, allocations: 0 / 0.5867 GB, free: 30.49 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0225/0.4121, allocations: 6.226 MB / 0.5928 GB, free: 28.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4121, allocations: 8.312 kB / 0.5928 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.4277, allocations: 2.299 MB / 0.5951 GB, free: 28.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004022/0.4317, allocations: 1.801 MB / 0.5968 GB, free: 27.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005659/0.4323, allocations: 0.7544 MB / 0.5976 GB, free: 27.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.4328, allocations: 219.2 kB / 0.5978 GB, free: 27.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006062/0.4388, allocations: 3.226 MB / 0.6009 GB, free: 27.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.4389, allocations: 0 / 0.6009 GB, free: 27.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.4391, allocations: 85.91 kB / 0.601 GB, free: 27.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.4392, allocations: 56.23 kB / 0.6011 GB, free: 27.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005609/0.4448, allocations: 2.978 MB / 0.604 GB, free: 27.05 MB / 442.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.01799/0.4628, allocations: 10.17 MB / 0.6139 GB, free: 24.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.4741, allocations: 4.882 MB / 0.6187 GB, free: 22.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00458/0.4787, allocations: 2.168 MB / 0.6208 GB, free: 21.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.479, allocations: 39.41 kB / 0.6208 GB, free: 21.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005227/0.4842, allocations: 2.44 MB / 0.6232 GB, free: 21.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.919e-06/0.4842, allocations: 0.875 kB / 0.6232 GB, free: 21.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1239/0.6081, allocations: 33.42 MB / 0.6558 GB, free: 13.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6082, allocations: 184.3 kB / 0.656 GB, free: 13.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.6123, allocations: 2.294 MB / 0.6583 GB, free: 10.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008523/0.6132, allocations: 73.7 kB / 0.6583 GB, free: 10.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.6142, allocations: 1.173 MB / 0.6595 GB, free: 9.734 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.6154, allocations: 0.8724 MB / 0.6603 GB, free: 8.867 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.6157, allocations: 64 kB / 0.6604 GB, free: 8.805 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.6159, allocations: 436.9 kB / 0.6608 GB, free: 8.371 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004823/0.6207, allocations: 2.158 MB / 0.6629 GB, free: 6.211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005154/0.6259, allocations: 2.528 MB / 0.6654 GB, free: 3.594 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/0.631, allocations: 2.436 MB / 0.6678 GB, free: 1.117 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.6311, allocations: 4 kB / 0.6678 GB, free: 1.113 MB / 458.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04734/0.6784, allocations: 15.21 MB / 0.6826 GB, free: 1.844 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.6786, allocations: 113.4 kB / 0.6827 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.6786, allocations: 11.98 kB / 0.6827 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/0.7005, allocations: 6.431 MB / 0.689 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.7042, allocations: 0.5895 MB / 0.6896 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06297/0.7672, allocations: 25.14 MB / 0.7142 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005225/0.7724, allocations: 0.5908 MB / 0.7147 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004794/0.7729, allocations: 119.9 kB / 0.7148 GB, free: 0.7148 MB / 0.4948 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.001747/0.7747, allocations: 0.5463 MB / 0.7154 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000839/0.7755, allocations: 296.4 kB / 0.7157 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04528/0.8208, allocations: 14.76 MB / 0.7301 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/0.8209, allocations: 24 kB / 0.7301 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-05/0.8209, allocations: 20 kB / 0.7301 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.245e-05/0.821, allocations: 11.95 kB / 0.7301 GB, free: 0.957 MB / 0.5105 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.05161/0.8726, allocations: 18.38 MB / 0.7481 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/0.8727, allocations: 4 kB / 0.7481 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/0.8745, allocations: 248.5 kB / 0.7483 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01992/0.8945, allocations: 6.28 MB / 0.7544 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008491/0.8954, allocations: 51.98 kB / 0.7545 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06216/0.9576, allocations: 25.5 MB / 0.7794 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.9576, allocations: 0.9375 kB / 0.7794 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3211/1.279, allocations: 17.33 MB / 0.7963 GB, free: 167 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.28, allocations: 414.4 kB / 0.7967 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000828/1.281, allocations: 46.38 kB / 0.7968 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.284, allocations: 415.7 kB / 0.7972 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002094/1.286, allocations: 0.5795 MB / 0.7977 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/1.287, allocations: 65.11 kB / 0.7978 GB, free: 166.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002443/1.289, allocations: 1.51 MB / 0.7993 GB, free: 166.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.289, allocations: 0 / 0.7993 GB, free: 166.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004263/1.294, allocations: 1.186 MB / 0.8004 GB, free: 166.7 MB / 0.573 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.0005752/1.294, allocations: 176 kB / 0.8006 GB, free: 166.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02102/1.315, allocations: 7.536 MB / 0.8079 GB, free: 166 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.315, allocations: 0 / 0.8079 GB, free: 166 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01548/1.331, allocations: 5.106 MB / 0.8129 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/1.335, allocations: 260.3 kB / 0.8132 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.346, allocations: 6.448 MB / 0.8195 GB, free: 162.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.348, allocations: 1.817 MB / 0.8213 GB, free: 161.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.349, allocations: 177.3 kB / 0.8214 GB, free: 161.5 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/1.349, allocations: 0 / 0.8214 GB, free: 161.5 MB / 0.573 GB Notification: Performance of Templates: time 0.08615/1.435, allocations: 64.22 MB / 0.8841 GB, free: 131.9 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)