Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 109.5 kB / 16.42 MB, free: 6.473 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.347/1.347, allocations: 222.9 MB / 240.1 MB, free: 4.512 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.001584/0.001584, allocations: 184.3 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4507/0.4507, allocations: 78.54 MB / 419.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 80.09 kB / 0.5544 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2915, allocations: 68.16 MB / 0.621 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI): time 0.0165/0.3081, allocations: 21.55 MB / 0.642 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3191, allocations: 4.837 MB / 0.6468 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/0.3234, allocations: 44 kB / 0.6468 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.3267, allocations: 0.8828 MB / 0.6477 GB, free: 14.75 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr16.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr67.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr78.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr89.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr49.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr528.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2829.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2930.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr3031.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr231.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.008449/0.3352, allocations: 2.273 MB / 0.6499 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006697/0.3419, allocations: 2.09 MB / 0.6519 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009487/0.3514, allocations: 5.654 MB / 0.6574 GB, free: 4.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.3543, allocations: 1.313 MB / 0.6587 GB, free: 3.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.3579, allocations: 2.306 MB / 0.661 GB, free: 1.051 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004069/0.362, allocations: 2.912 MB / 0.6638 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.3636, allocations: 432 kB / 0.6642 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.3657, allocations: 0.578 MB / 0.6648 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.3673, allocations: 1.139 MB / 0.6659 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003826/0.3712, allocations: 2.606 MB / 0.6685 GB, free: 9.359 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007653/0.3788, allocations: 6.22 MB / 0.6745 GB, free: 3.117 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3789, allocations: 0 / 0.6745 GB, free: 3.117 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3789, allocations: 0 / 0.6745 GB, free: 3.117 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001521/0.379, allocations: 0 / 0.6745 GB, free: 3.117 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.03067/0.4097, allocations: 9.259 MB / 0.6836 GB, free: 9.758 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4098, allocations: 8.031 kB / 0.6836 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02734/0.4371, allocations: 4.031 MB / 0.6875 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.4433, allocations: 2.693 MB / 0.6902 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/0.4443, allocations: 0.9283 MB / 0.6911 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.4458, allocations: 348 kB / 0.6914 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.4593, allocations: 4.724 MB / 0.696 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.4595, allocations: 7.891 kB / 0.696 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.4606, allocations: 140 kB / 0.6961 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/0.4607, allocations: 84 kB / 0.6962 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.4713, allocations: 4.263 MB / 0.7004 GB, free: 8.281 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.03895/0.5103, allocations: 18.26 MB / 0.7182 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/0.5229, allocations: 4.954 MB / 0.7231 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005933/0.5288, allocations: 2.786 MB / 0.7258 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/0.5295, allocations: 66.89 kB / 0.7258 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.5296, allocations: 77.52 kB / 0.7259 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=379): time 7.614e-06/0.5296, allocations: 3.984 kB / 0.7259 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=379): time 0.5347/1.064, allocations: 66.82 MB / 0.7912 GB, free: 124 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/1.064, allocations: 170.8 kB / 0.7913 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/1.068, allocations: 3.203 MB / 0.7945 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007663/1.069, allocations: 93.42 kB / 0.7946 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009486/1.07, allocations: 1.993 MB / 0.7965 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.071, allocations: 1.361 MB / 0.7978 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.072, allocations: 0.6569 MB / 0.7985 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/1.072, allocations: 301.1 kB / 0.7988 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00476/1.077, allocations: 2.587 MB / 0.8013 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005142/1.082, allocations: 3.207 MB / 0.8044 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06293/1.145, allocations: 18.73 MB / 0.8227 GB, free: 95.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/1.145, allocations: 4 kB / 0.8227 GB, free: 95.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.0492/1.194, allocations: 16.93 MB / 0.8392 GB, free: 78.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/1.195, allocations: 68.94 kB / 0.8393 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/1.195, allocations: 12 kB / 0.8393 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02315/1.218, allocations: 7.229 MB / 0.8464 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/1.221, allocations: 0.6436 MB / 0.847 GB, free: 70.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0754/1.296, allocations: 33.75 MB / 0.88 GB, free: 36.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.301, allocations: 0.6071 MB / 0.8806 GB, free: 36.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007362/1.302, allocations: 156 kB / 0.8807 GB, free: 36.25 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006453/1.309, allocations: 3.046 MB / 0.8837 GB, free: 33.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005369/1.314, allocations: 3.185 MB / 0.8868 GB, free: 29.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06348/1.377, allocations: 18.7 MB / 0.9051 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.597e-05/1.378, allocations: 8 kB / 0.9051 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524) (initialization_lambda0): time 0.05243/1.43, allocations: 16.9 MB / 0.9216 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/1.43, allocations: 71.41 kB / 0.9216 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/1.43, allocations: 19.83 kB / 0.9216 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02698/1.457, allocations: 7.229 MB / 0.9287 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/1.46, allocations: 0.6397 MB / 0.9293 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09029/1.551, allocations: 33.75 MB / 0.9623 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/1.556, allocations: 0.5668 MB / 0.9628 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008122/1.557, allocations: 144 kB / 0.963 GB, free: 15.35 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (388): * Single equations (assignments): 385 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001408/1.558, allocations: 436 kB / 0.9634 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.56, allocations: 477 kB / 0.9639 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05535/1.615, allocations: 16.73 MB / 0.9802 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-05/1.615, allocations: 19.92 kB / 0.9802 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/1.615, allocations: 0 / 0.9802 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.617, allocations: 0.5758 MB / 0.9808 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.618, allocations: 64 kB / 0.9808 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00457/1.622, allocations: 355.5 kB / 0.9812 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006902/1.629, allocations: 1.895 MB / 0.983 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02632/1.656, allocations: 8.124 MB / 0.991 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01813/1.674, allocations: 8.214 MB / 0.999 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005181/1.679, allocations: 2.276 MB / 1.001 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003359/1.682, allocations: 2.101 MB / 1.003 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of Backend: time 5.11e-07/1.682, allocations: 0 / 1.003 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.04171/1.724, allocations: 13.62 MB / 1.017 GB, free: 8.344 MB / 0.67 GB Notification: Performance of SimCode: time 0.2543/1.978, allocations: 9.085 MB / 1.025 GB, free: 225.9 MB / 0.67 GB Notification: Performance of Templates: time 0.1542/2.133, allocations: 129.8 MB / 1.152 GB, free: 122.3 MB / 0.67 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)