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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.199/1.199, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 93.14 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4316/0.4316, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.817e-05, allocations: 8 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2801, allocations: 69.35 MB / 0.548 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3863, allocations: 100.9 MB / 0.6465 GB, free: 15.55 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.3865, allocations: 79.94 kB / 0.6465 GB, free: 15.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.412/0.7985, allocations: 70.56 MB / 0.7154 GB, free: 93.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.7986, allocations: 0 / 0.7154 GB, free: 93.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001426/0.7987, allocations: 52 kB / 0.7155 GB, free: 93.17 MB / 490.7 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.01039/0.8091, allocations: 4.094 MB / 0.7195 GB, free: 88.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.8092, allocations: 15.97 kB / 0.7195 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009402/0.8186, allocations: 1.603 MB / 0.7211 GB, free: 87.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.8216, allocations: 1.655 MB / 0.7227 GB, free: 85.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005054/0.8221, allocations: 0.7409 MB / 0.7234 GB, free: 84.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/0.8225, allocations: 216 kB / 0.7236 GB, free: 84.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.8264, allocations: 2.587 MB / 0.7261 GB, free: 81.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.8265, allocations: 3.938 kB / 0.7261 GB, free: 81.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.8267, allocations: 83.98 kB / 0.7262 GB, free: 81.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.8268, allocations: 55.94 kB / 0.7263 GB, free: 81.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.8303, allocations: 2.336 MB / 0.7286 GB, free: 79.43 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.01539/0.8457, allocations: 10 MB / 0.7383 GB, free: 69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008679/0.8545, allocations: 4.231 MB / 0.7425 GB, free: 64.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/0.8569, allocations: 1.543 MB / 0.744 GB, free: 63.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.8572, allocations: 53.94 kB / 0.744 GB, free: 63.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002709/0.86, allocations: 1.812 MB / 0.7458 GB, free: 61.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 5.02e-06/0.86, allocations: 0 / 0.7458 GB, free: 61.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03427/0.8943, allocations: 12.58 MB / 0.7581 GB, free: 48.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.8944, allocations: 192.2 kB / 0.7583 GB, free: 48.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.8971, allocations: 1.895 MB / 0.7601 GB, free: 46.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005533/0.8977, allocations: 69.69 kB / 0.7602 GB, free: 46.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006669/0.8984, allocations: 1.216 MB / 0.7614 GB, free: 45.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008734/0.8993, allocations: 0.8624 MB / 0.7622 GB, free: 44.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.8995, allocations: 48 kB / 0.7623 GB, free: 44.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.8996, allocations: 403 kB / 0.7626 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.9016, allocations: 1.274 MB / 0.7639 GB, free: 42.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.9036, allocations: 1.594 MB / 0.7654 GB, free: 40.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.9058, allocations: 1.498 MB / 0.7669 GB, free: 39.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.9058, allocations: 8 kB / 0.7669 GB, free: 39.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03448/0.9403, allocations: 12.73 MB / 0.7793 GB, free: 26.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-05/0.9404, allocations: 110.8 kB / 0.7794 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.9405, allocations: 4 kB / 0.7794 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/0.956, allocations: 5.35 MB / 0.7847 GB, free: 20.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.9581, allocations: 407.4 kB / 0.7851 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03632/0.9945, allocations: 19.26 MB / 0.8039 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/0.9983, allocations: 0.5367 MB / 0.8044 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.9986, allocations: 91.97 kB / 0.8045 GB, free: 420 kB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005619/0.9991, allocations: 309.1 kB / 0.8048 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/0.9997, allocations: 304.4 kB / 0.8051 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03662/1.036, allocations: 12.93 MB / 0.8177 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/1.036, allocations: 24 kB / 0.8177 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/1.036, allocations: 16 kB / 0.8177 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/1.037, allocations: 19.91 kB / 0.8177 GB, free: 2.707 MB / 0.4948 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.04173/1.078, allocations: 16.54 MB / 0.8339 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.078, allocations: 7.922 kB / 0.8339 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.08, allocations: 247.7 kB / 0.8341 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01521/1.095, allocations: 5 MB / 0.839 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004801/1.096, allocations: 51.98 kB / 0.8391 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03829/1.134, allocations: 19.31 MB / 0.8579 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.134, allocations: 11.92 kB / 0.8579 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0419/1.176, allocations: 14.92 MB / 0.8725 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.177, allocations: 420.8 kB / 0.8729 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005684/1.178, allocations: 47.98 kB / 0.873 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.181, allocations: 411.6 kB / 0.8734 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002065/1.183, allocations: 0.5836 MB / 0.8739 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.183, allocations: 67.98 kB / 0.874 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002031/1.185, allocations: 1.449 MB / 0.8754 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.185, allocations: 0 / 0.8754 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002874/1.188, allocations: 1.127 MB / 0.8765 GB, free: 5.695 MB / 0.5573 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 () * 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 (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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004096/1.188, allocations: 186.9 kB / 0.8767 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01493/1.203, allocations: 5.926 MB / 0.8825 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.203, allocations: 0.5625 kB / 0.8825 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01174/1.215, allocations: 4.402 MB / 0.8868 GB, free: 10.99 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.217, allocations: 227.7 kB / 0.887 GB, free: 10.77 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/1.224, allocations: 4.276 MB / 0.8912 GB, free: 6.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.226, allocations: 1.876 MB / 0.893 GB, free: 4.523 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009214/1.226, allocations: 219.7 kB / 0.8932 GB, free: 4.305 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/1.227, allocations: 139.4 kB / 0.8933 GB, free: 4.172 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/1.227, allocations: 0 / 0.8933 GB, free: 4.172 MB / 0.573 GB Notification: Performance of Templates: time 0.316/1.543, allocations: 56.06 MB / 0.9481 GB, free: 156.2 MB / 0.573 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)