Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009452/0.0009453, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.001047/0.001047, allocations: 86.42 kB / 280.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5116/0.5116, allocations: 78.13 MB / 409.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.291e-05/1.285e-05, allocations: 3.938 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 69.35 MB / 0.5413 GB, free: 6.969 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.488, allocations: 97.44 MB / 0.6365 GB, free: 2.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4883, allocations: 84.48 kB / 0.6366 GB, free: 2.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07798/0.5663, allocations: 29.6 MB / 0.6655 GB, free: 4.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5664, allocations: 0 / 0.6655 GB, free: 4.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.588e-05/0.5665, allocations: 20 kB / 0.6655 GB, free: 4.641 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004351/0.5708, allocations: 1.683 MB / 0.6671 GB, free: 2.902 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5709, allocations: 11.97 kB / 0.6671 GB, free: 2.891 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.5743, allocations: 0.5609 MB / 0.6677 GB, free: 2.328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5759, allocations: 0.7722 MB / 0.6684 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.5761, allocations: 202.5 kB / 0.6686 GB, free: 1.273 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.5763, allocations: 44 kB / 0.6687 GB, free: 1.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/0.5777, allocations: 0.8006 MB / 0.6695 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.579, allocations: 0.8259 MB / 0.6703 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.579, allocations: 4 kB / 0.6703 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.5791, allocations: 0.5625 kB / 0.6703 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5792, allocations: 16 kB / 0.6703 GB, free: 15.57 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006016/0.5852, allocations: 3.708 MB / 0.6739 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.5921, allocations: 2.563 MB / 0.6764 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009057/0.593, allocations: 0.5117 MB / 0.6769 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.5932, allocations: 28.75 kB / 0.6769 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.5932, allocations: 40.38 kB / 0.677 GB, free: 8.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.557e-06/0.5932, allocations: 0 / 0.677 GB, free: 8.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01184/0.6051, allocations: 3.801 MB / 0.6807 GB, free: 4.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.6052, allocations: 141.3 kB / 0.6808 GB, free: 4.445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.6064, allocations: 0.8145 MB / 0.6816 GB, free: 3.617 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.6065, allocations: 25.7 kB / 0.6816 GB, free: 3.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.6069, allocations: 0.5011 MB / 0.6821 GB, free: 3.078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.6073, allocations: 315.2 kB / 0.6824 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.6073, allocations: 0 / 0.6824 GB, free: 2.766 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6075, allocations: 345.9 kB / 0.6828 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/0.6082, allocations: 422.6 kB / 0.6832 GB, free: 2.008 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.6089, allocations: 0.5356 MB / 0.6837 GB, free: 1.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.6097, allocations: 480.8 kB / 0.6841 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6097, allocations: 4 kB / 0.6841 GB, free: 0.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01174/0.6214, allocations: 3.942 MB / 0.688 GB, free: 13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004747/0.622, allocations: 1.202 MB / 0.6892 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.622, allocations: 7.953 kB / 0.6892 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/0.6271, allocations: 1.449 MB / 0.6906 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/0.628, allocations: 164.4 kB / 0.6907 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.6408, allocations: 6.396 MB / 0.697 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.6425, allocations: 167.3 kB / 0.6972 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.6426, allocations: 31.98 kB / 0.6972 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.6427, allocations: 5.875 kB / 0.6972 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01179/0.6544, allocations: 3.793 MB / 0.7009 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.6545, allocations: 6.406 kB / 0.7009 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/0.6598, allocations: 1.438 MB / 0.7023 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009386/0.6608, allocations: 159.8 kB / 0.7025 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.6744, allocations: 6.41 MB / 0.7087 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.6761, allocations: 159.4 kB / 0.7089 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.6764, allocations: 28 kB / 0.7089 GB, free: 7.25 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005031/0.6769, allocations: 152.9 kB / 0.709 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.6773, allocations: 126.4 kB / 0.7092 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.6892, allocations: 3.89 MB / 0.713 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.6892, allocations: 12 kB / 0.713 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.6893, allocations: 4 kB / 0.713 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.34e-05/0.6893, allocations: 3.984 kB / 0.713 GB, free: 3.035 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01462/0.7039, allocations: 5.416 MB / 0.7183 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.704, allocations: 0 / 0.7183 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.7048, allocations: 115.8 kB / 0.7184 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004754/0.7096, allocations: 1.41 MB / 0.7198 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.7098, allocations: 8 kB / 0.7198 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.7217, allocations: 5.62 MB / 0.7252 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.7217, allocations: 2.062 kB / 0.7253 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/0.7349, allocations: 4.619 MB / 0.7298 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.7355, allocations: 223.2 kB / 0.73 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.7359, allocations: 8 kB / 0.73 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.7373, allocations: 120.6 kB / 0.7301 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/0.7378, allocations: 180.5 kB / 0.7303 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.579e-05/0.738, allocations: 24 kB / 0.7303 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009364/0.7389, allocations: 0.6214 MB / 0.7309 GB, free: 424 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7389, allocations: 0 / 0.7309 GB, free: 424 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002138/0.7411, allocations: 0.6006 MB / 0.7315 GB, free: 15.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003078/0.7414, allocations: 138.9 kB / 0.7316 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008552/0.7499, allocations: 3.45 MB / 0.735 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.75, allocations: 0.75 kB / 0.735 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00373/0.7537, allocations: 1.397 MB / 0.7364 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.7546, allocations: 97.75 kB / 0.7364 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.7579, allocations: 1.656 MB / 0.7381 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.7586, allocations: 1.158 MB / 0.7392 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008672/0.7595, allocations: 198.8 kB / 0.7394 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.7597, allocations: 56.55 kB / 0.7394 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/0.7597, allocations: 0 / 0.7394 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of Templates: time 0.2986/1.058, allocations: 25.56 MB / 0.7644 GB, free: 148.7 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)