Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002534/0.002533, allocations: 178.7 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.541/2.541, allocations: 205.4 MB / 0.5766 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 102.1 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006444, allocations: 16.06 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2084, allocations: 106.3 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.435/7.644, allocations: 2.25 GB / 3.149 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/7.644, allocations: 117.2 kB / 3.149 GB, free: 230.4 MB / 0.8855 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.5832/8.228, allocations: 147.9 MB / 3.293 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.374e-06/8.228, allocations: 0 / 3.293 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003736/8.228, allocations: 87.92 kB / 3.293 GB, free: 136.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01245/8.24, allocations: 3.314 MB / 3.297 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/8.241, allocations: 8.031 kB / 3.297 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007667/8.248, allocations: 0.8345 MB / 3.297 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007207/8.255, allocations: 2.134 MB / 3.299 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/8.256, allocations: 234.1 kB / 3.3 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/8.257, allocations: 295.9 kB / 3.3 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/8.271, allocations: 4.346 MB / 3.304 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/8.272, allocations: 11.94 kB / 3.304 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/8.273, allocations: 136 kB / 3.304 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002481/8.273, allocations: 165.9 kB / 3.305 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/8.285, allocations: 3.974 MB / 3.308 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03674/8.322, allocations: 18.59 MB / 3.327 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/8.327, allocations: 1.794 MB / 3.328 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/8.328, allocations: 134.4 kB / 3.328 GB, free: 98.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003045/8.331, allocations: 1.092 MB / 3.33 GB, free: 97.42 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=147): time 5.891e-06/8.331, allocations: 3.938 kB / 3.33 GB, free: 97.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=182): time 0.0551/8.386, allocations: 13.45 MB / 3.343 GB, free: 83.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/8.386, allocations: 0.5886 MB / 3.343 GB, free: 83.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/8.39, allocations: 1.858 MB / 3.345 GB, free: 81.21 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004982/8.391, allocations: 61.7 kB / 3.345 GB, free: 81.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002894/8.394, allocations: 1.463 MB / 3.347 GB, free: 79.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008945/8.395, allocations: 0.6162 MB / 3.347 GB, free: 79.03 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/8.395, allocations: 44 kB / 3.347 GB, free: 78.99 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001427/8.395, allocations: 386 kB / 3.348 GB, free: 78.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/8.398, allocations: 1.101 MB / 3.349 GB, free: 77.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/8.401, allocations: 1.69 MB / 3.35 GB, free: 75.56 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/8.405, allocations: 1.395 MB / 3.352 GB, free: 74.17 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/8.405, allocations: 4 kB / 3.352 GB, free: 74.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01628/8.421, allocations: 4.322 MB / 3.356 GB, free: 69.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/8.423, allocations: 5.872 MB / 3.362 GB, free: 63.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.085e-05/8.423, allocations: 12 kB / 3.362 GB, free: 63.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/8.433, allocations: 1.588 MB / 3.363 GB, free: 61.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/8.437, allocations: 483.2 kB / 3.364 GB, free: 61.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/8.45, allocations: 6.108 MB / 3.37 GB, free: 55.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/8.454, allocations: 211.6 kB / 3.37 GB, free: 54.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/8.455, allocations: 95.97 kB / 3.37 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/8.455, allocations: 4 kB / 3.37 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01295/8.468, allocations: 3.604 MB / 3.373 GB, free: 51.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.133e-05/8.468, allocations: 12 kB / 3.373 GB, free: 51.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007124/8.475, allocations: 1.033 MB / 3.374 GB, free: 50.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/8.479, allocations: 0.4914 MB / 3.375 GB, free: 49.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/8.491, allocations: 5.146 MB / 3.38 GB, free: 44.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/8.494, allocations: 176 kB / 3.38 GB, free: 44.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005561/8.495, allocations: 87.98 kB / 3.38 GB, free: 44.12 MB / 0.8855 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.003463/8.498, allocations: 1.238 MB / 3.381 GB, free: 42.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008268/8.499, allocations: 229.3 kB / 3.382 GB, free: 42.65 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01591/8.515, allocations: 3.877 MB / 3.385 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-05/8.515, allocations: 20 kB / 3.385 GB, free: 38.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/8.515, allocations: 8 kB / 3.385 GB, free: 38.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/8.515, allocations: 11.97 kB / 3.385 GB, free: 38.71 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/8.542, allocations: 9.397 MB / 3.395 GB, free: 29.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/8.542, allocations: 8.094 kB / 3.395 GB, free: 29.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002659/8.545, allocations: 335.5 kB / 3.395 GB, free: 28.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/8.555, allocations: 1.518 MB / 3.396 GB, free: 27.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004595/8.556, allocations: 51.98 kB / 3.396 GB, free: 27.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/8.575, allocations: 8.664 MB / 3.405 GB, free: 18.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/8.575, allocations: 4 kB / 3.405 GB, free: 18.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/8.59, allocations: 4.519 MB / 3.409 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/8.592, allocations: 0.6386 MB / 3.41 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008639/8.593, allocations: 40 kB / 3.41 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/8.596, allocations: 179.8 kB / 3.41 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/8.597, allocations: 161.6 kB / 3.41 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/8.597, allocations: 59.98 kB / 3.41 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00355/8.6, allocations: 1.454 MB / 3.412 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.92e-07/8.601, allocations: 0 / 3.412 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007417/8.608, allocations: 1.262 MB / 3.413 GB, free: 9.633 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002505/8.611, allocations: 0.7462 MB / 3.414 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01484/8.625, allocations: 4.883 MB / 3.419 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/8.625, allocations: 5.938 kB / 3.419 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00595/8.631, allocations: 1.872 MB / 3.42 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/8.636, allocations: 0.5491 MB / 3.421 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6228/9.259, allocations: 7.64 MB / 3.428 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005563/9.265, allocations: 2.46 MB / 3.431 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006448/9.271, allocations: 1.011 MB / 3.432 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/9.273, allocations: 190.6 kB / 3.432 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.643e-06/9.273, allocations: 0 / 3.432 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.1099/9.382, allocations: 43.04 MB / 3.474 GB, free: 234.7 MB / 0.8855 GB