Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") 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: 112.7 kB / 16.42 MB, free: 6.512 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.415/1.415, allocations: 222.9 MB / 240.1 MB, free: 4.363 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.00149/0.00149, allocations: 192.4 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4776/0.4776, allocations: 78.53 MB / 419.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 80.09 kB / 0.5544 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3721, allocations: 68.17 MB / 0.621 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01743/0.3896, allocations: 21.77 MB / 0.6422 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.4034, allocations: 4.83 MB / 0.647 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005179/0.4086, allocations: 44 kB / 0.647 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.4124, allocations: 0.8789 MB / 0.6479 GB, free: 14.54 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.01321/0.4257, allocations: 2.291 MB / 0.6501 GB, free: 12.24 MB / 462.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.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.006711/0.4324, allocations: 2.067 MB / 0.6521 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.443, allocations: 5.708 MB / 0.6577 GB, free: 4.469 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003481/0.4466, allocations: 1.314 MB / 0.659 GB, free: 3.105 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0046/0.4512, allocations: 2.325 MB / 0.6612 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004891/0.4561, allocations: 2.92 MB / 0.6641 GB, free: 13.83 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.4584, allocations: 436 kB / 0.6645 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.4612, allocations: 0.5779 MB / 0.6651 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.4634, allocations: 1.143 MB / 0.6662 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005155/0.4685, allocations: 2.61 MB / 0.6687 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.4787, allocations: 6.209 MB / 0.6748 GB, free: 2.832 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4787, allocations: 0 / 0.6748 GB, free: 2.832 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4787, allocations: 3.938 kB / 0.6748 GB, free: 2.828 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002919/0.479, allocations: 0 / 0.6748 GB, free: 2.828 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03534/0.5144, allocations: 9.115 MB / 0.6837 GB, free: 9.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5144, allocations: 16.02 kB / 0.6837 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/0.5429, allocations: 4.005 MB / 0.6876 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006631/0.5496, allocations: 2.643 MB / 0.6902 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/0.5509, allocations: 0.9612 MB / 0.6912 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.5526, allocations: 351.9 kB / 0.6915 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.5671, allocations: 4.723 MB / 0.6961 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.5672, allocations: 7.938 kB / 0.6961 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.5683, allocations: 140 kB / 0.6962 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.368e-05/0.5684, allocations: 84 kB / 0.6963 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.5802, allocations: 4.244 MB / 0.7005 GB, free: 8.191 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.04239/0.6226, allocations: 18.19 MB / 0.7182 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/0.6369, allocations: 4.993 MB / 0.7231 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006839/0.6438, allocations: 2.779 MB / 0.7258 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/0.6445, allocations: 82.89 kB / 0.7259 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008274/0.6528, allocations: 3.165 MB / 0.729 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=383): time 9.999e-06/0.6529, allocations: 3.938 kB / 0.729 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=383): time 0.6231/1.276, allocations: 68.04 MB / 0.7954 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/1.276, allocations: 140.3 kB / 0.7956 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/1.281, allocations: 3.212 MB / 0.7987 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009868/1.282, allocations: 88.11 kB / 0.7988 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/1.283, allocations: 1.962 MB / 0.8007 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.284, allocations: 1.32 MB / 0.802 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.286, allocations: 0.6718 MB / 0.8027 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.812e-05/1.286, allocations: 309.1 kB / 0.803 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005137/1.291, allocations: 2.584 MB / 0.8055 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005587/1.297, allocations: 3.22 MB / 0.8086 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0669/1.363, allocations: 18.78 MB / 0.827 GB, free: 91.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/1.364, allocations: 4 kB / 0.827 GB, free: 91.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05469/1.418, allocations: 17.25 MB / 0.8438 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/1.418, allocations: 72.39 kB / 0.8439 GB, free: 74.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/1.418, allocations: 12 kB / 0.8439 GB, free: 74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0246/1.443, allocations: 7.153 MB / 0.8509 GB, free: 66.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/1.446, allocations: 0.6747 MB / 0.8515 GB, free: 66.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08403/1.53, allocations: 33.28 MB / 0.884 GB, free: 32.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005874/1.536, allocations: 0.5938 MB / 0.8846 GB, free: 32.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.537, allocations: 160 kB / 0.8848 GB, free: 31.94 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 400 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002995/1.54, allocations: 0.6656 MB / 0.8854 GB, free: 31.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.542, allocations: 456.6 kB / 0.8859 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05662/1.599, allocations: 16.85 MB / 0.9023 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/1.599, allocations: 19.92 kB / 0.9023 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.599, allocations: 7.938 kB / 0.9023 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.6, allocations: 0.5608 MB / 0.9029 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/1.602, allocations: 60 kB / 0.9029 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004423/1.606, allocations: 359.6 kB / 0.9033 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006143/1.612, allocations: 1.91 MB / 0.9051 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0258/1.638, allocations: 8.307 MB / 0.9133 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0197/1.658, allocations: 8.198 MB / 0.9213 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00585/1.664, allocations: 2.269 MB / 0.9235 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003744/1.667, allocations: 2.101 MB / 0.9255 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of Backend: time 9.72e-07/1.667, allocations: 0 / 0.9255 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02502/1.692, allocations: 6.866 MB / 0.9322 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01474/1.707, allocations: 8.929 MB / 0.941 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of Templates: time 0.4139/2.121, allocations: 83.85 MB / 1.023 GB, free: 232.4 MB / 0.67 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)