Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.329/1.329, allocations: 223.2 MB / 238.9 MB, free: 5.676 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.001066/0.001066, allocations: 185 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4095/0.4095, allocations: 78.51 MB / 419.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 12 kB / 499.7 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 69.37 MB / 0.5557 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.187/0.2931, allocations: 11.55 MB / 0.567 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006207/0.2993, allocations: 3.401 MB / 0.5703 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.3012, allocations: 33.44 kB / 0.5703 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3023, allocations: 358.5 kB / 0.5707 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.3057, allocations: 1.267 MB / 0.5719 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.3083, allocations: 1.254 MB / 0.5731 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003215/0.3115, allocations: 2.205 MB / 0.5753 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.3123, allocations: 0.6132 MB / 0.5759 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.3137, allocations: 1.198 MB / 0.577 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.3152, allocations: 1.597 MB / 0.5786 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003924/0.3156, allocations: 136.8 kB / 0.5787 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006947/0.3163, allocations: 252.9 kB / 0.579 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.3166, allocations: 0.5436 MB / 0.5795 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.3171, allocations: 0.4906 MB / 0.58 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.3194, allocations: 2.578 MB / 0.5825 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3194, allocations: 3.938 kB / 0.5825 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3194, allocations: 0 / 0.5825 GB, free: 28.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001036/0.3195, allocations: 1.781 kB / 0.5825 GB, free: 28.3 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01942/0.339, allocations: 5.821 MB / 0.5882 GB, free: 26.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.339, allocations: 9.375 kB / 0.5882 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.354, allocations: 2.272 MB / 0.5904 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/0.3573, allocations: 1.587 MB / 0.592 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/0.3579, allocations: 0.6912 MB / 0.5926 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004949/0.3584, allocations: 205.5 kB / 0.5928 GB, free: 24.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006428/0.3648, allocations: 3.089 MB / 0.5958 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.3649, allocations: 0 / 0.5958 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.3652, allocations: 80.44 kB / 0.5959 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.3652, allocations: 49.92 kB / 0.596 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006269/0.3715, allocations: 2.879 MB / 0.5988 GB, free: 22.19 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.01975/0.3913, allocations: 10.21 MB / 0.6088 GB, free: 16.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.4027, allocations: 4.812 MB / 0.6135 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/0.4031, allocations: 40.38 kB / 0.6135 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4031, allocations: 56.53 kB / 0.6135 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=230): time 4.128e-06/0.4031, allocations: 0 / 0.6135 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=230): time 0.1089/0.512, allocations: 32.32 MB / 0.6451 GB, free: 2.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/0.5122, allocations: 132.8 kB / 0.6452 GB, free: 2.047 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/0.5149, allocations: 2.011 MB / 0.6472 GB, free: 20 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006097/0.5156, allocations: 69.7 kB / 0.6473 GB, free: 15.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008003/0.5164, allocations: 1.093 MB / 0.6483 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.5174, allocations: 0.8125 MB / 0.6491 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.5177, allocations: 60 kB / 0.6492 GB, free: 13.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.5179, allocations: 416.2 kB / 0.6496 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/0.5222, allocations: 2.095 MB / 0.6516 GB, free: 11.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/0.5268, allocations: 2.457 MB / 0.654 GB, free: 8.891 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004569/0.5314, allocations: 2.245 MB / 0.6562 GB, free: 6.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.5314, allocations: 7.984 kB / 0.6562 GB, free: 6.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=385) (initialization): time 0.04211/0.5735, allocations: 14.96 MB / 0.6708 GB, free: 7.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008364/0.5744, allocations: 2.709 MB / 0.6735 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.5744, allocations: 4 kB / 0.6735 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/0.5942, allocations: 6.484 MB / 0.6798 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.5967, allocations: 496.2 kB / 0.6803 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06258/0.6593, allocations: 27.89 MB / 0.7075 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/0.6634, allocations: 0.5375 MB / 0.7081 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.6639, allocations: 111.9 kB / 0.7082 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6639, allocations: 4 kB / 0.7082 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0411/0.705, allocations: 14.64 MB / 0.7225 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.7051, allocations: 8.547 kB / 0.7225 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01962/0.7247, allocations: 6.476 MB / 0.7288 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.7271, allocations: 483.3 kB / 0.7293 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06343/0.7906, allocations: 27.89 MB / 0.7565 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003945/0.7945, allocations: 0.4986 MB / 0.757 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/0.795, allocations: 108 kB / 0.7571 GB, free: 14.46 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.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 order3_2.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 (294): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001625/0.7967, allocations: 0.5137 MB / 0.7576 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007742/0.7975, allocations: 276.6 kB / 0.7578 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2301/1.028, allocations: 14.3 MB / 0.7718 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/1.028, allocations: 22.97 kB / 0.7718 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/1.028, allocations: 17.94 kB / 0.7719 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-05/1.028, allocations: 11.25 kB / 0.7719 GB, free: 158.9 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.04202/1.07, allocations: 17.88 MB / 0.7893 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.07, allocations: 2.844 kB / 0.7893 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.071, allocations: 255 kB / 0.7896 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0175/1.089, allocations: 6.023 MB / 0.7954 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/1.089, allocations: 45.41 kB / 0.7955 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05138/1.141, allocations: 22.7 MB / 0.8177 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/1.141, allocations: 8.469 kB / 0.8177 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04052/1.181, allocations: 16.87 MB / 0.8341 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000811/1.182, allocations: 390.5 kB / 0.8345 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005676/1.183, allocations: 44 kB / 0.8345 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.185, allocations: 368.8 kB / 0.8349 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/1.187, allocations: 0.5434 MB / 0.8354 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.187, allocations: 60.5 kB / 0.8355 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001433/1.189, allocations: 1.313 MB / 0.8368 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.189, allocations: 0 / 0.8368 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004754/1.194, allocations: 1.87 MB / 0.8386 GB, free: 141.4 MB / 0.5606 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 (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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004389/1.194, allocations: 162.6 kB / 0.8388 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02942/1.223, allocations: 12.57 MB / 0.851 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.223, allocations: 0.5 kB / 0.851 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/1.235, allocations: 4.603 MB / 0.8555 GB, free: 126 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.237, allocations: 185 kB / 0.8557 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/1.245, allocations: 6.41 MB / 0.862 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/1.246, allocations: 1.804 MB / 0.8637 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001269/1.247, allocations: 272.8 kB / 0.864 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/1.247, allocations: 151.4 kB / 0.8641 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/1.247, allocations: 4 kB / 0.8641 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.08023/1.328, allocations: 73.78 MB / 0.9362 GB, free: 43.45 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1) Environment - environmentSimulation: