Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009545, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.477 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.001276/0.001276, allocations: 168.5 kB / 291.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5059/0.5059, allocations: 91.93 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 12 kB / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3581, allocations: 72.46 MB / 0.5762 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI): time 0.004429/0.3626, allocations: 6.278 MB / 0.5823 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.3654, allocations: 2.04 MB / 0.5843 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.3658, allocations: 12.41 kB / 0.5843 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.3663, allocations: 185.9 kB / 0.5845 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3677, allocations: 0.703 MB / 0.5852 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.3687, allocations: 0.6072 MB / 0.5858 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.3697, allocations: 1.468 MB / 0.5872 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.37, allocations: 284.5 kB / 0.5875 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.3705, allocations: 0.5479 MB / 0.588 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006017/0.3711, allocations: 0.7377 MB / 0.5887 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.3712, allocations: 60.34 kB / 0.5888 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.3716, allocations: 189.2 kB / 0.589 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.3718, allocations: 260.7 kB / 0.5892 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.3722, allocations: 0.6116 MB / 0.5898 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007882/0.3729, allocations: 1.227 MB / 0.591 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.373, allocations: 0 / 0.591 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.373, allocations: 3.281 kB / 0.591 GB, free: 27.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.373, allocations: 0 / 0.591 GB, free: 27.73 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007821/0.3808, allocations: 2.466 MB / 0.5934 GB, free: 26.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3809, allocations: 12.66 kB / 0.5934 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/0.3858, allocations: 0.7715 MB / 0.5942 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.3871, allocations: 0.8815 MB / 0.595 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.3873, allocations: 243.1 kB / 0.5953 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.3875, allocations: 82.78 kB / 0.5954 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.3899, allocations: 1.156 MB / 0.5965 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.3899, allocations: 0 / 0.5965 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.39, allocations: 34.88 kB / 0.5965 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.3901, allocations: 18.69 kB / 0.5965 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.3924, allocations: 1.077 MB / 0.5976 GB, free: 24.86 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.006608/0.399, allocations: 3.965 MB / 0.6015 GB, free: 22.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/0.4073, allocations: 2.882 MB / 0.6043 GB, free: 21.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.4089, allocations: 0.7556 MB / 0.605 GB, free: 21.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/0.409, allocations: 21.19 kB / 0.605 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.409, allocations: 45.2 kB / 0.6051 GB, free: 21.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.887e-06/0.409, allocations: 0 / 0.6051 GB, free: 21.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.03096/0.44, allocations: 8.348 MB / 0.6132 GB, free: 19.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.4401, allocations: 144.9 kB / 0.6134 GB, free: 19.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.4423, allocations: 1.075 MB / 0.6144 GB, free: 19.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.4425, allocations: 45.95 kB / 0.6145 GB, free: 19.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.4429, allocations: 494.8 kB / 0.6149 GB, free: 18.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.4433, allocations: 349.4 kB / 0.6153 GB, free: 18.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.4436, allocations: 142.3 kB / 0.6154 GB, free: 18.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.4437, allocations: 301.9 kB / 0.6157 GB, free: 18.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.4455, allocations: 0.8211 MB / 0.6165 GB, free: 17.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.4474, allocations: 1.001 MB / 0.6175 GB, free: 17.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02362/0.471, allocations: 5.999 MB / 0.6233 GB, free: 12.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.4711, allocations: 4 kB / 0.6233 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01373/0.4848, allocations: 5.144 MB / 0.6284 GB, free: 7.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.485, allocations: 238.6 kB / 0.6286 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.485, allocations: 0 / 0.6286 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005565/0.4905, allocations: 1.809 MB / 0.6303 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.4919, allocations: 287.6 kB / 0.6306 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.511, allocations: 8.584 MB / 0.639 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.5132, allocations: 226.7 kB / 0.6392 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/0.5135, allocations: 59.97 kB / 0.6393 GB, free: 12.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.5135, allocations: 4 kB / 0.6393 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/0.5282, allocations: 4.988 MB / 0.6442 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5283, allocations: 0 / 0.6442 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006004/0.5343, allocations: 1.808 MB / 0.6459 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.5357, allocations: 271.7 kB / 0.6462 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.5568, allocations: 8.586 MB / 0.6546 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.5591, allocations: 203 kB / 0.6548 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004115/0.5596, allocations: 55.97 kB / 0.6548 GB, free: 12.17 MB / 462.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 153 * 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,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.5607, allocations: 375.9 kB / 0.6552 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/0.5612, allocations: 126.4 kB / 0.6553 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.5753, allocations: 4.61 MB / 0.6598 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.5753, allocations: 12 kB / 0.6598 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.5753, allocations: 4 kB / 0.6598 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.5754, allocations: 3.984 kB / 0.6598 GB, free: 7.004 MB / 462.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.01739/0.5928, allocations: 6.246 MB / 0.6659 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.5928, allocations: 0 / 0.6659 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.5936, allocations: 123.8 kB / 0.666 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/0.5995, allocations: 1.8 MB / 0.6678 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.5998, allocations: 16 kB / 0.6678 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/0.618, allocations: 7.624 MB / 0.6752 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6181, allocations: 0 / 0.6752 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.6342, allocations: 5.529 MB / 0.6806 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.6348, allocations: 223.3 kB / 0.6809 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/0.6352, allocations: 24 kB / 0.6809 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.6367, allocations: 135.9 kB / 0.681 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005774/0.6373, allocations: 180.7 kB / 0.6812 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.977e-05/0.6374, allocations: 24 kB / 0.6812 GB, free: 0.793 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.6387, allocations: 0.7233 MB / 0.6819 GB, free: 64 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6387, allocations: 4 kB / 0.6819 GB, free: 60 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002606/0.6413, allocations: 0.7452 MB / 0.6826 GB, free: 15.31 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003255/0.6416, allocations: 131.1 kB / 0.6828 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01297/0.6546, allocations: 4.871 MB / 0.6875 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6547, allocations: 0 / 0.6875 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.6596, allocations: 1.686 MB / 0.6892 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.6615, allocations: 122.6 kB / 0.6893 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.6666, allocations: 2.855 MB / 0.6921 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/0.6675, allocations: 1.129 MB / 0.6932 GB, free: 4.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.6679, allocations: 83.41 kB / 0.6933 GB, free: 4.277 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6679, allocations: 0 / 0.6933 GB, free: 4.277 MB / 494.1 MB Notification: Performance of Templates: time 0.03145/0.6993, allocations: 21.73 MB / 0.7145 GB, free: 14.55 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)