Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008919/0.0008918, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.338/1.338, allocations: 223.3 MB / 239 MB, free: 5.445 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.001319/0.001319, allocations: 176.6 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5117/0.5117, allocations: 78.55 MB / 419.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 11.94 kB / 499.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 69.37 MB / 0.5558 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.2612/0.4037, allocations: 5.83 MB / 0.5615 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.4076, allocations: 1.924 MB / 0.5634 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005763/0.4082, allocations: 11.69 kB / 0.5634 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.4088, allocations: 168.9 kB / 0.5636 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.4107, allocations: 0.6537 MB / 0.5642 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.412, allocations: 0.5367 MB / 0.5647 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4135, allocations: 1.372 MB / 0.5661 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.4139, allocations: 252.9 kB / 0.5663 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.4145, allocations: 0.5395 MB / 0.5668 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.4153, allocations: 0.7236 MB / 0.5675 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.4154, allocations: 57.09 kB / 0.5676 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.4158, allocations: 187 kB / 0.5678 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.416, allocations: 249.5 kB / 0.568 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.4162, allocations: 230.1 kB / 0.5682 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009465/0.4171, allocations: 1.209 MB / 0.5694 GB, free: 35.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4172, allocations: 0 / 0.5694 GB, free: 35.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4172, allocations: 2.219 kB / 0.5694 GB, free: 35.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.4172, allocations: 1 kB / 0.5694 GB, free: 35.66 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006636/0.4238, allocations: 2.501 MB / 0.5718 GB, free: 34.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.4239, allocations: 7.594 kB / 0.5719 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.4285, allocations: 0.7819 MB / 0.5726 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.43, allocations: 0.8383 MB / 0.5734 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.4302, allocations: 241.1 kB / 0.5737 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.4303, allocations: 83.91 kB / 0.5737 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.4323, allocations: 1.15 MB / 0.5749 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.4323, allocations: 0 / 0.5749 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.4324, allocations: 30.11 kB / 0.5749 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4325, allocations: 19.31 kB / 0.5749 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.4343, allocations: 1.069 MB / 0.576 GB, free: 33.7 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.005275/0.4396, allocations: 3.931 MB / 0.5798 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/0.4459, allocations: 2.88 MB / 0.5826 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.4472, allocations: 0.7464 MB / 0.5833 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.4473, allocations: 18.95 kB / 0.5834 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4473, allocations: 39.66 kB / 0.5834 GB, free: 30.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.576e-06/0.4474, allocations: 4 kB / 0.5834 GB, free: 30.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02602/0.4734, allocations: 8.424 MB / 0.5916 GB, free: 28.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.4735, allocations: 144.9 kB / 0.5918 GB, free: 28.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.4755, allocations: 1.08 MB / 0.5928 GB, free: 28.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002584/0.4758, allocations: 43.45 kB / 0.5929 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.4761, allocations: 498.4 kB / 0.5933 GB, free: 27.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.4765, allocations: 340.8 kB / 0.5937 GB, free: 27.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.4766, allocations: 31.88 kB / 0.5937 GB, free: 27.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.4767, allocations: 359.1 kB / 0.594 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.4782, allocations: 0.8122 MB / 0.5948 GB, free: 26.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.48, allocations: 0.9823 MB / 0.5958 GB, free: 26.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.4817, allocations: 0.9386 MB / 0.5967 GB, free: 25.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.4817, allocations: 1.531 kB / 0.5967 GB, free: 25.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01409/0.4958, allocations: 5.13 MB / 0.6017 GB, free: 24.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.4961, allocations: 240 kB / 0.6019 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.4961, allocations: 3.219 kB / 0.602 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006057/0.5021, allocations: 1.846 MB / 0.6038 GB, free: 24.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.5037, allocations: 280.9 kB / 0.604 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/0.5231, allocations: 8.842 MB / 0.6127 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.5254, allocations: 226.8 kB / 0.6129 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.5255, allocations: 54.7 kB / 0.6129 GB, free: 19.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5256, allocations: 7.953 kB / 0.6129 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01129/0.5369, allocations: 4.971 MB / 0.6178 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.5369, allocations: 4.625 kB / 0.6178 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004794/0.5417, allocations: 1.851 MB / 0.6196 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.543, allocations: 263.6 kB / 0.6198 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/0.5593, allocations: 8.848 MB / 0.6285 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.5612, allocations: 207.2 kB / 0.6287 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002946/0.5615, allocations: 51.97 kB / 0.6287 GB, free: 2.934 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(flow=false start = order3.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 (151): * Single equations (assignments): 148 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009898/0.5626, allocations: 380.4 kB / 0.6291 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004633/0.563, allocations: 122.4 kB / 0.6292 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.5745, allocations: 4.599 MB / 0.6337 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.5746, allocations: 8 kB / 0.6337 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.5746, allocations: 8 kB / 0.6337 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/0.5746, allocations: 3.984 kB / 0.6337 GB, free: 13.79 MB / 446.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.01479/0.5894, allocations: 6.23 MB / 0.6398 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.5895, allocations: 0 / 0.6398 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/0.5902, allocations: 111.9 kB / 0.6399 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005021/0.5953, allocations: 1.793 MB / 0.6417 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.5955, allocations: 28.98 kB / 0.6417 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/0.6112, allocations: 7.623 MB / 0.6491 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6113, allocations: 0 / 0.6491 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/0.6252, allocations: 5.511 MB / 0.6545 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.6258, allocations: 231.2 kB / 0.6547 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/0.6263, allocations: 20 kB / 0.6548 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.6275, allocations: 133.6 kB / 0.6549 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/0.6282, allocations: 184.7 kB / 0.6551 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6283, allocations: 28 kB / 0.6551 GB, free: 7.598 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.6296, allocations: 0.7196 MB / 0.6558 GB, free: 6.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6296, allocations: 3.938 kB / 0.6558 GB, free: 6.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002923/0.6326, allocations: 0.753 MB / 0.6565 GB, free: 6.113 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003162/0.6329, allocations: 135.2 kB / 0.6567 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0107/0.6436, allocations: 4.777 MB / 0.6613 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6437, allocations: 0 / 0.6613 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003948/0.6476, allocations: 1.658 MB / 0.6629 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.649, allocations: 109.1 kB / 0.6631 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.6535, allocations: 2.606 MB / 0.6656 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008512/0.6544, allocations: 1.129 MB / 0.6667 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008273/0.6552, allocations: 152.6 kB / 0.6668 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.6556, allocations: 79.41 kB / 0.6669 GB, free: 11.37 MB / 478.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6556, allocations: 0 / 0.6669 GB, free: 11.37 MB / 478.1 MB Notification: Performance of Templates: time 0.04852/0.7041, allocations: 26.98 MB / 0.6933 GB, free: 0.5469 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1) Environment - environmentSimulation: