Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 100 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.27/1.27, allocations: 223.2 MB / 238.9 MB, free: 5.496 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.001248/0.001248, allocations: 196 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4243/0.4243, allocations: 78.53 MB / 419.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003517, allocations: 8 kB / 499.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 69.37 MB / 0.5557 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.1961/0.3122, allocations: 12.11 MB / 0.5675 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006621/0.3189, allocations: 3.568 MB / 0.571 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.3213, allocations: 30.94 kB / 0.571 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.3228, allocations: 388.4 kB / 0.5714 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.3267, allocations: 1.343 MB / 0.5727 GB, free: 32.38 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.3295, allocations: 1.277 MB / 0.5739 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003535/0.333, allocations: 2.372 MB / 0.5763 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009053/0.3339, allocations: 0.6917 MB / 0.5769 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.3354, allocations: 1.316 MB / 0.5782 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.337, allocations: 1.668 MB / 0.5798 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004614/0.3375, allocations: 141.8 kB / 0.58 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/0.3383, allocations: 258 kB / 0.5802 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.3387, allocations: 0.5828 MB / 0.5808 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.3392, allocations: 0.5221 MB / 0.5813 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.3415, allocations: 2.816 MB / 0.5841 GB, free: 27.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3416, allocations: 1.969 kB / 0.5841 GB, free: 27.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3416, allocations: 0 / 0.5841 GB, free: 27.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001/0.3417, allocations: 0 / 0.5841 GB, free: 27.28 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02032/0.362, allocations: 6.152 MB / 0.5901 GB, free: 25.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.362, allocations: 13.22 kB / 0.5901 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.3774, allocations: 2.295 MB / 0.5923 GB, free: 24.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/0.3816, allocations: 1.769 MB / 0.5941 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006849/0.3823, allocations: 0.7527 MB / 0.5948 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007312/0.383, allocations: 222 kB / 0.595 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/0.3909, allocations: 3.202 MB / 0.5981 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.391, allocations: 0 / 0.5981 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.3913, allocations: 81.58 kB / 0.5982 GB, free: 21.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.3914, allocations: 49.81 kB / 0.5982 GB, free: 21.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007198/0.3986, allocations: 2.977 MB / 0.6012 GB, free: 20.6 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.02197/0.4206, allocations: 10.43 MB / 0.6113 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.4325, allocations: 4.856 MB / 0.6161 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.433, allocations: 48.62 kB / 0.6161 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005671/0.4387, allocations: 2.413 MB / 0.6185 GB, free: 11.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 8.035e-06/0.4388, allocations: 0 / 0.6185 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1194/0.5581, allocations: 33.54 MB / 0.6512 GB, free: 11.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.5583, allocations: 184.2 kB / 0.6514 GB, free: 11.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.562, allocations: 2.259 MB / 0.6536 GB, free: 9.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006777/0.5627, allocations: 77.77 kB / 0.6537 GB, free: 9.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.5637, allocations: 1.16 MB / 0.6548 GB, free: 7.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.565, allocations: 0.8704 MB / 0.6557 GB, free: 7.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003703/0.5654, allocations: 60 kB / 0.6557 GB, free: 6.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.5657, allocations: 428.8 kB / 0.6561 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004892/0.5706, allocations: 2.142 MB / 0.6582 GB, free: 4.395 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005575/0.5762, allocations: 2.505 MB / 0.6607 GB, free: 1.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005536/0.5818, allocations: 2.403 MB / 0.663 GB, free: 15.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.5818, allocations: 4 kB / 0.663 GB, free: 15.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04565/0.6275, allocations: 15.16 MB / 0.6778 GB, free: 120 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.6276, allocations: 118.8 kB / 0.678 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.6277, allocations: 11.94 kB / 0.678 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01969/0.6474, allocations: 6.413 MB / 0.6842 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.6503, allocations: 0.5695 MB / 0.6848 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06482/0.7151, allocations: 26.48 MB / 0.7106 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/0.7198, allocations: 0.5798 MB / 0.7112 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004651/0.7203, allocations: 119.9 kB / 0.7113 GB, free: 13.69 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.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 (327): * Single equations (assignments): 322 * 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.001364/0.7217, allocations: 0.5391 MB / 0.7118 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006435/0.7223, allocations: 293.2 kB / 0.7121 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04173/0.764, allocations: 14.73 MB / 0.7265 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.7641, allocations: 28 kB / 0.7265 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.296e-05/0.7642, allocations: 23.95 kB / 0.7266 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-05/0.7642, allocations: 15.95 kB / 0.7266 GB, free: 14 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.04762/0.8119, allocations: 18.42 MB / 0.7446 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.8119, allocations: 0 / 0.7446 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.8135, allocations: 252.8 kB / 0.7448 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01883/0.8323, allocations: 6.225 MB / 0.7509 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005976/0.8329, allocations: 51.98 kB / 0.7509 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2795/1.112, allocations: 26.87 MB / 0.7772 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.112, allocations: 0 / 0.7772 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04691/1.159, allocations: 17.32 MB / 0.7941 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009841/1.16, allocations: 422.6 kB / 0.7945 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008419/1.161, allocations: 50.02 kB / 0.7945 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/1.165, allocations: 408.5 kB / 0.7949 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001926/1.167, allocations: 0.5766 MB / 0.7955 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/1.167, allocations: 69.2 kB / 0.7956 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002357/1.169, allocations: 1.484 MB / 0.797 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.169, allocations: 0 / 0.797 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003991/1.173, allocations: 1.175 MB / 0.7982 GB, free: 161.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005024/1.174, allocations: 179.2 kB / 0.7983 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01931/1.193, allocations: 7.495 MB / 0.8057 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.193, allocations: 1.969 kB / 0.8057 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01371/1.207, allocations: 5.08 MB / 0.8106 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.209, allocations: 222.5 kB / 0.8108 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00974/1.219, allocations: 6.475 MB / 0.8171 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.22, allocations: 1.862 MB / 0.819 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001184/1.221, allocations: 263.8 kB / 0.8192 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/1.222, allocations: 162.6 kB / 0.8194 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/1.222, allocations: 0 / 0.8194 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.07156/1.294, allocations: 56.45 MB / 0.8745 GB, free: 106.1 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: