Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 176 kB / 16.07 MB, free: 5.531 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.5/1.5, allocations: 222.8 MB / 239.7 MB, free: 10.22 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008901, allocations: 96.75 kB / 290.4 MB, free: 11.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4195/0.4195, allocations: 78.42 MB / 419.6 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005006, allocations: 12 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 68.75 MB / 0.5545 GB, free: 20.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.004935/0.2615, allocations: 6.825 MB / 0.5612 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.2643, allocations: 2.064 MB / 0.5632 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.2647, allocations: 15.94 kB / 0.5632 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.2652, allocations: 190.8 kB / 0.5634 GB, free: 11.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.2666, allocations: 0.7248 MB / 0.5641 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.2676, allocations: 0.603 MB / 0.5647 GB, free: 9.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008957/0.2685, allocations: 1.511 MB / 0.5662 GB, free: 8.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.2688, allocations: 285.3 kB / 0.5664 GB, free: 8.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.2693, allocations: 0.5715 MB / 0.567 GB, free: 7.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.2698, allocations: 0.7737 MB / 0.5677 GB, free: 6.656 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.2699, allocations: 60 kB / 0.5678 GB, free: 6.598 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.2703, allocations: 187.9 kB / 0.568 GB, free: 6.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.2704, allocations: 270.7 kB / 0.5682 GB, free: 6.148 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.2708, allocations: 0.6093 MB / 0.5688 GB, free: 5.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.2715, allocations: 1.249 MB / 0.57 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2715, allocations: 4 kB / 0.5701 GB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2715, allocations: 0 / 0.5701 GB, free: 4.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.2715, allocations: 0 / 0.5701 GB, free: 4.281 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.007196/0.2787, allocations: 2.482 MB / 0.5725 GB, free: 1.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2788, allocations: 8.031 kB / 0.5725 GB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/0.2834, allocations: 0.7826 MB / 0.5732 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.2848, allocations: 0.9062 MB / 0.5741 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.285, allocations: 230.4 kB / 0.5744 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.2852, allocations: 87.89 kB / 0.5744 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.2872, allocations: 1.099 MB / 0.5755 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2872, allocations: 3.938 kB / 0.5755 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.618e-05/0.2873, allocations: 36 kB / 0.5755 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.2874, allocations: 16 kB / 0.5756 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.2893, allocations: 1.015 MB / 0.5766 GB, free: 13.45 MB / 394.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.006431/0.2958, allocations: 3.925 MB / 0.5804 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006967/0.3028, allocations: 2.35 MB / 0.5827 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.3041, allocations: 0.7034 MB / 0.5834 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.3042, allocations: 12.98 kB / 0.5834 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3042, allocations: 51.48 kB / 0.5834 GB, free: 6.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 2.735e-06/0.3042, allocations: 0 / 0.5834 GB, free: 6.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.02461/0.3289, allocations: 6.724 MB / 0.59 GB, free: 15.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.329, allocations: 145.5 kB / 0.5901 GB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.3306, allocations: 1.111 MB / 0.5912 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.3307, allocations: 45.7 kB / 0.5913 GB, free: 14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.3311, allocations: 0.493 MB / 0.5917 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.3314, allocations: 351.1 kB / 0.5921 GB, free: 13.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.3316, allocations: 141.6 kB / 0.5922 GB, free: 13.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.3317, allocations: 301.1 kB / 0.5925 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.3333, allocations: 0.7769 MB / 0.5933 GB, free: 11.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.3349, allocations: 0.9507 MB / 0.5942 GB, free: 10.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02333/0.3583, allocations: 5.785 MB / 0.5998 GB, free: 5.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.3583, allocations: 0 / 0.5998 GB, free: 5.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01356/0.3719, allocations: 4.422 MB / 0.6042 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.3721, allocations: 242.7 kB / 0.6044 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3721, allocations: 0 / 0.6044 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005859/0.378, allocations: 1.623 MB / 0.606 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.3794, allocations: 267.6 kB / 0.6062 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.3978, allocations: 7.944 MB / 0.614 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.3996, allocations: 194.7 kB / 0.6142 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.3997, allocations: 55.97 kB / 0.6142 GB, free: 6.102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.3997, allocations: 4 kB / 0.6142 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01274/0.4125, allocations: 4.273 MB / 0.6184 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4125, allocations: 0 / 0.6184 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005639/0.4182, allocations: 1.625 MB / 0.62 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.4196, allocations: 263.6 kB / 0.6202 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/0.4378, allocations: 7.941 MB / 0.628 GB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.4395, allocations: 182.8 kB / 0.6282 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.4397, allocations: 55.92 kB / 0.6282 GB, free: 7.598 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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 (157): * Single equations (assignments): 154 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006631/0.4404, allocations: 395.6 kB / 0.6286 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.4406, allocations: 126.4 kB / 0.6287 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.4521, allocations: 3.786 MB / 0.6324 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4521, allocations: 16 kB / 0.6324 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4522, allocations: 4 kB / 0.6324 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.4522, allocations: 7.984 kB / 0.6324 GB, free: 3.227 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.01386/0.4661, allocations: 5.449 MB / 0.6378 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.4661, allocations: 0 / 0.6378 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.4668, allocations: 119.8 kB / 0.6379 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/0.4717, allocations: 1.508 MB / 0.6394 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.4718, allocations: 27.98 kB / 0.6394 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.4865, allocations: 6.749 MB / 0.646 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4865, allocations: 4 kB / 0.646 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.4996, allocations: 4.669 MB / 0.6505 GB, free: 416 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.5001, allocations: 227.2 kB / 0.6508 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.5003, allocations: 19.98 kB / 0.6508 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5014, allocations: 103.8 kB / 0.6509 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/0.5019, allocations: 180.7 kB / 0.651 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/0.502, allocations: 24 kB / 0.6511 GB, free: 15.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.5031, allocations: 0.7551 MB / 0.6518 GB, free: 15.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5031, allocations: 4 kB / 0.6518 GB, free: 15.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002058/0.5052, allocations: 0.7725 MB / 0.6526 GB, free: 14.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002455/0.5055, allocations: 136.3 kB / 0.6527 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01131/0.5168, allocations: 4.474 MB / 0.6571 GB, free: 9.621 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.5168, allocations: 0 / 0.6571 GB, free: 9.621 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.5211, allocations: 1.447 MB / 0.6585 GB, free: 8.148 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5225, allocations: 118.6 kB / 0.6586 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.527, allocations: 2.846 MB / 0.6614 GB, free: 5.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.5277, allocations: 1.145 MB / 0.6625 GB, free: 3.984 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.5281, allocations: 83.42 kB / 0.6626 GB, free: 3.902 MB / 474.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5281, allocations: 0 / 0.6626 GB, free: 3.902 MB / 474.7 MB Notification: Performance of Templates: time 0.2218/0.7499, allocations: 22.13 MB / 0.6842 GB, free: 116 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)