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.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.0.1/package.mo", uses=false) 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.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_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001117/0.001117, allocations: 112 kB / 15.99 MB, free: 5.91 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.316/1.316, allocations: 222.9 MB / 239.6 MB, free: 4.742 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.001568/0.001568, allocations: 184.5 kB / 289.9 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4438/0.4438, allocations: 78.52 MB / 418.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.89 kB / 497.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1336, allocations: 68.19 MB / 0.5525 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2566/0.3902, allocations: 14.6 MB / 0.5668 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008043/0.3983, allocations: 3.645 MB / 0.5703 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.4013, allocations: 33.5 kB / 0.5704 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.4028, allocations: 437.9 kB / 0.5708 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.4074, allocations: 1.234 MB / 0.572 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.4106, allocations: 1.417 MB / 0.5734 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004833/0.4154, allocations: 3.794 MB / 0.5771 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.4166, allocations: 0.8965 MB / 0.5779 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.4189, allocations: 1.575 MB / 0.5795 GB, free: 27.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.4206, allocations: 2.002 MB / 0.5814 GB, free: 26.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003581/0.4209, allocations: 296.5 kB / 0.5817 GB, free: 26.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.4217, allocations: 448.9 kB / 0.5821 GB, free: 26.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000486/0.4222, allocations: 0.7733 MB / 0.5829 GB, free: 26.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.4233, allocations: 1.675 MB / 0.5845 GB, free: 25.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.426, allocations: 3.126 MB / 0.5876 GB, free: 23.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.426, allocations: 1.188 kB / 0.5876 GB, free: 23.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.426, allocations: 0 / 0.5876 GB, free: 23.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.861e-05/0.426, allocations: 0 / 0.5876 GB, free: 23.87 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.02316/0.4492, allocations: 6.681 MB / 0.5941 GB, free: 21.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4493, allocations: 9.562 kB / 0.5941 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/0.4638, allocations: 2.284 MB / 0.5964 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005592/0.4694, allocations: 1.9 MB / 0.5982 GB, free: 19.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008864/0.4703, allocations: 0.7241 MB / 0.5989 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.4715, allocations: 227.1 kB / 0.5991 GB, free: 18.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0096/0.4811, allocations: 3.057 MB / 0.6021 GB, free: 17.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.388e-05/0.4812, allocations: 2.344 kB / 0.6021 GB, free: 17.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00057/0.4818, allocations: 90.33 kB / 0.6022 GB, free: 17.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/0.4819, allocations: 49.5 kB / 0.6023 GB, free: 17.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00718/0.4891, allocations: 2.801 MB / 0.605 GB, free: 16.69 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.02372/0.5128, allocations: 9.967 MB / 0.6147 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.5242, allocations: 4.228 MB / 0.6189 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004224/0.5284, allocations: 1.987 MB / 0.6208 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/0.5289, allocations: 40.7 kB / 0.6208 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004909/0.5338, allocations: 2.253 MB / 0.623 GB, free: 6.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 7.534e-06/0.5339, allocations: 0 / 0.623 GB, free: 6.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1182/0.652, allocations: 28.82 MB / 0.6512 GB, free: 9.777 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.6522, allocations: 188.2 kB / 0.6514 GB, free: 9.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/0.6572, allocations: 2.333 MB / 0.6536 GB, free: 7.203 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007459/0.6579, allocations: 73.7 kB / 0.6537 GB, free: 7.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.6591, allocations: 1.18 MB / 0.6549 GB, free: 5.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001557/0.6607, allocations: 0.8819 MB / 0.6557 GB, free: 5.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002433/0.6631, allocations: 0.5699 MB / 0.6563 GB, free: 4.461 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.6633, allocations: 305.1 kB / 0.6566 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/0.6679, allocations: 1.986 MB / 0.6585 GB, free: 2.172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004821/0.6727, allocations: 2.362 MB / 0.6608 GB, free: 15.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05473/0.7275, allocations: 14.42 MB / 0.6749 GB, free: 1.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.7275, allocations: 4.812 kB / 0.6749 GB, free: 1.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04095/0.7685, allocations: 12.61 MB / 0.6872 GB, free: 4.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.996e-05/0.7686, allocations: 118.8 kB / 0.6873 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.7687, allocations: 4 kB / 0.6873 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01764/0.7863, allocations: 5.443 MB / 0.6926 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.7894, allocations: 0.5734 MB / 0.6932 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05895/0.8484, allocations: 23.68 MB / 0.7163 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004912/0.8534, allocations: 0.4952 MB / 0.7168 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007773/0.8542, allocations: 116 kB / 0.7169 GB, free: 5.816 MB / 0.5137 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.002111/0.8563, allocations: 0.5264 MB / 0.7174 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/0.8575, allocations: 304.2 kB / 0.7177 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03834/0.8959, allocations: 11.95 MB / 0.7294 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.736e-05/0.896, allocations: 28.92 kB / 0.7294 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-05/0.896, allocations: 21.88 kB / 0.7294 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.409e-05/0.8961, allocations: 15.89 kB / 0.7295 GB, free: 8.859 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.04521/0.9413, allocations: 15.58 MB / 0.7447 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.9414, allocations: 0 / 0.7447 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.943, allocations: 251.6 kB / 0.7449 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01684/0.9599, allocations: 5.287 MB / 0.7501 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005946/0.9605, allocations: 52.98 kB / 0.7501 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3016/1.262, allocations: 24.96 MB / 0.7745 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.262, allocations: 2.391 kB / 0.7745 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0406/1.303, allocations: 14.33 MB / 0.7885 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.304, allocations: 415.2 kB / 0.7889 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.305, allocations: 55.34 kB / 0.7889 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/1.309, allocations: 300.6 kB / 0.7892 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002563/1.312, allocations: 0.5797 MB / 0.7898 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005744/1.313, allocations: 67.36 kB / 0.7899 GB, free: 163 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003288/1.316, allocations: 1.544 MB / 0.7914 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.81e-07/1.316, allocations: 1.25 kB / 0.7914 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005392/1.321, allocations: 1.192 MB / 0.7925 GB, free: 162.8 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 (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.0007819/1.322, allocations: 176 kB / 0.7927 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02179/1.344, allocations: 6.899 MB / 0.7994 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.344, allocations: 3.188 kB / 0.7994 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01425/1.358, allocations: 4.416 MB / 0.8038 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/1.363, allocations: 265.9 kB / 0.804 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.377, allocations: 6.697 MB / 0.8105 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/1.379, allocations: 1.818 MB / 0.8123 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.38, allocations: 188.2 kB / 0.8125 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/1.38, allocations: 1.688 kB / 0.8125 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06601/1.446, allocations: 64.62 MB / 0.8756 GB, free: 103.3 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (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)