Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.552/1.552, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001156/0.001156, allocations: 168.6 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5717/0.5717, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004138, allocations: 8 kB / 0.5048 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4035, allocations: 72.47 MB / 0.5755 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI): time 0.0162/0.4198, allocations: 22.52 MB / 0.5975 GB, free: 20.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.4328, allocations: 5.202 MB / 0.6026 GB, free: 16.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006079/0.4389, allocations: 50.72 kB / 0.6027 GB, free: 16.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.4428, allocations: 0.6857 MB / 0.6033 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.4535, allocations: 1.731 MB / 0.605 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006179/0.4597, allocations: 1.945 MB / 0.6069 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.4706, allocations: 5.48 MB / 0.6123 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.4743, allocations: 1.126 MB / 0.6134 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005004/0.4793, allocations: 2.074 MB / 0.6154 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005387/0.4847, allocations: 2.721 MB / 0.618 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002345/0.4871, allocations: 239.2 kB / 0.6183 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.4913, allocations: 378.5 kB / 0.6186 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.4942, allocations: 0.9481 MB / 0.6196 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007366/0.5016, allocations: 2.413 MB / 0.6219 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.5137, allocations: 5.887 MB / 0.6277 GB, free: 3.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5138, allocations: 0 / 0.6277 GB, free: 3.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5138, allocations: 1.125 kB / 0.6277 GB, free: 3.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003685/0.5142, allocations: 0 / 0.6277 GB, free: 3.746 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03844/0.5526, allocations: 8.472 MB / 0.6359 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.5527, allocations: 8.969 kB / 0.6359 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/0.5815, allocations: 4.05 MB / 0.6399 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008855/0.5904, allocations: 2.694 MB / 0.6425 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001313/0.5918, allocations: 0.9673 MB / 0.6435 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001958/0.5938, allocations: 355.9 kB / 0.6438 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.6108, allocations: 5.024 MB / 0.6487 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.6111, allocations: 0 / 0.6487 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/0.6125, allocations: 140 kB / 0.6489 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.51e-05/0.6126, allocations: 87.98 kB / 0.6489 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.6254, allocations: 4.541 MB / 0.6534 GB, free: 13.6 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 preOpt removeSimpleEquations (simulation): time 0.04502/0.6705, allocations: 18.94 MB / 0.6719 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/0.6854, allocations: 5.757 MB / 0.6775 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007197/0.6927, allocations: 3.079 MB / 0.6805 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/0.6935, allocations: 74.92 kB / 0.6806 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.993e-05/0.6936, allocations: 73.5 kB / 0.6806 GB, free: 396 kB / 478.1 MB Notification: Performance of pre-optimization done (n=382): time 7.273e-06/0.6936, allocations: 0 / 0.6806 GB, free: 396 kB / 478.1 MB Notification: Performance of matching and sorting (n=382): time 0.3208/1.014, allocations: 80.9 MB / 0.7596 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.015, allocations: 171.5 kB / 0.7598 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005104/1.02, allocations: 3.266 MB / 0.763 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/1.021, allocations: 89.7 kB / 0.7631 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/1.022, allocations: 1.978 MB / 0.765 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00243/1.025, allocations: 1.317 MB / 0.7663 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007076/1.026, allocations: 342.7 kB / 0.7666 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/1.026, allocations: 305.1 kB / 0.7669 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006417/1.032, allocations: 2.878 MB / 0.7697 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007592/1.04, allocations: 3.514 MB / 0.7732 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4064/1.446, allocations: 21.01 MB / 0.7937 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/1.446, allocations: 8.75 kB / 0.7937 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=536) (initialization): time 0.06972/1.516, allocations: 20.98 MB / 0.8142 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004873/1.516, allocations: 0.5929 MB / 0.8148 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/1.516, allocations: 15.91 kB / 0.8148 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02844/1.545, allocations: 8.632 MB / 0.8232 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004227/1.549, allocations: 0.6642 MB / 0.8238 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08556/1.635, allocations: 35.44 MB / 0.8585 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007873/1.643, allocations: 0.7421 MB / 0.8592 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.644, allocations: 148 kB / 0.8593 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.644, allocations: 4 kB / 0.8593 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05645/1.7, allocations: 20.53 MB / 0.8794 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/1.7, allocations: 16 kB / 0.8794 GB, free: 90.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02832/1.729, allocations: 8.634 MB / 0.8878 GB, free: 82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/1.733, allocations: 0.6631 MB / 0.8885 GB, free: 81.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08422/1.817, allocations: 35.43 MB / 0.9231 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007492/1.824, allocations: 0.713 MB / 0.9238 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.825, allocations: 148 kB / 0.9239 GB, free: 44.95 MB / 0.5606 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 65 * 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 (399): * Single equations (assignments): 396 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002666/1.828, allocations: 0.7522 MB / 0.9246 GB, free: 44.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.83, allocations: 462.2 kB / 0.9251 GB, free: 43.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0568/1.887, allocations: 20.56 MB / 0.9452 GB, free: 23.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/1.887, allocations: 36 kB / 0.9452 GB, free: 23.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/1.887, allocations: 28 kB / 0.9452 GB, free: 23.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001253/1.887, allocations: 23.92 kB / 0.9452 GB, free: 23 MB / 0.5606 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.07214/1.959, allocations: 25.9 MB / 0.9705 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/1.959, allocations: 4.031 kB / 0.9705 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/1.962, allocations: 403.5 kB / 0.9709 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02907/1.991, allocations: 8.62 MB / 0.9793 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/1.992, allocations: 75.92 kB / 0.9794 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4215/2.414, allocations: 30.61 MB / 1.009 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.414, allocations: 1.25 kB / 1.009 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07508/2.489, allocations: 24.23 MB / 1.033 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/2.491, allocations: 0.5589 MB / 1.034 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/2.492, allocations: 68.58 kB / 1.034 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005122/2.497, allocations: 0.4973 MB / 1.034 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00314/2.5, allocations: 0.7559 MB / 1.035 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00045/2.501, allocations: 95.44 kB / 1.035 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003127/2.504, allocations: 2.143 MB / 1.037 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/2.504, allocations: 0 / 1.037 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01185/2.516, allocations: 2.997 MB / 1.04 GB, free: 170 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.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 (252): * Single equations (assignments): 250 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007096/2.517, allocations: 197.9 kB / 1.04 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04883/2.565, allocations: 17.77 MB / 1.057 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/2.566, allocations: 6.625 kB / 1.057 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02113/2.587, allocations: 6.944 MB / 1.064 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006669/2.593, allocations: 398 kB / 1.065 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/2.612, allocations: 10.08 MB / 1.074 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/2.615, allocations: 2.514 MB / 1.077 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003568/2.618, allocations: 453.8 kB / 1.077 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/2.62, allocations: 238.4 kB / 1.078 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.502e-06/2.62, allocations: 0 / 1.078 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1648/2.785, allocations: 113.3 MB / 1.188 GB, free: 28.72 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)