Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004233/0.004233, allocations: 170.8 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.146/1.146, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008566/0.0008565, allocations: 108.6 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4137/0.4137, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 16 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 69.49 MB / 0.5569 GB, free: 38.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.4074, allocations: 99.18 MB / 0.6538 GB, free: 6.414 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4076, allocations: 83.95 kB / 0.6538 GB, free: 6.332 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07747/0.4851, allocations: 31.57 MB / 0.6847 GB, free: 6.613 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4851, allocations: 4 kB / 0.6847 GB, free: 6.609 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.819e-05/0.4852, allocations: 24 kB / 0.6847 GB, free: 6.586 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004846/0.4901, allocations: 1.998 MB / 0.6866 GB, free: 4.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4901, allocations: 8.031 kB / 0.6866 GB, free: 4.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.4933, allocations: 0.5719 MB / 0.6872 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.4946, allocations: 0.7898 MB / 0.688 GB, free: 3.094 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.4949, allocations: 260.2 kB / 0.6882 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.495, allocations: 87.98 kB / 0.6883 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.4969, allocations: 1.133 MB / 0.6894 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.497, allocations: 0 / 0.6894 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.4971, allocations: 28 kB / 0.6894 GB, free: 1.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4971, allocations: 23.94 kB / 0.6895 GB, free: 1.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.4989, allocations: 1.042 MB / 0.6905 GB, free: 488 kB / 490.7 MB 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.005678/0.5046, allocations: 3.797 MB / 0.6942 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/0.5121, allocations: 2.889 MB / 0.697 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.341e-05/0.5122, allocations: 12.98 kB / 0.697 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.5136, allocations: 0.8685 MB / 0.6979 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 4.779e-06/0.5136, allocations: 4 kB / 0.6979 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.02743/0.5411, allocations: 8.546 MB / 0.7062 GB, free: 4 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.5412, allocations: 115.8 kB / 0.7063 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.5426, allocations: 0.9253 MB / 0.7072 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.5427, allocations: 41.7 kB / 0.7073 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.5431, allocations: 0.509 MB / 0.7078 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.5434, allocations: 335 kB / 0.7081 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.5435, allocations: 20 kB / 0.7081 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5436, allocations: 345.9 kB / 0.7084 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.5448, allocations: 0.6422 MB / 0.7091 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.5461, allocations: 0.779 MB / 0.7098 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.5474, allocations: 0.7423 MB / 0.7106 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5474, allocations: 0 / 0.7106 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01247/0.5599, allocations: 4.673 MB / 0.7151 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.5599, allocations: 67.39 kB / 0.7152 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5599, allocations: 4 kB / 0.7152 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005976/0.5659, allocations: 1.9 MB / 0.717 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.5668, allocations: 183.8 kB / 0.7172 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.5859, allocations: 9.479 MB / 0.7265 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.5874, allocations: 206.9 kB / 0.7267 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.5875, allocations: 39.98 kB / 0.7267 GB, free: 10.73 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis 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 (94): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005312/0.5881, allocations: 277.1 kB / 0.727 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5883, allocations: 126.7 kB / 0.7271 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.6008, allocations: 4.728 MB / 0.7317 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.6009, allocations: 12 kB / 0.7317 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.6009, allocations: 8 kB / 0.7317 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.6009, allocations: 7.969 kB / 0.7317 GB, free: 5.531 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.01413/0.615, allocations: 6.269 MB / 0.7379 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6151, allocations: 4 kB / 0.7379 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/0.6156, allocations: 99.92 kB / 0.738 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.6211, allocations: 1.891 MB / 0.7398 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/0.6212, allocations: 27.92 kB / 0.7398 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.6401, allocations: 10.12 MB / 0.7497 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6401, allocations: 0 / 0.7497 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.6542, allocations: 5.654 MB / 0.7552 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.6547, allocations: 231.2 kB / 0.7555 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.6548, allocations: 23.95 kB / 0.7555 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.656, allocations: 143.9 kB / 0.7556 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005184/0.6565, allocations: 192.6 kB / 0.7558 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/0.6566, allocations: 28.25 kB / 0.7558 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001022/0.6576, allocations: 0.7237 MB / 0.7565 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.513e-06/0.6576, allocations: 0 / 0.7565 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00113/0.6588, allocations: 443.5 kB / 0.757 GB, free: 11.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002525/0.659, allocations: 151.8 kB / 0.7571 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00545/0.6645, allocations: 2.468 MB / 0.7595 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6645, allocations: 8 kB / 0.7595 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004018/0.6685, allocations: 1.81 MB / 0.7613 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.6692, allocations: 111.5 kB / 0.7614 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.6726, allocations: 2.583 MB / 0.7639 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.6732, allocations: 1.151 MB / 0.765 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000382/0.6735, allocations: 98.75 kB / 0.7651 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.6738, allocations: 59.44 kB / 0.7652 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.6738, allocations: 0 / 0.7652 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of Templates: time 0.2433/0.9171, allocations: 20.55 MB / 0.7853 GB, free: 146 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)