Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.353/1.353, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001516/0.001516, allocations: 192.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4488/0.4488, allocations: 78.54 MB / 419.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 79.88 kB / 0.5544 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2927, allocations: 68.17 MB / 0.6209 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII): time 0.00926/0.302, allocations: 12.89 MB / 0.6335 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.3089, allocations: 3.277 MB / 0.6367 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3109, allocations: 24 kB / 0.6367 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.3121, allocations: 0.5072 MB / 0.6372 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004031/0.3162, allocations: 1.463 MB / 0.6387 GB, free: 7.871 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.3196, allocations: 1.456 MB / 0.6401 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00438/0.324, allocations: 3.297 MB / 0.6433 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.3253, allocations: 0.7431 MB / 0.644 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3274, allocations: 1.373 MB / 0.6454 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.3299, allocations: 1.789 MB / 0.6471 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008376/0.3308, allocations: 252 kB / 0.6474 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.3322, allocations: 399.9 kB / 0.6477 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000951/0.3331, allocations: 0.6806 MB / 0.6484 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.3355, allocations: 1.495 MB / 0.6499 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.3405, allocations: 3.598 MB / 0.6534 GB, free: 8.738 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3406, allocations: 0 / 0.6534 GB, free: 8.738 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3406, allocations: 4 kB / 0.6534 GB, free: 8.734 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.3407, allocations: 0 / 0.6534 GB, free: 8.734 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.0236/0.3643, allocations: 6.099 MB / 0.6593 GB, free: 2.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3644, allocations: 12.03 kB / 0.6593 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.3805, allocations: 2.252 MB / 0.6615 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.3844, allocations: 1.638 MB / 0.6631 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007599/0.3852, allocations: 0.6591 MB / 0.6638 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007705/0.386, allocations: 203.9 kB / 0.664 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007213/0.3932, allocations: 2.89 MB / 0.6668 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.3933, allocations: 7.922 kB / 0.6668 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/0.3935, allocations: 79.94 kB / 0.6669 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.3936, allocations: 48 kB / 0.6669 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006108/0.3997, allocations: 2.658 MB / 0.6695 GB, free: 7.93 MB / 478.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.02047/0.4202, allocations: 9.493 MB / 0.6788 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.4322, allocations: 4.028 MB / 0.6827 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004457/0.4367, allocations: 1.885 MB / 0.6846 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.4371, allocations: 41.89 kB / 0.6846 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.4372, allocations: 56.56 kB / 0.6847 GB, free: 7.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=228): time 4.879e-06/0.4372, allocations: 0 / 0.6847 GB, free: 7.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=228): time 0.1625/0.5997, allocations: 28.83 MB / 0.7128 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.5999, allocations: 132.8 kB / 0.713 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.6028, allocations: 1.969 MB / 0.7149 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004262/0.6032, allocations: 81.64 kB / 0.715 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008509/0.6041, allocations: 1.069 MB / 0.716 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.6051, allocations: 0.801 MB / 0.7168 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.6063, allocations: 0.5023 MB / 0.7173 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.6064, allocations: 301.1 kB / 0.7176 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00434/0.6108, allocations: 1.877 MB / 0.7194 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004613/0.6154, allocations: 2.234 MB / 0.7216 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05862/0.674, allocations: 13.69 MB / 0.7349 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.6741, allocations: 0 / 0.7349 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.04285/0.7169, allocations: 12.16 MB / 0.7468 GB, free: 7.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.717, allocations: 8 kB / 0.7468 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.717, allocations: 4 kB / 0.7468 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/0.7364, allocations: 5.209 MB / 0.7519 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.7391, allocations: 487.3 kB / 0.7524 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3363/1.075, allocations: 23.17 MB / 0.775 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.079, allocations: 435.9 kB / 0.7754 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/1.08, allocations: 107.9 kB / 0.7755 GB, free: 122.8 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004874/1.085, allocations: 2.173 MB / 0.7777 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00443/1.089, allocations: 2.203 MB / 0.7798 GB, free: 122 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05395/1.143, allocations: 13.63 MB / 0.7931 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.666e-05/1.143, allocations: 3.75 kB / 0.7931 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=377) (initialization_lambda0): time 0.03869/1.182, allocations: 12.1 MB / 0.8049 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.182, allocations: 8 kB / 0.8049 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.182, allocations: 11.77 kB / 0.805 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01673/1.199, allocations: 5.209 MB / 0.81 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.201, allocations: 483.3 kB / 0.8105 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05568/1.257, allocations: 23.18 MB / 0.8331 GB, free: 86.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/1.26, allocations: 403.7 kB / 0.8335 GB, free: 85.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/1.26, allocations: 104 kB / 0.8336 GB, free: 85.58 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.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 (290): * Single equations (assignments): 289 * 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 {(62,26,8.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007192/1.261, allocations: 340.4 kB / 0.8339 GB, free: 85.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/1.262, allocations: 272.6 kB / 0.8342 GB, free: 84.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03739/1.299, allocations: 11.44 MB / 0.8454 GB, free: 73.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/1.299, allocations: 12.94 kB / 0.8454 GB, free: 73.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.299, allocations: 0 / 0.8454 GB, free: 73.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/1.3, allocations: 380.2 kB / 0.8458 GB, free: 73.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007239/1.301, allocations: 36 kB / 0.8458 GB, free: 73.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.303, allocations: 260.4 kB / 0.846 GB, free: 72.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003746/1.307, allocations: 1.367 MB / 0.8474 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01481/1.322, allocations: 5.169 MB / 0.8524 GB, free: 66.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01086/1.333, allocations: 5.389 MB / 0.8577 GB, free: 60.92 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003211/1.336, allocations: 1.503 MB / 0.8591 GB, free: 59.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001404/1.338, allocations: 1.289 MB / 0.8604 GB, free: 58.12 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/1.338, allocations: 4 kB / 0.8604 GB, free: 58.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02708/1.365, allocations: 9.146 MB / 0.8693 GB, free: 48.94 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007421/1.372, allocations: 5.68 MB / 0.8749 GB, free: 43.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.1052/1.477, allocations: 82.42 MB / 0.9554 GB, free: 8.863 MB / 0.6075 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)