Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.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.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 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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004362/0.004362, allocations: 170.7 kB / 15.11 MB, free: 5.969 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.145/1.145, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008811/0.0008809, allocations: 96.38 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4047/0.4047, allocations: 78.51 MB / 419.8 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 8 kB / 499.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2837, allocations: 69.35 MB / 0.5557 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3976, allocations: 99.9 MB / 0.6533 GB, free: 6.449 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3978, allocations: 79.95 kB / 0.6534 GB, free: 6.371 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1593/0.5572, allocations: 66.84 MB / 0.7186 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5572, allocations: 0 / 0.7186 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002004/0.5574, allocations: 60 kB / 0.7187 GB, free: 3.098 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01271/0.5701, allocations: 4.586 MB / 0.7232 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.5702, allocations: 16.03 kB / 0.7232 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009367/0.5795, allocations: 1.607 MB / 0.7248 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.5832, allocations: 1.697 MB / 0.7264 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006206/0.5838, allocations: 0.6906 MB / 0.7271 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005482/0.5843, allocations: 211.9 kB / 0.7273 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/0.5905, allocations: 3.22 MB / 0.7304 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.5905, allocations: 8 kB / 0.7304 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.5908, allocations: 84 kB / 0.7305 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.5908, allocations: 48 kB / 0.7306 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005742/0.5966, allocations: 3.018 MB / 0.7335 GB, free: 3.551 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01673/0.6133, allocations: 9.993 MB / 0.7433 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.6239, allocations: 4.75 MB / 0.7479 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.6241, allocations: 46.03 kB / 0.748 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.6242, allocations: 64.53 kB / 0.748 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=242): time 3.988e-06/0.6242, allocations: 7.938 kB / 0.748 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of matching and sorting (n=242): time 0.3042/0.9284, allocations: 28.46 MB / 0.7758 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.9285, allocations: 241.2 kB / 0.776 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.9312, allocations: 1.905 MB / 0.7779 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004191/0.9316, allocations: 67.83 kB / 0.778 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/0.9322, allocations: 1.196 MB / 0.7791 GB, free: 119 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006336/0.9329, allocations: 0.8333 MB / 0.7799 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.9331, allocations: 45.38 kB / 0.78 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.9332, allocations: 387.9 kB / 0.7804 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/0.9364, allocations: 1.875 MB / 0.7822 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003401/0.9398, allocations: 2.182 MB / 0.7843 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.9431, allocations: 2.093 MB / 0.7864 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.9431, allocations: 4.5 kB / 0.7864 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03612/0.9792, allocations: 14.32 MB / 0.8004 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004681/0.9797, allocations: 2.871 MB / 0.8032 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.9798, allocations: 6.188 kB / 0.8032 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01844/0.9982, allocations: 6.304 MB / 0.8093 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/1, allocations: 375.5 kB / 0.8097 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05127/1.051, allocations: 26.04 MB / 0.8351 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/1.055, allocations: 0.5144 MB / 0.8356 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.055, allocations: 79.28 kB / 0.8357 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/1.055, allocations: 3.156 kB / 0.8357 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0343/1.09, allocations: 14 MB / 0.8494 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/1.09, allocations: 6 kB / 0.8494 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01552/1.105, allocations: 6.308 MB / 0.8555 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.107, allocations: 366.2 kB / 0.8559 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05026/1.157, allocations: 26.02 MB / 0.8813 GB, free: 80 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/1.161, allocations: 0.4914 MB / 0.8818 GB, free: 79.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/1.161, allocations: 79.31 kB / 0.8818 GB, free: 79.57 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: 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(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001523/1.163, allocations: 0.5889 MB / 0.8824 GB, free: 79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/1.164, allocations: 296.3 kB / 0.8827 GB, free: 78.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03528/1.199, allocations: 14.51 MB / 0.8969 GB, free: 67.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/1.199, allocations: 24 kB / 0.8969 GB, free: 67.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/1.199, allocations: 21.64 kB / 0.8969 GB, free: 67.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/1.199, allocations: 14.53 kB / 0.8969 GB, free: 67.44 MB / 0.5573 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.03943/1.238, allocations: 18.23 MB / 0.9147 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.239, allocations: 4 kB / 0.9147 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.24, allocations: 278 kB / 0.915 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01568/1.256, allocations: 6.039 MB / 0.9209 GB, free: 45.26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006298/1.257, allocations: 55.98 kB / 0.9209 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04457/1.301, allocations: 22.67 MB / 0.9431 GB, free: 22.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.301, allocations: 3.953 kB / 0.9431 GB, free: 22.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04005/1.341, allocations: 17.08 MB / 0.9598 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.342, allocations: 412.9 kB / 0.9602 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/1.343, allocations: 47.95 kB / 0.9602 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.345, allocations: 391.7 kB / 0.9606 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00187/1.347, allocations: 0.5488 MB / 0.9611 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/1.348, allocations: 60 kB / 0.9612 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002013/1.35, allocations: 1.479 MB / 0.9626 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.41e-07/1.35, allocations: 0 / 0.9626 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00445/1.354, allocations: 1.758 MB / 0.9643 GB, free: 0.5586 MB / 0.5573 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004144/1.354, allocations: 184.5 kB / 0.9645 GB, free: 384 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02955/1.384, allocations: 11.93 MB / 0.9762 GB, free: 4.332 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.384, allocations: 0 / 0.9762 GB, free: 4.332 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/1.396, allocations: 4.779 MB / 0.9808 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.398, allocations: 236.8 kB / 0.9811 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/1.407, allocations: 6.476 MB / 0.9874 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.408, allocations: 1.897 MB / 0.9892 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001089/1.409, allocations: 268.2 kB / 0.9895 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/1.41, allocations: 135.4 kB / 0.9896 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/1.41, allocations: 0 / 0.9896 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.2866/1.696, allocations: 72.12 MB / 1.06 GB, free: 137.5 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)