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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009248, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 239.4 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 172.5 kB / 290.6 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5522/0.5522, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003859, allocations: 12 kB / 0.5048 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4481, allocations: 72.47 MB / 0.5755 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.00544/0.4536, allocations: 6.554 MB / 0.5819 GB, free: 32.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.4577, allocations: 2.056 MB / 0.5839 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007674/0.4585, allocations: 11.41 kB / 0.5839 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.4592, allocations: 189.2 kB / 0.5841 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.4612, allocations: 0.7281 MB / 0.5848 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.4624, allocations: 0.5989 MB / 0.5854 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4639, allocations: 1.576 MB / 0.587 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.4643, allocations: 291.5 kB / 0.5872 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/0.465, allocations: 0.5934 MB / 0.5878 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007202/0.4657, allocations: 0.7854 MB / 0.5886 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.4659, allocations: 62.91 kB / 0.5886 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.4664, allocations: 195.9 kB / 0.5888 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.4666, allocations: 273.9 kB / 0.5891 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.4671, allocations: 0.6495 MB / 0.5897 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.4684, allocations: 1.62 MB / 0.5913 GB, free: 27.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4684, allocations: 0 / 0.5913 GB, free: 27.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4684, allocations: 1.438 kB / 0.5913 GB, free: 27.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.4684, allocations: 0 / 0.5913 GB, free: 27.21 MB / 430.1 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.009019/0.4775, allocations: 2.597 MB / 0.5938 GB, free: 26.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.4775, allocations: 9.5 kB / 0.5939 GB, free: 26.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005366/0.4829, allocations: 0.7888 MB / 0.5946 GB, free: 25.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.4849, allocations: 0.918 MB / 0.5955 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.4852, allocations: 273.8 kB / 0.5958 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.4854, allocations: 92.2 kB / 0.5959 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.4878, allocations: 1.171 MB / 0.597 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4879, allocations: 0 / 0.597 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.488, allocations: 31.5 kB / 0.597 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.488, allocations: 17.75 kB / 0.5971 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.4903, allocations: 1.07 MB / 0.5981 GB, free: 24.22 MB / 430.1 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.007563/0.4978, allocations: 3.998 MB / 0.602 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009101/0.507, allocations: 2.958 MB / 0.6049 GB, free: 21.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.5091, allocations: 0.753 MB / 0.6056 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.5092, allocations: 21.02 kB / 0.6057 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/0.5113, allocations: 0.8945 MB / 0.6065 GB, free: 20.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.286e-06/0.5113, allocations: 0 / 0.6065 GB, free: 20.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.0342/0.5455, allocations: 8.65 MB / 0.615 GB, free: 18.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.5456, allocations: 113.8 kB / 0.6151 GB, free: 18.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.5477, allocations: 1.151 MB / 0.6162 GB, free: 18.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.548, allocations: 45.27 kB / 0.6162 GB, free: 18.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.5483, allocations: 0.4968 MB / 0.6167 GB, free: 17.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.5487, allocations: 366.3 kB / 0.6171 GB, free: 17.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.5489, allocations: 151.4 kB / 0.6172 GB, free: 17.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.5489, allocations: 302.2 kB / 0.6175 GB, free: 17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.5507, allocations: 0.8646 MB / 0.6184 GB, free: 16.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.5525, allocations: 1.042 MB / 0.6194 GB, free: 16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02555/0.5781, allocations: 6.364 MB / 0.6256 GB, free: 9.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.5782, allocations: 0 / 0.6256 GB, free: 9.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01453/0.5927, allocations: 5.348 MB / 0.6308 GB, free: 4.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.5928, allocations: 61.59 kB / 0.6309 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.5928, allocations: 4 kB / 0.6309 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006195/0.599, allocations: 1.947 MB / 0.6328 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.6006, allocations: 295.6 kB / 0.6331 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.6216, allocations: 8.94 MB / 0.6418 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.6243, allocations: 250.5 kB / 0.642 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.6245, allocations: 59.97 kB / 0.6421 GB, free: 8.75 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007573/0.6253, allocations: 302.8 kB / 0.6424 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.6256, allocations: 134.4 kB / 0.6425 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/0.64, allocations: 4.76 MB / 0.6472 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.6401, allocations: 12 kB / 0.6472 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.6401, allocations: 4 kB / 0.6472 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.6402, allocations: 15.91 kB / 0.6472 GB, free: 3.492 MB / 446.1 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 postOpt removeSimpleEquations (simulation): time 0.01702/0.6572, allocations: 6.403 MB / 0.6534 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.6573, allocations: 4 kB / 0.6534 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.658, allocations: 103.8 kB / 0.6535 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006139/0.6642, allocations: 1.881 MB / 0.6554 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.6644, allocations: 16 kB / 0.6554 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.6851, allocations: 9.688 MB / 0.6649 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6852, allocations: 3.938 kB / 0.6649 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.7022, allocations: 5.714 MB / 0.6704 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.703, allocations: 231.2 kB / 0.6707 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.7032, allocations: 27.98 kB / 0.6707 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7046, allocations: 143.9 kB / 0.6708 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006388/0.7052, allocations: 196.6 kB / 0.671 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.7053, allocations: 27.98 kB / 0.671 GB, free: 10.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.7065, allocations: 0.7713 MB / 0.6718 GB, free: 9.832 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7065, allocations: 0 / 0.6718 GB, free: 9.832 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001555/0.7081, allocations: 495.5 kB / 0.6723 GB, free: 9.348 MB / 478.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.7084, allocations: 135.2 kB / 0.6724 GB, free: 9.203 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007473/0.7159, allocations: 2.902 MB / 0.6752 GB, free: 6.258 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7159, allocations: 0 / 0.6752 GB, free: 6.258 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004927/0.7209, allocations: 1.834 MB / 0.677 GB, free: 4.387 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7222, allocations: 112.5 kB / 0.6771 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.727, allocations: 2.99 MB / 0.68 GB, free: 1.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.7278, allocations: 1.132 MB / 0.6811 GB, free: 108 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005381/0.7283, allocations: 124.3 kB / 0.6813 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.7286, allocations: 75.42 kB / 0.6813 GB, free: 15.91 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7286, allocations: 0 / 0.6813 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Templates: time 0.03593/0.7645, allocations: 21.93 MB / 0.7028 GB, free: 10.01 MB / 0.4981 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)