Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TieLine.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TieLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TieLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002565/0.002565, allocations: 361.4 kB / 17.21 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.724/3.724, allocations: 388.9 MB / 406.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003683/0.003683, allocations: 227.5 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7526/0.7526, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004382, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09079, allocations: 53.22 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TieLine): time 0.02241/0.1133, allocations: 19.32 MB / 0.6931 GB, free: 41.45 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.1347, allocations: 10.63 MB / 0.7035 GB, free: 30.8 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.138, allocations: 151 kB / 0.7036 GB, free: 30.65 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.048/1.186, allocations: 217 MB / 0.9156 GB, free: 136.3 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007182/1.193, allocations: 1.881 MB / 0.9174 GB, free: 136.3 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005669/1.199, allocations: 1.322 MB / 0.9187 GB, free: 136.3 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.06687/1.266, allocations: 33.35 MB / 0.9513 GB, free: 132.5 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006663/1.272, allocations: 2.758 MB / 0.954 GB, free: 131.7 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.106/1.378, allocations: 55.52 MB / 1.008 GB, free: 81.41 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004916/1.383, allocations: 2.544 MB / 1.011 GB, free: 79.05 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000676/1.384, allocations: 144 kB / 1.011 GB, free: 78.91 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/1.386, allocations: 0.5819 MB / 1.011 GB, free: 78.35 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/1.388, allocations: 1.649 MB / 1.013 GB, free: 76.71 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001715/1.39, allocations: 0.7379 MB / 1.014 GB, free: 75.97 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006325/1.396, allocations: 4.764 MB / 1.018 GB, free: 71.35 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.397, allocations: 4.75 kB / 1.018 GB, free: 71.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.397, allocations: 0 / 1.018 GB, free: 71.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001329/1.397, allocations: 2.406 kB / 1.018 GB, free: 71.35 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01466/1.411, allocations: 4.058 MB / 1.022 GB, free: 67.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.411, allocations: 8.031 kB / 1.022 GB, free: 67.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/1.416, allocations: 0.6726 MB / 1.023 GB, free: 66.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/1.427, allocations: 3.359 MB / 1.026 GB, free: 63.22 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.428, allocations: 200.8 kB / 1.026 GB, free: 63.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/1.429, allocations: 341.5 kB / 1.027 GB, free: 62.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/1.44, allocations: 3.851 MB / 1.031 GB, free: 58.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/1.44, allocations: 18.03 kB / 1.031 GB, free: 58.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004056/1.44, allocations: 99.12 kB / 1.031 GB, free: 58.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/1.441, allocations: 253 kB / 1.031 GB, free: 58.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/1.452, allocations: 3.623 MB / 1.034 GB, free: 54.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/1.483, allocations: 12.9 MB / 1.047 GB, free: 41.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006058/1.489, allocations: 2.297 MB / 1.049 GB, free: 39.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/1.494, allocations: 1.741 MB / 1.051 GB, free: 37.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/1.494, allocations: 32.88 kB / 1.051 GB, free: 37.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00384/1.498, allocations: 1.58 MB / 1.053 GB, free: 35.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=223): time 6.021e-06/1.498, allocations: 0 / 1.053 GB, free: 35.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.111/1.609, allocations: 20.95 MB / 1.073 GB, free: 14.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/1.609, allocations: 265.4 kB / 1.073 GB, free: 14.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006399/1.615, allocations: 2.745 MB / 1.076 GB, free: 11.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006757/1.616, allocations: 73.7 kB / 1.076 GB, free: 11.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.617, allocations: 1.509 MB / 1.077 GB, free: 10.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.619, allocations: 0.9501 MB / 1.078 GB, free: 9.277 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/1.619, allocations: 64 kB / 1.078 GB, free: 9.215 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/1.619, allocations: 440.6 kB / 1.079 GB, free: 8.777 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004456/1.624, allocations: 1.673 MB / 1.081 GB, free: 7.102 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/1.629, allocations: 2.28 MB / 1.083 GB, free: 4.613 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/1.634, allocations: 2.02 MB / 1.085 GB, free: 2.578 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/1.634, allocations: 4 kB / 1.085 GB, free: 2.574 MB / 474.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.3548/1.989, allocations: 6.759 MB / 1.091 GB, free: 147.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/1.989, allocations: 0.5002 MB / 1.092 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/1.989, allocations: 14.28 kB / 1.092 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/2.003, allocations: 2.322 MB / 1.094 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009631/2.013, allocations: 1.362 MB / 1.095 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07195/2.085, allocations: 44.96 MB / 1.139 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/2.09, allocations: 281.6 kB / 1.14 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004873/2.091, allocations: 128 kB / 1.14 GB, free: 112.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/2.091, allocations: 4.375 kB / 1.14 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01824/2.109, allocations: 6.277 MB / 1.146 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-05/2.109, allocations: 11.41 kB / 1.146 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/2.121, allocations: 2.318 MB / 1.148 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/2.125, allocations: 0.5822 MB / 1.149 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05508/2.18, allocations: 35.64 MB / 1.184 GB, free: 81.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/2.185, allocations: 243.6 kB / 1.184 GB, free: 81.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005319/2.186, allocations: 122.8 kB / 1.184 GB, free: 81.18 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: 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 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 (297): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(4,62.5%) 21,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 9,8 46} Notification: Performance of prepare postOptimizeDAE: time 0.002901/2.189, allocations: 1.148 MB / 1.185 GB, free: 80.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008764/2.19, allocations: 316 kB / 1.185 GB, free: 79.72 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/2.206, allocations: 5.249 MB / 1.19 GB, free: 74.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.366e-05/2.206, allocations: 15.94 kB / 1.19 GB, free: 74.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/2.206, allocations: 0 / 1.19 GB, free: 74.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/2.208, allocations: 0.7047 MB / 1.191 GB, free: 73.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/2.209, allocations: 99.95 kB / 1.191 GB, free: 73.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004149/2.214, allocations: 239.7 kB / 1.191 GB, free: 73.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000702/2.214, allocations: 253.7 kB / 1.192 GB, free: 73.09 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.023/2.237, allocations: 5.852 MB / 1.197 GB, free: 67.26 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01464/2.252, allocations: 6.265 MB / 1.204 GB, free: 60.91 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004355/2.256, allocations: 1.883 MB / 1.205 GB, free: 59.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005086/2.261, allocations: 1.891 MB / 1.207 GB, free: 57.12 MB / 474.7 MB Notification: Performance of Backend: time 1.733e-06/2.262, allocations: 4 kB / 1.207 GB, free: 57.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03223/2.294, allocations: 11.09 MB / 1.218 GB, free: 45.68 MB / 474.7 MB Notification: Performance of SimCode: time 0.0199/2.314, allocations: 10.83 MB / 1.229 GB, free: 35.03 MB / 474.7 MB Notification: Performance of Templates: time 0.5111/2.825, allocations: 78.19 MB / 1.305 GB, free: 117.9 MB / 474.7 MB