Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine.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/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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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) 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(PowerSystems.Examples.AC3ph.Generation.TieLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TieLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 110.3 kB / 17.75 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001762, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.02 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2933, allocations: 58.05 MB / 0.5048 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TieLine): time 0.01668/0.31, allocations: 17.71 MB / 0.5221 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.3262, allocations: 10.17 MB / 0.532 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.3285, allocations: 78.44 kB / 0.5321 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.493/0.8215, allocations: 212.8 MB / 0.7399 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.826, allocations: 1.905 MB / 0.7418 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.8295, allocations: 1.709 MB / 0.7434 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0331/0.8626, allocations: 31.74 MB / 0.7744 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.8657, allocations: 2.733 MB / 0.7771 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05729/0.9231, allocations: 54.53 MB / 0.8304 GB, free: 83.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.9265, allocations: 2.715 MB / 0.833 GB, free: 80.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.9275, allocations: 400 kB / 0.8334 GB, free: 80.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.9297, allocations: 0.9672 MB / 0.8343 GB, free: 79.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.9314, allocations: 1.918 MB / 0.8362 GB, free: 77.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002783/0.9342, allocations: 2.145 MB / 0.8383 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005188/0.9394, allocations: 6.143 MB / 0.8443 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9394, allocations: 1.688 kB / 0.8443 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9394, allocations: 0 / 0.8443 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001423/0.9396, allocations: 4 kB / 0.8443 GB, free: 69.64 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.009938/0.9495, allocations: 4.753 MB / 0.8489 GB, free: 64.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.9496, allocations: 11.89 kB / 0.849 GB, free: 64.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.9525, allocations: 0.6479 MB / 0.8496 GB, free: 64.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007021/0.9595, allocations: 3.52 MB / 0.853 GB, free: 60.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.9597, allocations: 200 kB / 0.8532 GB, free: 60.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007933/0.9605, allocations: 322.7 kB / 0.8535 GB, free: 60.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005288/0.9658, allocations: 3.887 MB / 0.8573 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.999e-05/0.9658, allocations: 19.84 kB / 0.8573 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.9661, allocations: 99.67 kB / 0.8574 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006353/0.9668, allocations: 253 kB / 0.8577 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005187/0.972, allocations: 3.623 MB / 0.8612 GB, free: 52.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.9886, allocations: 12.81 MB / 0.8737 GB, free: 39.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/0.9924, allocations: 2.637 MB / 0.8763 GB, free: 36.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.9946, allocations: 1.664 MB / 0.8779 GB, free: 34.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.9947, allocations: 37.97 kB / 0.878 GB, free: 34.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002068/0.9968, allocations: 1.54 MB / 0.8795 GB, free: 33.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=223): time 4.108e-06/0.9968, allocations: 0 / 0.8795 GB, free: 33.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=273): time 0.05382/1.051, allocations: 21.05 MB / 0.9 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/1.051, allocations: 261.5 kB / 0.9003 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/1.054, allocations: 2.765 MB / 0.903 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003129/1.055, allocations: 81.7 kB / 0.9031 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007645/1.055, allocations: 1.528 MB / 0.9045 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/1.056, allocations: 0.9552 MB / 0.9055 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008133/1.057, allocations: 0.5852 MB / 0.9061 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.216e-05/1.057, allocations: 305.1 kB / 0.9063 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/1.059, allocations: 1.672 MB / 0.908 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/1.062, allocations: 2.269 MB / 0.9102 GB, free: 1.109 MB / 0.5606 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.02519/1.087, allocations: 9.952 MB / 0.9199 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.087, allocations: 4 kB / 0.9199 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01223/1.099, allocations: 6.616 MB / 0.9264 GB, free: 28 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.099, allocations: 12 kB / 0.9264 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.099, allocations: 12 kB / 0.9264 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005993/1.105, allocations: 2 MB / 0.9283 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004934/1.11, allocations: 1.127 MB / 0.9295 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2405/1.351, allocations: 48.35 MB / 0.9767 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.354, allocations: 256.8 kB / 0.9769 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/1.354, allocations: 123.6 kB / 0.977 GB, free: 181.6 MB / 0.5919 GB Warning: Assuming fixed start value for the following 6 variables: turboGen1.generator.i_s[1]:VARIABLE(start = turboGen1.generator.i_s_start[1] unit = "A" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) "stator current dq0 in rotor-system" type: Real [3] turboGen1.generator.i_s[2]:VARIABLE(start = turboGen1.generator.i_s_start[2] unit = "A" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) "stator current dq0 in rotor-system" type: Real [3] turboGen3.generator.i_s[1]:VARIABLE(start = turboGen3.generator.i_s_start[1] unit = "A" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) "stator current dq0 in rotor-system" type: Real [3] setpts3.p_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine power pu" type: Real setpts2.p_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine power pu" type: Real setpts1.p_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine power pu" type: Real Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: $DER.turboGen1.generator.psi_rd[1] = 0.0 $DER.turboGen1.generator.psi_rq[1] = 0.0 $DER.turboGen2.generator.psi_rd[1] = 0.0 $DER.turboGen2.generator.psi_rq[1] = 0.0 $DER.turboGen3.generator.psi_rd[1] = 0.0 $DER.turboGen3.generator.psi_rq[1] = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003878/1.358, allocations: 2.563 MB / 0.9795 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002546/1.361, allocations: 2.183 MB / 0.9817 GB, free: 179.3 MB / 0.5919 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02318/1.384, allocations: 9.757 MB / 0.9912 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.015e-05/1.384, allocations: 8.953 kB / 0.9912 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=412) (initialization_lambda0): time 0.01005/1.394, allocations: 6.475 MB / 0.9975 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.394, allocations: 11.72 kB / 0.9975 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.394, allocations: 11.66 kB / 0.9975 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/1.399, allocations: 2.001 MB / 0.9995 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/1.401, allocations: 0.5981 MB / 1 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03006/1.431, allocations: 38.85 MB / 1.038 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/1.434, allocations: 235.8 kB / 1.038 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004567/1.435, allocations: 128 kB / 1.038 GB, free: 132.3 MB / 0.5919 GB Warning: Assuming fixed start value for the following 6 variables: turboGen1.generator.i_s[1]:VARIABLE(start = turboGen1.generator.i_s_start[1] unit = "A" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) "stator current dq0 in rotor-system" type: Real [3] turboGen1.generator.i_s[2]:VARIABLE(start = turboGen1.generator.i_s_start[2] unit = "A" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) "stator current dq0 in rotor-system" type: Real [3] turboGen3.generator.i_s[1]:VARIABLE(start = turboGen3.generator.i_s_start[1] unit = "A" fixed = true nominal = 1.0 stateSelect=StateSelect.prefer ) "stator current dq0 in rotor-system" type: Real [3] setpts3.p_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine power pu" type: Real setpts2.p_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine power pu" type: Real setpts1.p_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine power pu" type: Real Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.turboGen1.generator.psi_rd[1] = 0.0 $DER.turboGen1.generator.psi_rq[1] = 0.0 $DER.turboGen2.generator.psi_rd[1] = 0.0 $DER.turboGen2.generator.psi_rq[1] = 0.0 $DER.turboGen3.generator.psi_rd[1] = 0.0 $DER.turboGen3.generator.psi_rq[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (4,20,62.5%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (7,34), (3,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0009388/1.436, allocations: 415.2 kB / 1.039 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006993/1.437, allocations: 313.2 kB / 1.039 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/1.445, allocations: 5.422 MB / 1.044 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/1.445, allocations: 11.95 kB / 1.044 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.445, allocations: 0 / 1.044 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.447, allocations: 0.7103 MB / 1.045 GB, free: 125.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006731/1.447, allocations: 87.97 kB / 1.045 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.45, allocations: 223.7 kB / 1.045 GB, free: 125 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004214/1.45, allocations: 233.8 kB / 1.046 GB, free: 124.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01203/1.462, allocations: 5.761 MB / 1.051 GB, free: 119 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007497/1.47, allocations: 6.176 MB / 1.057 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002084/1.472, allocations: 1.841 MB / 1.059 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002854/1.475, allocations: 1.911 MB / 1.061 GB, free: 109 MB / 0.5919 GB Notification: Performance of Backend: time 6.61e-07/1.475, allocations: 4 kB / 1.061 GB, free: 109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0188/1.493, allocations: 11.55 MB / 1.072 GB, free: 96.99 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01163/1.505, allocations: 9.353 MB / 1.081 GB, free: 87.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.1001/1.605, allocations: 82.57 MB / 1.162 GB, free: 5.523 MB / 0.5919 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe 2>&1)