Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 177.1 kB / 16.08 MB, free: 5.605 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.8 MB / 239.7 MB, free: 11.92 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008794, allocations: 97.19 kB / 290.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4376/0.4376, allocations: 78.42 MB / 419.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 11.94 kB / 499.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI): time 0.01484/0.2736, allocations: 23.29 MB / 0.5773 GB, free: 12.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.2846, allocations: 5.18 MB / 0.5823 GB, free: 7.641 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/0.2888, allocations: 52 kB / 0.5824 GB, free: 7.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003097/0.292, allocations: 0.6752 MB / 0.583 GB, free: 6.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.1.0-master/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.1.0-master/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.1.0-master/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.1.0-master/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.1.0-master/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.1.0-master/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.1.0-master/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.1.0-master/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.1.0-master/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.007655/0.2997, allocations: 1.735 MB / 0.5847 GB, free: 5.164 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005543/0.3052, allocations: 1.936 MB / 0.5866 GB, free: 3.262 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007741/0.313, allocations: 5.436 MB / 0.5919 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.3155, allocations: 1.126 MB / 0.593 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.3186, allocations: 2.06 MB / 0.595 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.3222, allocations: 2.701 MB / 0.5977 GB, free: 7.836 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.3235, allocations: 239.9 kB / 0.5979 GB, free: 7.602 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.3249, allocations: 371.9 kB / 0.5983 GB, free: 7.238 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007618/0.3257, allocations: 0.9402 MB / 0.5992 GB, free: 6.293 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002129/0.3278, allocations: 2.379 MB / 0.6015 GB, free: 3.898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004942/0.3328, allocations: 5.853 MB / 0.6072 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3328, allocations: 4 kB / 0.6072 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3328, allocations: 0 / 0.6072 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001149/0.3329, allocations: 0 / 0.6072 GB, free: 14.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.02556/0.3585, allocations: 8.17 MB / 0.6152 GB, free: 5.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3585, allocations: 8.031 kB / 0.6152 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/0.3845, allocations: 4.001 MB / 0.6191 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005305/0.3898, allocations: 2.67 MB / 0.6217 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009028/0.3908, allocations: 0.9398 MB / 0.6226 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.3919, allocations: 348 kB / 0.623 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009503/0.4014, allocations: 4.743 MB / 0.6276 GB, free: 8.801 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.836e-05/0.4015, allocations: 3.938 kB / 0.6276 GB, free: 8.797 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.4019, allocations: 140 kB / 0.6277 GB, free: 8.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.4019, allocations: 88 kB / 0.6278 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008197/0.4101, allocations: 4.267 MB / 0.632 GB, free: 4.301 MB / 442.7 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.0312/0.4413, allocations: 18.43 MB / 0.65 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.4533, allocations: 4.975 MB / 0.6548 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006352/0.4597, allocations: 2.796 MB / 0.6576 GB, free: 8.809 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.4603, allocations: 74.84 kB / 0.6576 GB, free: 8.734 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.215e-05/0.4604, allocations: 77.55 kB / 0.6577 GB, free: 8.648 MB / 474.7 MB Notification: Performance of pre-optimization done (n=381): time 7.064e-06/0.4604, allocations: 3.938 kB / 0.6577 GB, free: 8.645 MB / 474.7 MB Notification: Performance of matching and sorting (n=381): time 0.503/0.9635, allocations: 66.29 MB / 0.7225 GB, free: 87.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.9636, allocations: 171.5 kB / 0.7226 GB, free: 87.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/0.967, allocations: 3.241 MB / 0.7258 GB, free: 84.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006984/0.9678, allocations: 89.7 kB / 0.7259 GB, free: 84.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009297/0.9687, allocations: 1.976 MB / 0.7278 GB, free: 82.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.9698, allocations: 1.311 MB / 0.7291 GB, free: 81.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.9702, allocations: 339.8 kB / 0.7294 GB, free: 80.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.9703, allocations: 309.1 kB / 0.7297 GB, free: 80.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/0.9751, allocations: 2.593 MB / 0.7322 GB, free: 78.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005453/0.9806, allocations: 3.225 MB / 0.7354 GB, free: 74.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06666/1.047, allocations: 18.98 MB / 0.7539 GB, free: 55.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/1.047, allocations: 4 kB / 0.7539 GB, free: 55.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.05302/1.1, allocations: 17.26 MB / 0.7708 GB, free: 38.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002615/1.101, allocations: 0.5972 MB / 0.7714 GB, free: 37.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/1.101, allocations: 16 kB / 0.7714 GB, free: 37.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02426/1.125, allocations: 7.148 MB / 0.7784 GB, free: 30.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/1.128, allocations: 0.6709 MB / 0.779 GB, free: 29.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07028/1.199, allocations: 30.73 MB / 0.809 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/1.204, allocations: 0.5972 MB / 0.8096 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004873/1.204, allocations: 152 kB / 0.8097 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/1.204, allocations: 4 kB / 0.8098 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05342/1.258, allocations: 16.83 MB / 0.8262 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.529e-05/1.258, allocations: 16 kB / 0.8262 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02505/1.283, allocations: 7.148 MB / 0.8332 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003445/1.287, allocations: 0.6631 MB / 0.8338 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07813/1.365, allocations: 30.73 MB / 0.8638 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/1.37, allocations: 0.5514 MB / 0.8644 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/1.371, allocations: 152 kB / 0.8645 GB, free: 5.453 MB / 0.5417 GB 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 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 order5.delta:VARIABLE(flow=false start = order5.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 394 * 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.00182/1.372, allocations: 0.7482 MB / 0.8652 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000852/1.373, allocations: 458.3 kB / 0.8657 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05416/1.427, allocations: 16.75 MB / 0.882 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.405e-05/1.428, allocations: 19.94 kB / 0.8821 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.428, allocations: 0 / 0.8821 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.429, allocations: 0.5585 MB / 0.8826 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009931/1.43, allocations: 68 kB / 0.8827 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003915/1.434, allocations: 351.6 kB / 0.883 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006251/1.44, allocations: 1.839 MB / 0.8848 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02357/1.464, allocations: 8.194 MB / 0.8928 GB, free: 8.41 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.25/1.714, allocations: 8.225 MB / 0.9008 GB, free: 185.3 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005321/1.719, allocations: 2.284 MB / 0.9031 GB, free: 185.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003045/1.722, allocations: 2.126 MB / 0.9051 GB, free: 185.1 MB / 0.573 GB Notification: Performance of Backend: time 7.51e-07/1.722, allocations: 3.719 kB / 0.9052 GB, free: 185.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03826/1.76, allocations: 13.35 MB / 0.9182 GB, free: 181.7 MB / 0.573 GB Notification: Performance of SimCode: time 0.01101/1.771, allocations: 10.79 MB / 0.9287 GB, free: 175.4 MB / 0.573 GB Notification: Performance of Templates: time 0.1397/1.911, allocations: 112.6 MB / 1.039 GB, free: 76.29 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)