Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 174.8 kB / 16.08 MB, free: 5.723 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.256/1.256, allocations: 222.9 MB / 239.7 MB, free: 10.18 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.0007555/0.0007555, allocations: 94.69 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4243/0.4243, allocations: 78.41 MB / 419.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 12 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 68.74 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01416/0.2802, allocations: 23.42 MB / 0.5774 GB, free: 12.73 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.2915, allocations: 5.145 MB / 0.5824 GB, free: 7.566 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.2956, allocations: 52 kB / 0.5825 GB, free: 7.516 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.2979, allocations: 0.6674 MB / 0.5831 GB, free: 6.844 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.006108/0.304, allocations: 1.753 MB / 0.5848 GB, free: 5.082 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004549/0.3086, allocations: 1.924 MB / 0.5867 GB, free: 3.191 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006866/0.3155, allocations: 5.471 MB / 0.592 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.3173, allocations: 1.126 MB / 0.5931 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.3203, allocations: 2.071 MB / 0.5952 GB, free: 10.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.3238, allocations: 2.713 MB / 0.5978 GB, free: 7.707 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.325, allocations: 236 kB / 0.598 GB, free: 7.477 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.3268, allocations: 383.8 kB / 0.5984 GB, free: 7.102 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.328, allocations: 0.9324 MB / 0.5993 GB, free: 6.164 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002699/0.3307, allocations: 2.383 MB / 0.6016 GB, free: 3.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.3357, allocations: 5.872 MB / 0.6074 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3358, allocations: 3.938 kB / 0.6074 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3358, allocations: 3.938 kB / 0.6074 GB, free: 13.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.3359, allocations: 0 / 0.6074 GB, free: 13.86 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02664/0.3626, allocations: 8.186 MB / 0.6154 GB, free: 5.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3626, allocations: 8.031 kB / 0.6154 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02623/0.3889, allocations: 4.005 MB / 0.6193 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004826/0.3937, allocations: 2.666 MB / 0.6219 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008574/0.3946, allocations: 0.965 MB / 0.6228 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007447/0.3954, allocations: 351.9 kB / 0.6232 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008899/0.4043, allocations: 4.735 MB / 0.6278 GB, free: 8.605 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/0.4043, allocations: 3.938 kB / 0.6278 GB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003693/0.4047, allocations: 140 kB / 0.6279 GB, free: 8.465 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/0.4048, allocations: 84 kB / 0.628 GB, free: 8.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008404/0.4132, allocations: 4.252 MB / 0.6322 GB, free: 4.125 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.02975/0.443, allocations: 18.39 MB / 0.6501 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.4548, allocations: 5.01 MB / 0.655 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005596/0.4605, allocations: 2.792 MB / 0.6578 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/0.4609, allocations: 70.92 kB / 0.6578 GB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005917/0.4668, allocations: 3.189 MB / 0.6609 GB, free: 5.348 MB / 474.7 MB Notification: Performance of pre-optimization done (n=384): time 6.132e-06/0.4669, allocations: 4 kB / 0.6609 GB, free: 5.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=384): time 0.5033/0.9702, allocations: 67.75 MB / 0.7271 GB, free: 83.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.9703, allocations: 149.8 kB / 0.7272 GB, free: 82.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.974, allocations: 3.249 MB / 0.7304 GB, free: 79.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009341/0.9749, allocations: 85.7 kB / 0.7305 GB, free: 79.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.976, allocations: 1.982 MB / 0.7324 GB, free: 77.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001563/0.9775, allocations: 1.32 MB / 0.7337 GB, free: 76.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/0.9782, allocations: 346.8 kB / 0.7341 GB, free: 76.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.9783, allocations: 309.1 kB / 0.7344 GB, free: 75.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/0.9831, allocations: 2.605 MB / 0.7369 GB, free: 73.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/0.9882, allocations: 3.233 MB / 0.7401 GB, free: 69.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0626/1.051, allocations: 19 MB / 0.7586 GB, free: 50.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/1.051, allocations: 8 kB / 0.7586 GB, free: 50.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.08585/1.137, allocations: 17.29 MB / 0.7755 GB, free: 33.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/1.137, allocations: 67.41 kB / 0.7756 GB, free: 33.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.317e-05/1.137, allocations: 19.98 kB / 0.7756 GB, free: 33.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04497/1.182, allocations: 7.156 MB / 0.7826 GB, free: 26.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006247/1.188, allocations: 0.6864 MB / 0.7832 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1342/1.323, allocations: 30.75 MB / 0.8133 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009005/1.332, allocations: 0.5977 MB / 0.8139 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009183/1.333, allocations: 152 kB / 0.814 GB, free: 9.676 MB / 0.4948 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * 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.002679/1.335, allocations: 0.6705 MB / 0.8147 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.337, allocations: 458.3 kB / 0.8151 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06309/1.4, allocations: 16.88 MB / 0.8316 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.873e-05/1.4, allocations: 19.94 kB / 0.8316 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.4, allocations: 0 / 0.8316 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.401, allocations: 0.5493 MB / 0.8321 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/1.402, allocations: 68 kB / 0.8322 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/1.406, allocations: 367.5 kB / 0.8325 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006842/1.413, allocations: 1.851 MB / 0.8344 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02444/1.438, allocations: 8.365 MB / 0.8425 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01849/1.456, allocations: 8.234 MB / 0.8506 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005469/1.462, allocations: 2.276 MB / 0.8528 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003108/1.465, allocations: 2.133 MB / 0.8549 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of Backend: time 6.71e-07/1.465, allocations: 0.5625 kB / 0.8549 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02246/1.487, allocations: 6.892 MB / 0.8616 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of SimCode: time 0.01487/1.502, allocations: 10.81 MB / 0.8722 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.3325/1.835, allocations: 75.51 MB / 0.9459 GB, free: 167.6 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)