Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.00168, allocations: 111.7 kB / 16.42 MB, free: 6.508 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.328/1.328, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001375/0.001375, allocations: 192.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.442/0.442, allocations: 78.54 MB / 419.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 83.88 kB / 0.5544 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2914, allocations: 68.17 MB / 0.621 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI): time 0.01613/0.3076, allocations: 21.79 MB / 0.6423 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.3181, allocations: 4.904 MB / 0.6471 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003635/0.3218, allocations: 48 kB / 0.6471 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.3249, allocations: 0.8789 MB / 0.648 GB, free: 14.47 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.00784/0.3328, allocations: 2.299 MB / 0.6502 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005439/0.3383, allocations: 2.097 MB / 0.6523 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008298/0.3466, allocations: 5.756 MB / 0.6579 GB, free: 4.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/0.3494, allocations: 1.317 MB / 0.6592 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.3532, allocations: 2.322 MB / 0.6614 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004467/0.3577, allocations: 2.971 MB / 0.6643 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.3591, allocations: 440 kB / 0.6648 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.361, allocations: 0.5858 MB / 0.6653 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.3625, allocations: 1.171 MB / 0.6665 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.3659, allocations: 2.621 MB / 0.669 GB, free: 8.801 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.3725, allocations: 6.306 MB / 0.6752 GB, free: 2.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3725, allocations: 0 / 0.6752 GB, free: 2.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3725, allocations: 0 / 0.6752 GB, free: 2.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001688/0.3727, allocations: 4 kB / 0.6752 GB, free: 2.469 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03031/0.403, allocations: 9.345 MB / 0.6843 GB, free: 9.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4031, allocations: 8.031 kB / 0.6843 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/0.4302, allocations: 4.039 MB / 0.6883 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006091/0.4363, allocations: 2.728 MB / 0.6909 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009838/0.4373, allocations: 0.9283 MB / 0.6918 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.4386, allocations: 344 kB / 0.6922 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.4512, allocations: 4.755 MB / 0.6968 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.4513, allocations: 0 / 0.6968 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009178/0.4522, allocations: 144 kB / 0.697 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-05/0.4523, allocations: 91.94 kB / 0.697 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.4626, allocations: 4.279 MB / 0.7012 GB, free: 7.461 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.03415/0.4968, allocations: 18.36 MB / 0.7192 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.509, allocations: 5 MB / 0.724 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005722/0.5147, allocations: 2.802 MB / 0.7268 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.5153, allocations: 78.92 kB / 0.7268 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.454e-05/0.5154, allocations: 69.56 kB / 0.7269 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=382): time 6.873e-06/0.5154, allocations: 0 / 0.7269 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=382): time 0.5907/1.106, allocations: 67.24 MB / 0.7926 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/1.106, allocations: 170.6 kB / 0.7927 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/1.11, allocations: 3.255 MB / 0.7959 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008084/1.111, allocations: 93.3 kB / 0.796 GB, free: 121 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.112, allocations: 2.011 MB / 0.798 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.113, allocations: 1.382 MB / 0.7993 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/1.114, allocations: 0.6752 MB / 0.8 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/1.114, allocations: 301.1 kB / 0.8003 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00476/1.119, allocations: 2.626 MB / 0.8028 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004952/1.124, allocations: 3.247 MB / 0.806 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06428/1.188, allocations: 19.11 MB / 0.8247 GB, free: 93.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/1.189, allocations: 4 kB / 0.8247 GB, free: 93.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=536) (initialization): time 0.04952/1.238, allocations: 17.2 MB / 0.8415 GB, free: 76.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/1.238, allocations: 68.03 kB / 0.8415 GB, free: 76.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/1.238, allocations: 19.98 kB / 0.8416 GB, free: 76.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02399/1.262, allocations: 7.292 MB / 0.8487 GB, free: 69.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/1.266, allocations: 0.6592 MB / 0.8493 GB, free: 68.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07844/1.344, allocations: 33.92 MB / 0.8824 GB, free: 34.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/1.351, allocations: 0.5992 MB / 0.883 GB, free: 33.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.352, allocations: 152 kB / 0.8832 GB, free: 33.72 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.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.006258/1.358, allocations: 3.092 MB / 0.8862 GB, free: 30.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005272/1.363, allocations: 3.229 MB / 0.8893 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06712/1.43, allocations: 19.07 MB / 0.908 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.448e-05/1.43, allocations: 4 kB / 0.908 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=536) (initialization_lambda0): time 0.0535/1.484, allocations: 17.18 MB / 0.9247 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/1.484, allocations: 76.28 kB / 0.9248 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.484, allocations: 23.94 kB / 0.9248 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0275/1.512, allocations: 7.295 MB / 0.932 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/1.516, allocations: 0.6631 MB / 0.9326 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08713/1.603, allocations: 33.9 MB / 0.9657 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006396/1.609, allocations: 0.5716 MB / 0.9663 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/1.61, allocations: 152 kB / 0.9664 GB, free: 11.84 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 (399): * Single equations (assignments): 396 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.00111/1.611, allocations: 427.1 kB / 0.9668 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/1.612, allocations: 484.9 kB / 0.9673 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05364/1.665, allocations: 16.78 MB / 0.9837 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.666, allocations: 15.94 kB / 0.9837 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.666, allocations: 0 / 0.9837 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.667, allocations: 0.5822 MB / 0.9843 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/1.669, allocations: 71.94 kB / 0.9843 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00498/1.674, allocations: 351.6 kB / 0.9847 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006995/1.681, allocations: 1.895 MB / 0.9865 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02717/1.708, allocations: 8.229 MB / 0.9946 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02111/1.729, allocations: 8.296 MB / 1.003 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005828/1.735, allocations: 2.292 MB / 1.005 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004414/1.739, allocations: 2.137 MB / 1.007 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of Backend: time 1.482e-06/1.739, allocations: 0 / 1.007 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.04325/1.783, allocations: 13.77 MB / 1.02 GB, free: 4.387 MB / 0.67 GB Notification: Performance of SimCode: time 0.2878/2.071, allocations: 9.299 MB / 1.03 GB, free: 224.6 MB / 0.67 GB Notification: Performance of Templates: time 0.158/2.229, allocations: 131.8 MB / 1.158 GB, free: 116.6 MB / 0.67 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)