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.001009/0.00101, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.33/1.33, allocations: 223.3 MB / 239 MB, free: 5.633 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.001065/0.001065, allocations: 180.5 kB / 290.3 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5128/0.5128, allocations: 91.92 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 16 kB / 0.5042 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 72.47 MB / 0.5749 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI): time 0.004065/0.3236, allocations: 5.889 MB / 0.5807 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.3264, allocations: 1.938 MB / 0.5826 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.3269, allocations: 11.31 kB / 0.5826 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.3274, allocations: 170 kB / 0.5828 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3289, allocations: 0.6546 MB / 0.5834 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.33, allocations: 0.5471 MB / 0.5839 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.3311, allocations: 1.383 MB / 0.5853 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.3314, allocations: 254.6 kB / 0.5855 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.332, allocations: 0.5359 MB / 0.586 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.3326, allocations: 0.7227 MB / 0.5867 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3327, allocations: 56.5 kB / 0.5868 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.3331, allocations: 185.2 kB / 0.587 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.3333, allocations: 253.8 kB / 0.5872 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3335, allocations: 229.8 kB / 0.5874 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.3343, allocations: 1.213 MB / 0.5886 GB, free: 29.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3343, allocations: 0 / 0.5886 GB, free: 29.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3343, allocations: 0 / 0.5886 GB, free: 29.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.3343, allocations: 3.906 kB / 0.5886 GB, free: 29.16 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.007098/0.3414, allocations: 2.485 MB / 0.5911 GB, free: 28.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3415, allocations: 9.031 kB / 0.5911 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004798/0.3463, allocations: 0.7887 MB / 0.5918 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.3477, allocations: 0.8374 MB / 0.5927 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.3479, allocations: 241.5 kB / 0.5929 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.3481, allocations: 82.38 kB / 0.593 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3501, allocations: 1.154 MB / 0.5941 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3501, allocations: 0.875 kB / 0.5941 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.3502, allocations: 26.88 kB / 0.5941 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3502, allocations: 24.19 kB / 0.5941 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.3522, allocations: 1.068 MB / 0.5952 GB, free: 26.32 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.006341/0.3585, allocations: 3.972 MB / 0.5991 GB, free: 24.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.3657, allocations: 2.878 MB / 0.6019 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.3672, allocations: 0.7518 MB / 0.6026 GB, free: 22.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.3673, allocations: 16.98 kB / 0.6026 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3674, allocations: 44.36 kB / 0.6027 GB, free: 22.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.737e-06/0.3674, allocations: 3.938 kB / 0.6027 GB, free: 22.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02789/0.3953, allocations: 8.299 MB / 0.6108 GB, free: 21.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.3954, allocations: 151.4 kB / 0.6109 GB, free: 21.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.3971, allocations: 1.061 MB / 0.612 GB, free: 20.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.3974, allocations: 46.2 kB / 0.612 GB, free: 20.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.3977, allocations: 498.9 kB / 0.6125 GB, free: 20.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.398, allocations: 350.8 kB / 0.6128 GB, free: 20.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.3981, allocations: 29.53 kB / 0.6128 GB, free: 20.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.3982, allocations: 360.3 kB / 0.6132 GB, free: 19.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.3998, allocations: 0.8146 MB / 0.614 GB, free: 19.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.4015, allocations: 0.9927 MB / 0.6149 GB, free: 19.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4032, allocations: 0.9521 MB / 0.6159 GB, free: 18.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4032, allocations: 1.219 kB / 0.6159 GB, free: 18.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01226/0.4155, allocations: 5.139 MB / 0.6209 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.4157, allocations: 230.7 kB / 0.6211 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.4157, allocations: 4 kB / 0.6211 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005206/0.4209, allocations: 1.86 MB / 0.6229 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4223, allocations: 279.5 kB / 0.6232 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.4389, allocations: 8.798 MB / 0.6318 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.4407, allocations: 230.7 kB / 0.632 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4408, allocations: 51.98 kB / 0.6321 GB, free: 2.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.4408, allocations: 5.875 kB / 0.6321 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01231/0.4532, allocations: 4.973 MB / 0.6369 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.4532, allocations: 4 kB / 0.6369 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005674/0.4589, allocations: 1.859 MB / 0.6387 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.4604, allocations: 271.6 kB / 0.639 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.4796, allocations: 8.796 MB / 0.6476 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.4814, allocations: 207 kB / 0.6478 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.4816, allocations: 55.97 kB / 0.6478 GB, free: 2.457 MB / 446.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 152 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007109/0.4823, allocations: 370.6 kB / 0.6482 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.4826, allocations: 126.4 kB / 0.6483 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.4949, allocations: 4.595 MB / 0.6528 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.4949, allocations: 11.95 kB / 0.6528 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.495, allocations: 12 kB / 0.6528 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/0.495, allocations: 3.984 kB / 0.6528 GB, free: 13.3 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.01468/0.5097, allocations: 6.242 MB / 0.6589 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.5097, allocations: 4 kB / 0.6589 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/0.5105, allocations: 115.8 kB / 0.659 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005283/0.5157, allocations: 1.796 MB / 0.6608 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.5159, allocations: 20 kB / 0.6608 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.5321, allocations: 7.601 MB / 0.6682 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5322, allocations: 0 / 0.6682 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.5467, allocations: 5.521 MB / 0.6736 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.5474, allocations: 231.2 kB / 0.6738 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004129/0.5478, allocations: 16 kB / 0.6739 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.5491, allocations: 139.9 kB / 0.674 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/0.5497, allocations: 180.6 kB / 0.6742 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.5498, allocations: 28.08 kB / 0.6742 GB, free: 7.125 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001208/0.551, allocations: 0.7271 MB / 0.6749 GB, free: 6.391 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.551, allocations: 0 / 0.6749 GB, free: 6.391 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002545/0.5536, allocations: 0.7452 MB / 0.6756 GB, free: 5.645 MB / 478.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 (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: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/0.5539, allocations: 123.2 kB / 0.6757 GB, free: 5.516 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01097/0.5648, allocations: 4.845 MB / 0.6805 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5649, allocations: 0 / 0.6805 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004141/0.569, allocations: 1.661 MB / 0.6821 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.5703, allocations: 122.8 kB / 0.6822 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.5748, allocations: 2.685 MB / 0.6848 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/0.5757, allocations: 1.133 MB / 0.6859 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007752/0.5765, allocations: 159.7 kB / 0.6861 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.5768, allocations: 79.41 kB / 0.6862 GB, free: 10.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5768, allocations: 0 / 0.6862 GB, free: 10.68 MB / 494.1 MB Notification: Performance of Templates: time 0.04327/0.6201, allocations: 26.89 MB / 0.7124 GB, free: 15.79 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)