Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.313/1.313, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001243/0.001244, allocations: 192.5 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.438/0.438, allocations: 78.53 MB / 419.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 87.86 kB / 0.5544 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2695, allocations: 68.16 MB / 0.621 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01603/0.2856, allocations: 21.68 MB / 0.6422 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.296, allocations: 4.818 MB / 0.6469 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.2994, allocations: 48 kB / 0.6469 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.3019, allocations: 0.8789 MB / 0.6478 GB, free: 14.69 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.007215/0.3091, allocations: 2.285 MB / 0.65 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.3145, allocations: 2.056 MB / 0.652 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007825/0.3223, allocations: 5.701 MB / 0.6576 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.3242, allocations: 1.321 MB / 0.6589 GB, free: 3.277 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/0.3272, allocations: 2.322 MB / 0.6611 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.3303, allocations: 2.928 MB / 0.664 GB, free: 14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007168/0.331, allocations: 436 kB / 0.6644 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3321, allocations: 0.5819 MB / 0.665 GB, free: 13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008351/0.333, allocations: 1.143 MB / 0.6661 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.3353, allocations: 2.606 MB / 0.6686 GB, free: 9.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006473/0.3418, allocations: 6.24 MB / 0.6747 GB, free: 2.965 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3418, allocations: 0 / 0.6747 GB, free: 2.965 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3418, allocations: 0 / 0.6747 GB, free: 2.965 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001504/0.342, allocations: 0 / 0.6747 GB, free: 2.965 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.0292/0.3712, allocations: 9.287 MB / 0.6838 GB, free: 9.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3712, allocations: 8.031 kB / 0.6838 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/0.398, allocations: 4.039 MB / 0.6878 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/0.4028, allocations: 2.677 MB / 0.6904 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007976/0.4036, allocations: 0.9651 MB / 0.6913 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/0.4043, allocations: 340 kB / 0.6916 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008951/0.4132, allocations: 4.727 MB / 0.6962 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.4133, allocations: 3.938 kB / 0.6963 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/0.4137, allocations: 147.9 kB / 0.6964 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.4138, allocations: 84 kB / 0.6965 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008658/0.4224, allocations: 4.24 MB / 0.7006 GB, free: 8.102 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.03059/0.4531, allocations: 18.23 MB / 0.7184 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.465, allocations: 4.988 MB / 0.7233 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005756/0.4708, allocations: 2.778 MB / 0.726 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/0.4713, allocations: 70.91 kB / 0.7261 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006296/0.4776, allocations: 3.17 MB / 0.7292 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=382): time 5.901e-06/0.4777, allocations: 0 / 0.7292 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=382): time 0.5487/1.026, allocations: 68.22 MB / 0.7958 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.026, allocations: 144.9 kB / 0.7959 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/1.03, allocations: 3.213 MB / 0.7991 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007369/1.031, allocations: 88.77 kB / 0.7991 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/1.032, allocations: 2.006 MB / 0.8011 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.033, allocations: 1.375 MB / 0.8024 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/1.034, allocations: 0.6698 MB / 0.8031 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.946e-05/1.034, allocations: 305.1 kB / 0.8034 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004849/1.039, allocations: 2.581 MB / 0.8059 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005104/1.044, allocations: 3.208 MB / 0.809 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06426/1.109, allocations: 18.74 MB / 0.8273 GB, free: 91.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/1.109, allocations: 8 kB / 0.8274 GB, free: 91.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05151/1.16, allocations: 16.96 MB / 0.8439 GB, free: 74.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/1.16, allocations: 63.41 kB / 0.844 GB, free: 74.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/1.16, allocations: 12 kB / 0.844 GB, free: 74.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02502/1.185, allocations: 7.229 MB / 0.851 GB, free: 66.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/1.189, allocations: 0.6669 MB / 0.8517 GB, free: 66.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07895/1.268, allocations: 33.76 MB / 0.8847 GB, free: 32.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/1.273, allocations: 0.6117 MB / 0.8853 GB, free: 31.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004605/1.273, allocations: 150.2 kB / 0.8854 GB, free: 31.66 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: 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 (398): * Single equations (assignments): 395 * 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.001433/1.275, allocations: 0.6726 MB / 0.8861 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/1.275, allocations: 477 kB / 0.8865 GB, free: 30.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04948/1.325, allocations: 16.84 MB / 0.903 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-05/1.325, allocations: 15.94 kB / 0.903 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.325, allocations: 0 / 0.903 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.326, allocations: 0.5764 MB / 0.9035 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.327, allocations: 71.94 kB / 0.9036 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003727/1.331, allocations: 358.5 kB / 0.904 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006051/1.337, allocations: 1.91 MB / 0.9058 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02185/1.359, allocations: 8.304 MB / 0.9139 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01659/1.376, allocations: 8.209 MB / 0.9219 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005092/1.381, allocations: 2.265 MB / 0.9242 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00306/1.384, allocations: 2.109 MB / 0.9262 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of Backend: time 8.41e-07/1.384, allocations: 0 / 0.9262 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02237/1.406, allocations: 7.016 MB / 0.9331 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01273/1.419, allocations: 9.043 MB / 0.9419 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of Templates: time 0.4032/1.822, allocations: 87.28 MB / 1.027 GB, free: 225.4 MB / 0.67 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)