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.00579/0.00579, allocations: 170.1 kB / 15.11 MB, free: 5.973 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.161/1.161, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008137/0.0008138, allocations: 84.02 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4052/0.4052, allocations: 79.43 MB / 420.8 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 69.5 MB / 0.5569 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.4194, allocations: 100.1 MB / 0.6546 GB, free: 5.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.4196, allocations: 86.97 kB / 0.6547 GB, free: 5.445 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07944/0.4991, allocations: 32.89 MB / 0.6868 GB, free: 4.395 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4991, allocations: 0 / 0.6868 GB, free: 4.395 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.976e-05/0.4992, allocations: 20 kB / 0.6869 GB, free: 4.375 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.005115/0.5043, allocations: 2.088 MB / 0.6889 GB, free: 2.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.5044, allocations: 8.031 kB / 0.6889 GB, free: 2.215 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.5076, allocations: 0.568 MB / 0.6895 GB, free: 1.645 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.509, allocations: 0.833 MB / 0.6903 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.5092, allocations: 272.1 kB / 0.6905 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.5094, allocations: 80 kB / 0.6906 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.5114, allocations: 1.157 MB / 0.6917 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5114, allocations: 0 / 0.6917 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.5115, allocations: 32 kB / 0.6918 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5115, allocations: 20 kB / 0.6918 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.5135, allocations: 1.058 MB / 0.6928 GB, free: 14.09 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005788/0.5193, allocations: 3.909 MB / 0.6966 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/0.5267, allocations: 2.93 MB / 0.6995 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.5268, allocations: 20.98 kB / 0.6995 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.5282, allocations: 0.892 MB / 0.7004 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=98): time 2.054e-06/0.5283, allocations: 0 / 0.7004 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.02772/0.556, allocations: 8.15 MB / 0.7083 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.5561, allocations: 111.8 kB / 0.7084 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.5576, allocations: 0.9694 MB / 0.7094 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.771e-05/0.5577, allocations: 45.73 kB / 0.7094 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.558, allocations: 0.521 MB / 0.7099 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.5583, allocations: 350.9 kB / 0.7103 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.5584, allocations: 20 kB / 0.7103 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5586, allocations: 341.9 kB / 0.7106 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.5598, allocations: 0.6663 MB / 0.7113 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.5612, allocations: 0.7977 MB / 0.7121 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.5626, allocations: 0.7658 MB / 0.7128 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5626, allocations: 0 / 0.7128 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01304/0.5757, allocations: 4.783 MB / 0.7175 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.5757, allocations: 59.41 kB / 0.7175 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5757, allocations: 4 kB / 0.7175 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006606/0.5824, allocations: 2.003 MB / 0.7195 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.5832, allocations: 175.8 kB / 0.7197 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/0.604, allocations: 10.82 MB / 0.7302 GB, free: 7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.6057, allocations: 199.1 kB / 0.7304 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.6058, allocations: 39.98 kB / 0.7305 GB, free: 6.766 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.0006432/0.6065, allocations: 292.4 kB / 0.7307 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.6068, allocations: 130.4 kB / 0.7309 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.6198, allocations: 4.776 MB / 0.7355 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.6198, allocations: 12 kB / 0.7355 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.6199, allocations: 8 kB / 0.7355 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6199, allocations: 3.984 kB / 0.7355 GB, free: 1.516 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01468/0.6346, allocations: 6.379 MB / 0.7418 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6346, allocations: 0 / 0.7418 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.6352, allocations: 107.8 kB / 0.7419 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005342/0.6406, allocations: 1.872 MB / 0.7437 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.6407, allocations: 24 kB / 0.7437 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.6598, allocations: 10.13 MB / 0.7536 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6599, allocations: 3.938 kB / 0.7536 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/0.6743, allocations: 5.728 MB / 0.7592 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.6748, allocations: 235.1 kB / 0.7594 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.675, allocations: 24 kB / 0.7595 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.6763, allocations: 147.9 kB / 0.7596 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/0.6768, allocations: 192.7 kB / 0.7598 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/0.6769, allocations: 31.98 kB / 0.7598 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001126/0.678, allocations: 0.7595 MB / 0.7606 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6781, allocations: 0 / 0.7606 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001267/0.6793, allocations: 447.5 kB / 0.761 GB, free: 6.988 MB / 0.5573 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 () * Number of clocked 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.0002809/0.6796, allocations: 163 kB / 0.7611 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006/0.6856, allocations: 2.649 MB / 0.7637 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6856, allocations: 4.25 kB / 0.7637 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004099/0.6897, allocations: 1.838 MB / 0.7655 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.6904, allocations: 112.5 kB / 0.7656 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1968/0.8872, allocations: 2.864 MB / 0.7684 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.8879, allocations: 1.161 MB / 0.7696 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005536/0.8885, allocations: 101.6 kB / 0.7697 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.8888, allocations: 67.78 kB / 0.7697 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/0.8888, allocations: 1.031 kB / 0.7697 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.0294/0.9182, allocations: 21.4 MB / 0.7906 GB, free: 144.9 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)