Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.364/1.364, allocations: 223.3 MB / 239 MB, free: 5.594 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.001252/0.001253, allocations: 183.6 kB / 290.3 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4857/0.4857, allocations: 78.56 MB / 419.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003906, allocations: 12 kB / 499.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1614, allocations: 69.38 MB / 0.5558 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.2732/0.4347, allocations: 5.964 MB / 0.5616 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.4391, allocations: 1.948 MB / 0.5635 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.4403, allocations: 13.03 kB / 0.5635 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.4412, allocations: 175.1 kB / 0.5637 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.4441, allocations: 0.6687 MB / 0.5644 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.4457, allocations: 0.5431 MB / 0.5649 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.4479, allocations: 1.42 MB / 0.5663 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005244/0.4484, allocations: 256.8 kB / 0.5665 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009827/0.4494, allocations: 0.5614 MB / 0.5671 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009932/0.4504, allocations: 0.7467 MB / 0.5678 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.4506, allocations: 62.03 kB / 0.5679 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.4512, allocations: 190.2 kB / 0.568 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.4516, allocations: 267.4 kB / 0.5683 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.452, allocations: 231 kB / 0.5685 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.4533, allocations: 1.253 MB / 0.5697 GB, free: 35.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.4533, allocations: 0 / 0.5697 GB, free: 35.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4533, allocations: 1.781 kB / 0.5697 GB, free: 35.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.4534, allocations: 0.5625 kB / 0.5698 GB, free: 35.86 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.007783/0.4611, allocations: 2.547 MB / 0.5722 GB, free: 34.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4612, allocations: 11.31 kB / 0.5722 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/0.4659, allocations: 0.7851 MB / 0.573 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.4677, allocations: 0.8694 MB / 0.5739 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.4679, allocations: 239.7 kB / 0.5741 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.4681, allocations: 86.45 kB / 0.5742 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.4702, allocations: 1.165 MB / 0.5753 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.4702, allocations: 0.625 kB / 0.5753 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.4703, allocations: 31.88 kB / 0.5753 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4703, allocations: 18.38 kB / 0.5754 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.4723, allocations: 1.076 MB / 0.5764 GB, free: 33.67 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.006451/0.4787, allocations: 4.005 MB / 0.5803 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006523/0.4853, allocations: 2.902 MB / 0.5832 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4869, allocations: 0.7602 MB / 0.5839 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.487, allocations: 19.73 kB / 0.5839 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.487, allocations: 44.09 kB / 0.584 GB, free: 30.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.577e-06/0.487, allocations: 0 / 0.584 GB, free: 30.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02562/0.5127, allocations: 8.224 MB / 0.592 GB, free: 28.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.5128, allocations: 140.4 kB / 0.5921 GB, free: 28.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.5152, allocations: 1.12 MB / 0.5932 GB, free: 28.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003861/0.5156, allocations: 45.77 kB / 0.5933 GB, free: 28.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.5161, allocations: 0.4926 MB / 0.5937 GB, free: 27.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/0.5166, allocations: 355.2 kB / 0.5941 GB, free: 27.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5167, allocations: 29.5 kB / 0.5941 GB, free: 27.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5168, allocations: 360.5 kB / 0.5945 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.5187, allocations: 0.8319 MB / 0.5953 GB, free: 26.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.5208, allocations: 1.009 MB / 0.5963 GB, free: 26.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.523, allocations: 0.9736 MB / 0.5972 GB, free: 25.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.523, allocations: 1.188 kB / 0.5972 GB, free: 25.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01571/0.5387, allocations: 5.127 MB / 0.6022 GB, free: 24.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.539, allocations: 236 kB / 0.6024 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.539, allocations: 7.062 kB / 0.6024 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006216/0.5452, allocations: 1.85 MB / 0.6043 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.5472, allocations: 304.8 kB / 0.6045 GB, free: 24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/0.566, allocations: 8.664 MB / 0.613 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.568, allocations: 230.7 kB / 0.6132 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.5681, allocations: 56.14 kB / 0.6133 GB, free: 18.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5681, allocations: 10.3 kB / 0.6133 GB, free: 18.93 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/0.5793, allocations: 4.965 MB / 0.6181 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.5794, allocations: 4 kB / 0.6181 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/0.5842, allocations: 1.851 MB / 0.6199 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.5859, allocations: 295.6 kB / 0.6202 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.6033, allocations: 8.649 MB / 0.6287 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.6058, allocations: 210.9 kB / 0.6289 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000397/0.6063, allocations: 55.97 kB / 0.6289 GB, free: 2.762 MB / 430.1 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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" 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 (161): * Single equations (assignments): 158 * 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 {20 10} Notification: Performance of prepare postOptimizeDAE: time 0.001272/0.6075, allocations: 381.1 kB / 0.6293 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006822/0.6082, allocations: 133.6 kB / 0.6294 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.6203, allocations: 4.618 MB / 0.6339 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.6204, allocations: 12 kB / 0.6339 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.6204, allocations: 8 kB / 0.6339 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/0.6204, allocations: 9.094 kB / 0.634 GB, free: 13.57 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.01618/0.6366, allocations: 6.293 MB / 0.6401 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.6367, allocations: 4 kB / 0.6401 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.6376, allocations: 111.9 kB / 0.6402 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005289/0.6429, allocations: 1.793 MB / 0.642 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/0.6433, allocations: 27.98 kB / 0.642 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.6603, allocations: 7.608 MB / 0.6494 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6604, allocations: 4 kB / 0.6494 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.6753, allocations: 5.557 MB / 0.6549 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/0.6761, allocations: 231.2 kB / 0.6551 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.6767, allocations: 28 kB / 0.6551 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.6783, allocations: 135.9 kB / 0.6552 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007264/0.679, allocations: 180.7 kB / 0.6554 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/0.6792, allocations: 27.98 kB / 0.6554 GB, free: 7.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.6809, allocations: 0.7434 MB / 0.6562 GB, free: 6.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6809, allocations: 0 / 0.6562 GB, free: 6.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003826/0.6848, allocations: 0.7622 MB / 0.6569 GB, free: 5.762 MB / 462.1 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 (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.0004344/0.6852, allocations: 137.1 kB / 0.657 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0122/0.6974, allocations: 4.893 MB / 0.6618 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.6975, allocations: 4 kB / 0.6618 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004256/0.7018, allocations: 1.667 MB / 0.6634 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.7035, allocations: 115 kB / 0.6635 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.709, allocations: 2.795 MB / 0.6663 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/0.7099, allocations: 1.142 MB / 0.6674 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009408/0.7109, allocations: 165.2 kB / 0.6675 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.7113, allocations: 79.41 kB / 0.6676 GB, free: 10.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7113, allocations: 0 / 0.6676 GB, free: 10.68 MB / 478.1 MB Notification: Performance of Templates: time 0.04695/0.7583, allocations: 27.18 MB / 0.6942 GB, free: 15.64 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1) Environment - environmentSimulation: