Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 170.7 kB / 16.1 MB, free: 5.691 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.321/1.321, allocations: 223.3 MB / 240.1 MB, free: 11.69 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.0008706/0.0008705, allocations: 87.2 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4567/0.4567, allocations: 78.62 MB / 421 MB, free: 9.086 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003732, allocations: 8 kB / 0.4894 GB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.008241/0.293, allocations: 13.19 MB / 0.57 GB, free: 5.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006427/0.2995, allocations: 3.426 MB / 0.5734 GB, free: 2.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.302, allocations: 28 kB / 0.5734 GB, free: 2.109 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.3035, allocations: 405.3 kB / 0.5738 GB, free: 1.711 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.3077, allocations: 1.16 MB / 0.5749 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.311, allocations: 1.367 MB / 0.5762 GB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.3157, allocations: 3.211 MB / 0.5794 GB, free: 11.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.317, allocations: 0.6476 MB / 0.58 GB, free: 11.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.319, allocations: 1.244 MB / 0.5812 GB, free: 10.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.3216, allocations: 1.695 MB / 0.5829 GB, free: 8.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008257/0.3225, allocations: 140 kB / 0.583 GB, free: 8.203 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3238, allocations: 267.9 kB / 0.5833 GB, free: 7.941 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008778/0.3247, allocations: 0.5673 MB / 0.5838 GB, free: 7.371 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.3262, allocations: 1.407 MB / 0.5852 GB, free: 5.949 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.3288, allocations: 2.713 MB / 0.5878 GB, free: 3.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3288, allocations: 0 / 0.5878 GB, free: 3.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3288, allocations: 0 / 0.5878 GB, free: 3.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.159e-05/0.3289, allocations: 3.938 kB / 0.5878 GB, free: 3.227 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01912/0.348, allocations: 5.785 MB / 0.5935 GB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.348, allocations: 8.031 kB / 0.5935 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.3625, allocations: 2.271 MB / 0.5957 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.366, allocations: 1.685 MB / 0.5974 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007387/0.3668, allocations: 0.6902 MB / 0.598 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007236/0.3675, allocations: 211.9 kB / 0.5982 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/0.3747, allocations: 3.109 MB / 0.6013 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/0.3747, allocations: 0 / 0.6013 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003436/0.3751, allocations: 83.94 kB / 0.6014 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.3751, allocations: 59.92 kB / 0.6014 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006248/0.3814, allocations: 2.885 MB / 0.6042 GB, free: 2.184 MB / 410.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.01798/0.3994, allocations: 9.931 MB / 0.6139 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.4105, allocations: 4.81 MB / 0.6186 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004093/0.4146, allocations: 2.119 MB / 0.6207 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.4149, allocations: 33.97 kB / 0.6207 GB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.415, allocations: 56.56 kB / 0.6208 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=230): time 4.488e-06/0.415, allocations: 0 / 0.6208 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of matching and sorting (n=230): time 0.1135/0.5285, allocations: 32.47 MB / 0.6525 GB, free: 152 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/0.5286, allocations: 128.8 kB / 0.6526 GB, free: 0 / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.5323, allocations: 2.029 MB / 0.6546 GB, free: 13.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007455/0.533, allocations: 77.64 kB / 0.6547 GB, free: 13.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.5341, allocations: 1.093 MB / 0.6557 GB, free: 12.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/0.5355, allocations: 0.8125 MB / 0.6565 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004685/0.5359, allocations: 260 kB / 0.6568 GB, free: 11.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5361, allocations: 305.1 kB / 0.6571 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004495/0.5406, allocations: 2.106 MB / 0.6591 GB, free: 9.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004758/0.5453, allocations: 2.469 MB / 0.6615 GB, free: 6.703 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05911/0.6045, allocations: 15.54 MB / 0.6767 GB, free: 7.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.6045, allocations: 4 kB / 0.6767 GB, free: 7.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=385) (initialization): time 0.3045/0.9091, allocations: 14.96 MB / 0.6913 GB, free: 108.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.9093, allocations: 298.3 kB / 0.6916 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.9094, allocations: 7.75 kB / 0.6916 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01848/0.9279, allocations: 6.395 MB / 0.6979 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.9303, allocations: 0.497 MB / 0.6983 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05342/0.9838, allocations: 24.93 MB / 0.7227 GB, free: 90.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/0.9876, allocations: 0.5356 MB / 0.7232 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005463/0.9881, allocations: 104 kB / 0.7233 GB, free: 89.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.9882, allocations: 4 kB / 0.7233 GB, free: 89.53 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03724/1.025, allocations: 14.66 MB / 0.7376 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/1.025, allocations: 7.938 kB / 0.7376 GB, free: 74.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01687/1.042, allocations: 6.391 MB / 0.7439 GB, free: 68.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/1.045, allocations: 483.3 kB / 0.7443 GB, free: 67.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05256/1.097, allocations: 24.93 MB / 0.7687 GB, free: 42.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/1.101, allocations: 0.4935 MB / 0.7692 GB, free: 42.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005757/1.102, allocations: 108 kB / 0.7693 GB, free: 42.37 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (296): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001486/1.103, allocations: 0.5088 MB / 0.7698 GB, free: 41.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007045/1.104, allocations: 280.5 kB / 0.77 GB, free: 41.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03594/1.14, allocations: 14.32 MB / 0.784 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/1.14, allocations: 20 kB / 0.784 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.075e-05/1.14, allocations: 20 kB / 0.7841 GB, free: 27.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.425e-05/1.14, allocations: 15.89 kB / 0.7841 GB, free: 27.17 MB / 490.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.04195/1.182, allocations: 17.91 MB / 0.8016 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.182, allocations: 0 / 0.8016 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.183, allocations: 255.8 kB / 0.8018 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01576/1.199, allocations: 6.021 MB / 0.8077 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004895/1.2, allocations: 47.98 kB / 0.8077 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05181/1.252, allocations: 21.43 MB / 0.8287 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.252, allocations: 0 / 0.8287 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04641/1.298, allocations: 16.82 MB / 0.8451 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.299, allocations: 389.2 kB / 0.8455 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000881/1.3, allocations: 43.94 kB / 0.8455 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.303, allocations: 367.7 kB / 0.8458 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002129/1.305, allocations: 0.5332 MB / 0.8464 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003671/1.306, allocations: 55.98 kB / 0.8464 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00219/1.308, allocations: 1.334 MB / 0.8477 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.308, allocations: 0 / 0.8477 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005735/1.314, allocations: 1.868 MB / 0.8496 GB, free: 7.797 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005343/1.314, allocations: 168.2 kB / 0.8497 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03335/1.348, allocations: 12.34 MB / 0.8618 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.348, allocations: 0 / 0.8618 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/1.361, allocations: 4.582 MB / 0.8662 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.363, allocations: 228.4 kB / 0.8665 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/1.375, allocations: 6.545 MB / 0.8728 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.376, allocations: 1.745 MB / 0.8745 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000925/1.377, allocations: 159.4 kB / 0.8747 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of SimCode: time 9.72e-07/1.377, allocations: 7.938 kB / 0.8747 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.3095/1.687, allocations: 51.96 MB / 0.9255 GB, free: 191.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)