Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 174.6 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 85.72 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06857/0.06857, allocations: 12.6 MB / 321.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2852/0.2852, allocations: 78.06 MB / 450.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.291e-05, allocations: 0 / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 69.33 MB / 0.5824 GB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.4907, allocations: 101.8 MB / 0.6818 GB, free: 6.148 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.4909, allocations: 80.08 kB / 0.6819 GB, free: 6.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.192/0.6829, allocations: 67.81 MB / 0.7481 GB, free: 13.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6829, allocations: 0 / 0.7481 GB, free: 13.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003767/0.6833, allocations: 60.88 kB / 0.7482 GB, free: 13.05 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.02172/0.7051, allocations: 4.076 MB / 0.7522 GB, free: 8.887 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7051, allocations: 8.031 kB / 0.7522 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.7154, allocations: 1.607 MB / 0.7538 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.7197, allocations: 1.666 MB / 0.7554 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007954/0.7205, allocations: 0.6667 MB / 0.756 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008828/0.7214, allocations: 131.9 kB / 0.7562 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004801/0.7262, allocations: 2.23 MB / 0.7583 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/0.7311, allocations: 2.29 MB / 0.7606 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.7311, allocations: 3.938 kB / 0.7606 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.7314, allocations: 3.938 kB / 0.7606 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/0.7315, allocations: 56.03 kB / 0.7606 GB, free: 15.96 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 preOpt removeSimpleEquations (simulation): time 0.01912/0.7506, allocations: 9.67 MB / 0.7701 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009819/0.7605, allocations: 4.134 MB / 0.7741 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.7628, allocations: 1.48 MB / 0.7756 GB, free: 148 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.7632, allocations: 37.95 kB / 0.7756 GB, free: 112 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002951/0.7662, allocations: 1.74 MB / 0.7773 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 5.54e-06/0.7662, allocations: 0 / 0.7773 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.03861/0.8048, allocations: 12.35 MB / 0.7894 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.8049, allocations: 180.2 kB / 0.7895 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.8081, allocations: 1.741 MB / 0.7912 GB, free: 8 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005277/0.8086, allocations: 25.7 kB / 0.7913 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009264/0.8095, allocations: 1.208 MB / 0.7924 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001129/0.8107, allocations: 0.8273 MB / 0.7932 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.811, allocations: 4 kB / 0.7932 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.8112, allocations: 399 kB / 0.7936 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.8134, allocations: 1.231 MB / 0.7948 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.8158, allocations: 1.523 MB / 0.7963 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.818, allocations: 1.346 MB / 0.7976 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.8181, allocations: 0 / 0.7976 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03847/0.8565, allocations: 12.39 MB / 0.8097 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.8567, allocations: 114.8 kB / 0.8098 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.8567, allocations: 11.98 kB / 0.8098 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01752/0.8743, allocations: 5.072 MB / 0.8148 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.8768, allocations: 415.4 kB / 0.8152 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04222/0.919, allocations: 18.88 MB / 0.8336 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/0.9233, allocations: 493.7 kB / 0.8341 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/0.9237, allocations: 91.97 kB / 0.8342 GB, free: 3.477 MB / 0.5573 GB 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.0006547/0.9243, allocations: 221.1 kB / 0.8344 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/0.9249, allocations: 296.3 kB / 0.8347 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03749/0.9624, allocations: 12.64 MB / 0.847 GB, free: 6.223 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.9625, allocations: 24 kB / 0.8471 GB, free: 6.199 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/0.9625, allocations: 20 kB / 0.8471 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.5e-05/0.9626, allocations: 11.95 kB / 0.8471 GB, free: 6.168 MB / 0.573 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.0431/1.006, allocations: 16.03 MB / 0.8627 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.006, allocations: 7.938 kB / 0.8628 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/1.007, allocations: 255.6 kB / 0.863 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01523/1.023, allocations: 4.949 MB / 0.8678 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005965/1.023, allocations: 19.92 kB / 0.8679 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2977/1.321, allocations: 18.99 MB / 0.8864 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.321, allocations: 5.078 kB / 0.8864 GB, free: 161.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04161/1.363, allocations: 14.65 MB / 0.9007 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.364, allocations: 413.2 kB / 0.9011 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.365, allocations: 6.75 kB / 0.9011 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/1.369, allocations: 369.7 kB / 0.9015 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002245/1.371, allocations: 0.5802 MB / 0.902 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004601/1.371, allocations: 68.27 kB / 0.9021 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002127/1.373, allocations: 1.3 MB / 0.9034 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.91e-07/1.373, allocations: 0 / 0.9034 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003925/1.377, allocations: 1.021 MB / 0.9044 GB, free: 160.7 MB / 0.5886 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.0006145/1.378, allocations: 156.4 kB / 0.9045 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.392, allocations: 5.745 MB / 0.9101 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.392, allocations: 0 / 0.9101 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0111/1.403, allocations: 4.276 MB / 0.9143 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.405, allocations: 194.1 kB / 0.9145 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/1.413, allocations: 4.165 MB / 0.9185 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.414, allocations: 1.883 MB / 0.9204 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001197/1.415, allocations: 208.4 kB / 0.9206 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/1.416, allocations: 137.2 kB / 0.9207 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/1.416, allocations: 4 kB / 0.9207 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.06585/1.482, allocations: 51.71 MB / 0.9712 GB, free: 129.6 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)