Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 119 kB / 16.42 MB, free: 6.48 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.315/1.315, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001301/0.001301, allocations: 192.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.454/0.454, allocations: 78.53 MB / 419.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 75.88 kB / 0.5543 GB, free: 1.031 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3571, allocations: 68.17 MB / 0.6209 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.01031/0.3675, allocations: 14.02 MB / 0.6346 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00792/0.3754, allocations: 4.112 MB / 0.6386 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.3776, allocations: 24 kB / 0.6386 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.3796, allocations: 0.6626 MB / 0.6392 GB, free: 7.367 MB / 446.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 trafo1.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 trafo2.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 trafo3.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 trafo4.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.005327/0.3849, allocations: 1.739 MB / 0.6409 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.3882, allocations: 1.262 MB / 0.6422 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005788/0.394, allocations: 4.078 MB / 0.6462 GB, free: 296 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.3955, allocations: 0.7652 MB / 0.6469 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.3981, allocations: 1.638 MB / 0.6485 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.4013, allocations: 2.112 MB / 0.6506 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.4025, allocations: 368 kB / 0.6509 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.4042, allocations: 0.5194 MB / 0.6514 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008307/0.4051, allocations: 0.8404 MB / 0.6522 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.4069, allocations: 1.771 MB / 0.654 GB, free: 8.215 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.4119, allocations: 4.587 MB / 0.6585 GB, free: 3.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4119, allocations: 0 / 0.6585 GB, free: 3.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4119, allocations: 0 / 0.6585 GB, free: 3.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.208e-05/0.412, allocations: 0 / 0.6585 GB, free: 3.613 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01897/0.4309, allocations: 5.878 MB / 0.6642 GB, free: 13.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.431, allocations: 8.031 kB / 0.6642 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/0.4443, allocations: 2.058 MB / 0.6662 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.4481, allocations: 2.048 MB / 0.6682 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004175/0.4486, allocations: 439.1 kB / 0.6686 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/0.449, allocations: 203.9 kB / 0.6688 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/0.4536, allocations: 2.303 MB / 0.6711 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.4536, allocations: 0 / 0.6711 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.4538, allocations: 76 kB / 0.6711 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.4539, allocations: 51.88 kB / 0.6712 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.4582, allocations: 2.317 MB / 0.6735 GB, free: 4.031 MB / 478.1 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.01664/0.4749, allocations: 9.672 MB / 0.6829 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009566/0.4845, allocations: 4.172 MB / 0.687 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/0.4881, allocations: 1.615 MB / 0.6886 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.4884, allocations: 37.97 kB / 0.6886 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.4884, allocations: 64.44 kB / 0.6887 GB, free: 3.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=223): time 4.638e-06/0.4884, allocations: 0 / 0.6887 GB, free: 3.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.08746/0.5759, allocations: 20.11 MB / 0.7083 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.576, allocations: 73.41 kB / 0.7084 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.5804, allocations: 2.691 MB / 0.711 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000658/0.581, allocations: 65.7 kB / 0.7111 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009282/0.582, allocations: 1.174 MB / 0.7122 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.5832, allocations: 0.8522 MB / 0.713 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.5844, allocations: 0.5935 MB / 0.7136 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5845, allocations: 301.1 kB / 0.7139 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/0.5881, allocations: 1.787 MB / 0.7156 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/0.5921, allocations: 2.158 MB / 0.7178 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05842/0.6506, allocations: 13.07 MB / 0.7305 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.6506, allocations: 0 / 0.7305 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02361/0.6742, allocations: 7.473 MB / 0.7378 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.6743, allocations: 12 kB / 0.7378 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.6744, allocations: 8 kB / 0.7378 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/0.6877, allocations: 3.222 MB / 0.741 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008117/0.6959, allocations: 1.416 MB / 0.7424 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02905/0.725, allocations: 16.89 MB / 0.7589 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/0.7297, allocations: 393.8 kB / 0.7592 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006854/0.7304, allocations: 124 kB / 0.7594 GB, free: 10.23 MB / 0.5606 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (361): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002218/0.7326, allocations: 0.498 MB / 0.7598 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/0.7338, allocations: 325.8 kB / 0.7601 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02611/0.7599, allocations: 8.126 MB / 0.7681 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.238e-05/0.76, allocations: 15.95 kB / 0.7681 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.76, allocations: 0 / 0.7681 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.7612, allocations: 478.4 kB / 0.7686 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/0.7625, allocations: 40 kB / 0.7686 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/0.7658, allocations: 163.8 kB / 0.7687 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2926/1.058, allocations: 0.846 MB / 0.7696 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01753/1.076, allocations: 4.828 MB / 0.7743 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0107/1.087, allocations: 4.826 MB / 0.779 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002602/1.089, allocations: 1.279 MB / 0.7803 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002288/1.092, allocations: 1.778 MB / 0.782 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of Backend: time 7.01e-07/1.092, allocations: 0 / 0.782 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.103, allocations: 5.188 MB / 0.7871 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007418/1.111, allocations: 6.69 MB / 0.7936 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06753/1.178, allocations: 52.51 MB / 0.8449 GB, free: 72.55 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)