Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 180.9 kB / 7.651 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.381/1.381, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009028/0.0009028, allocations: 95.41 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.46/0.46, allocations: 78.96 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.464e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 69.51 MB / 0.5424 GB, free: 5.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.5028, allocations: 99.33 MB / 0.6394 GB, free: 14.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5031, allocations: 80.84 kB / 0.6395 GB, free: 14.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08897/0.5921, allocations: 32.44 MB / 0.6712 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5921, allocations: 0 / 0.6712 GB, free: 14.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.762e-05/0.5922, allocations: 20 kB / 0.6712 GB, free: 14.31 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00442/0.5966, allocations: 1.762 MB / 0.6729 GB, free: 12.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5967, allocations: 12.03 kB / 0.6729 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.6, allocations: 0.5602 MB / 0.6735 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.6012, allocations: 0.7942 MB / 0.6743 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.6015, allocations: 236.1 kB / 0.6745 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6017, allocations: 55.91 kB / 0.6745 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/0.6031, allocations: 0.8084 MB / 0.6753 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.6046, allocations: 0.8563 MB / 0.6762 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.6046, allocations: 0 / 0.6762 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.74e-05/0.6047, allocations: 3.984 kB / 0.6762 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.6048, allocations: 20 kB / 0.6762 GB, free: 9.047 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.00636/0.6111, allocations: 3.752 MB / 0.6798 GB, free: 5.125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007175/0.6183, allocations: 2.654 MB / 0.6824 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.6191, allocations: 0.5283 MB / 0.683 GB, free: 1.848 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.6192, allocations: 12.78 kB / 0.683 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.6202, allocations: 0.6674 MB / 0.6836 GB, free: 1.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.455e-06/0.6202, allocations: 0 / 0.6836 GB, free: 1.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01194/0.6322, allocations: 3.965 MB / 0.6875 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.6323, allocations: 115.6 kB / 0.6876 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6336, allocations: 0.859 MB / 0.6884 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.6337, allocations: 29.64 kB / 0.6885 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.6341, allocations: 0.5247 MB / 0.689 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.6345, allocations: 339.8 kB / 0.6893 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.6345, allocations: 4 kB / 0.6893 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6347, allocations: 345.9 kB / 0.6896 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.6355, allocations: 458.6 kB / 0.6901 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.6363, allocations: 0.581 MB / 0.6906 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.6371, allocations: 0.5008 MB / 0.6911 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6371, allocations: 0 / 0.6911 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01249/0.6496, allocations: 4.057 MB / 0.6951 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/0.6497, allocations: 60.81 kB / 0.6952 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.6498, allocations: 0.6562 kB / 0.6952 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005913/0.6557, allocations: 1.593 MB / 0.6967 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/0.6567, allocations: 183.7 kB / 0.6969 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.6715, allocations: 7.887 MB / 0.7046 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.6732, allocations: 183 kB / 0.7048 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6733, allocations: 40.84 kB / 0.7048 GB, free: 11.08 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.6736, allocations: 161.7 kB / 0.705 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.6739, allocations: 122.5 kB / 0.7051 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.6862, allocations: 4.087 MB / 0.7091 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6862, allocations: 11.98 kB / 0.7091 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6862, allocations: 8 kB / 0.7091 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.6862, allocations: 7.984 kB / 0.7091 GB, free: 6.652 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.01389/0.7001, allocations: 5.59 MB / 0.7145 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7001, allocations: 0 / 0.7145 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.7008, allocations: 99.89 kB / 0.7146 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004736/0.7055, allocations: 1.49 MB / 0.7161 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.7057, allocations: 11.98 kB / 0.7161 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.7191, allocations: 7.532 MB / 0.7235 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7192, allocations: 0 / 0.7235 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.7321, allocations: 4.845 MB / 0.7282 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.7325, allocations: 235.2 kB / 0.7284 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.7327, allocations: 0 / 0.7284 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.734, allocations: 131.9 kB / 0.7285 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/0.7344, allocations: 204.8 kB / 0.7287 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.7345, allocations: 24 kB / 0.7288 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008821/0.7354, allocations: 0.6536 MB / 0.7294 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7354, allocations: 0 / 0.7294 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001302/0.7367, allocations: 412.7 kB / 0.7298 GB, free: 1.047 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002691/0.737, allocations: 143 kB / 0.7299 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004914/0.7419, allocations: 2.168 MB / 0.7321 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7419, allocations: 0 / 0.7321 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00367/0.7456, allocations: 1.571 MB / 0.7336 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.7462, allocations: 84.58 kB / 0.7337 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.7494, allocations: 1.876 MB / 0.7355 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.7501, allocations: 1.159 MB / 0.7366 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003928/0.7505, allocations: 98.75 kB / 0.7367 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.7508, allocations: 68.27 kB / 0.7368 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7508, allocations: 0 / 0.7368 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of Templates: time 0.03083/0.7816, allocations: 19.64 MB / 0.756 GB, free: 6.301 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)