Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009027/0.0009028, allocations: 173.9 kB / 7.648 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.187/1.187, allocations: 221.5 MB / 229.6 MB, free: 3.117 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.0008627/0.0008627, allocations: 86 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4237/0.4237, allocations: 78.12 MB / 409.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.204e-05/1.207e-05, allocations: 4 kB / 485 MB, free: 4.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.293, allocations: 69.34 MB / 0.5413 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4041, allocations: 100.2 MB / 0.6392 GB, free: 4.559 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4044, allocations: 79.95 kB / 0.6392 GB, free: 4.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4403/0.8447, allocations: 69.68 MB / 0.7073 GB, free: 96.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.8448, allocations: 0 / 0.7073 GB, free: 96.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001368/0.8449, allocations: 60.97 kB / 0.7074 GB, free: 96.95 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.0104/0.8553, allocations: 4.074 MB / 0.7113 GB, free: 94.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.8554, allocations: 7 kB / 0.7113 GB, free: 94.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009639/0.865, allocations: 1.616 MB / 0.7129 GB, free: 93.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/0.8685, allocations: 1.659 MB / 0.7145 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005238/0.869, allocations: 0.6798 MB / 0.7152 GB, free: 91.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.8694, allocations: 120 kB / 0.7153 GB, free: 91.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003493/0.8729, allocations: 2.234 MB / 0.7175 GB, free: 90.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.8763, allocations: 2.299 MB / 0.7197 GB, free: 88.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.8764, allocations: 0 / 0.7197 GB, free: 88.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.8766, allocations: 4.656 kB / 0.7197 GB, free: 88.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.8766, allocations: 52 kB / 0.7198 GB, free: 88.72 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.01513/0.8918, allocations: 9.66 MB / 0.7292 GB, free: 78.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008233/0.9, allocations: 4.134 MB / 0.7333 GB, free: 74.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.9019, allocations: 1.48 MB / 0.7347 GB, free: 73.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.9022, allocations: 42.89 kB / 0.7348 GB, free: 72.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002198/0.9044, allocations: 1.741 MB / 0.7365 GB, free: 71.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 4.528e-06/0.9044, allocations: 7.938 kB / 0.7365 GB, free: 71.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03411/0.9385, allocations: 12.35 MB / 0.7485 GB, free: 58.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.9386, allocations: 180.2 kB / 0.7487 GB, free: 58.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.9409, allocations: 1.748 MB / 0.7504 GB, free: 56.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005227/0.9414, allocations: 25.7 kB / 0.7504 GB, free: 56.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/0.942, allocations: 1.212 MB / 0.7516 GB, free: 55.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/0.9427, allocations: 0.8274 MB / 0.7524 GB, free: 54.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.9429, allocations: 0 / 0.7524 GB, free: 54.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.943, allocations: 403 kB / 0.7528 GB, free: 54.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.9448, allocations: 1.224 MB / 0.754 GB, free: 53.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.9466, allocations: 1.523 MB / 0.7555 GB, free: 51.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.9484, allocations: 1.346 MB / 0.7568 GB, free: 50.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.9484, allocations: 3.953 kB / 0.7568 GB, free: 50.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03382/0.9823, allocations: 12.38 MB / 0.7689 GB, free: 37.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.9824, allocations: 114.8 kB / 0.769 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.9824, allocations: 8 kB / 0.769 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01497/0.9974, allocations: 5.074 MB / 0.774 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.9995, allocations: 411.4 kB / 0.7743 GB, free: 32.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03426/1.034, allocations: 18.89 MB / 0.7928 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/1.038, allocations: 0.4899 MB / 0.7933 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000508/1.039, allocations: 87.97 kB / 0.7934 GB, free: 12.39 MB / 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.0006137/1.039, allocations: 206 kB / 0.7936 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006071/1.04, allocations: 296.3 kB / 0.7938 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0341/1.074, allocations: 12.66 MB / 0.8062 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.094e-05/1.074, allocations: 24 kB / 0.8062 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.516e-05/1.074, allocations: 20 kB / 0.8062 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-05/1.074, allocations: 11.95 kB / 0.8063 GB, free: 15.09 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.04192/1.116, allocations: 16.03 MB / 0.8219 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.116, allocations: 4 kB / 0.8219 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.118, allocations: 247.6 kB / 0.8221 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/1.134, allocations: 4.957 MB / 0.827 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/1.134, allocations: 19.94 kB / 0.827 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03862/1.173, allocations: 19 MB / 0.8456 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.173, allocations: 4 kB / 0.8456 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04095/1.214, allocations: 14.65 MB / 0.8599 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.215, allocations: 412.8 kB / 0.8603 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/1.216, allocations: 8 kB / 0.8603 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/1.219, allocations: 367.6 kB / 0.8606 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001981/1.221, allocations: 0.5836 MB / 0.8612 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/1.221, allocations: 63.98 kB / 0.8612 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00191/1.223, allocations: 1.3 MB / 0.8625 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/1.223, allocations: 4 kB / 0.8625 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003238/1.226, allocations: 1.018 MB / 0.8635 GB, free: 3.789 MB / 0.5417 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.0004448/1.227, allocations: 146.8 kB / 0.8637 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.241, allocations: 5.741 MB / 0.8693 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.241, allocations: 7.938 kB / 0.8693 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.253, allocations: 4.29 MB / 0.8735 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.255, allocations: 193 kB / 0.8736 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007597/1.263, allocations: 4.159 MB / 0.8777 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/1.264, allocations: 1.88 MB / 0.8795 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001008/1.265, allocations: 215.7 kB / 0.8797 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/1.265, allocations: 139.4 kB / 0.8799 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/1.266, allocations: 4 kB / 0.8799 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of Templates: time 0.3475/1.613, allocations: 51.7 MB / 0.9304 GB, free: 174.1 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)