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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.51/2.51, allocations: 252.6 MB / 265.2 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 179.8 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 0.5754 GB, free: 10.42 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.001196/0.001196, allocations: 98.48 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.087e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.285/7.482, allocations: 2.248 GB / 3.143 GB, free: 80.37 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/7.482, allocations: 108.1 kB / 3.143 GB, free: 80.31 MB / 0.8698 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 1.247/8.729, allocations: 156.5 MB / 3.296 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.567e-06/8.729, allocations: 0 / 3.296 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003979/8.73, allocations: 93.34 kB / 3.296 GB, free: 254.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01145/8.741, allocations: 3.065 MB / 3.299 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/8.741, allocations: 7.812 kB / 3.299 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/8.749, allocations: 0.8287 MB / 3.3 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007689/8.757, allocations: 2.276 MB / 3.302 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/8.757, allocations: 231.6 kB / 3.302 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/8.758, allocations: 306.7 kB / 3.303 GB, free: 251 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/8.772, allocations: 4.348 MB / 3.307 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/8.772, allocations: 11.62 kB / 3.307 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006259/8.772, allocations: 138.7 kB / 3.307 GB, free: 249 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002631/8.773, allocations: 177.8 kB / 3.307 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/8.784, allocations: 3.926 MB / 3.311 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/8.82, allocations: 19.85 MB / 3.33 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/8.825, allocations: 1.833 MB / 3.332 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/8.827, allocations: 0.9424 MB / 3.333 GB, free: 230 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/8.828, allocations: 127.9 kB / 3.333 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002406/8.83, allocations: 1.087 MB / 3.334 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 5.1e-06/8.83, allocations: 0 / 3.334 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=187): time 0.05373/8.884, allocations: 11.84 MB / 3.346 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002412/8.884, allocations: 0.5062 MB / 3.346 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/8.889, allocations: 2.026 MB / 3.348 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005416/8.89, allocations: 65.7 kB / 3.348 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/8.892, allocations: 1.515 MB / 3.35 GB, free: 214 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009425/8.893, allocations: 0.6197 MB / 3.35 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/8.893, allocations: 40 kB / 3.35 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001443/8.893, allocations: 393.8 kB / 3.351 GB, free: 213 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/8.896, allocations: 1.093 MB / 3.352 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/8.899, allocations: 1.621 MB / 3.354 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/8.902, allocations: 1.353 MB / 3.355 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/8.902, allocations: 8 kB / 3.355 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01764/8.919, allocations: 4.551 MB / 3.359 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009642/8.92, allocations: 4.658 MB / 3.364 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/8.92, allocations: 12 kB / 3.364 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/8.934, allocations: 1.85 MB / 3.366 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/8.938, allocations: 483.2 kB / 3.366 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/8.958, allocations: 9.513 MB / 3.375 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/8.962, allocations: 203.7 kB / 3.376 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004978/8.962, allocations: 83.97 kB / 3.376 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/8.962, allocations: 5.094 kB / 3.376 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01584/8.978, allocations: 3.695 MB / 3.379 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-05/8.978, allocations: 20.73 kB / 3.379 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/8.99, allocations: 1.181 MB / 3.38 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004594/8.995, allocations: 491.2 kB / 3.381 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/9.009, allocations: 7.508 MB / 3.388 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/9.014, allocations: 167.8 kB / 3.388 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005908/9.014, allocations: 87.97 kB / 3.389 GB, free: 172.9 MB / 0.8698 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001054/9.016, allocations: 237 kB / 3.389 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/9.017, allocations: 237 kB / 3.389 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02517/9.042, allocations: 4.339 MB / 3.393 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-05/9.042, allocations: 20 kB / 3.393 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/9.042, allocations: 11.95 kB / 3.393 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-05/9.042, allocations: 15.95 kB / 3.393 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05864/9.101, allocations: 9.423 MB / 3.402 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/9.101, allocations: 8 kB / 3.402 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003965/9.105, allocations: 360 kB / 3.403 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01583/9.121, allocations: 1.819 MB / 3.405 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005836/9.121, allocations: 47.98 kB / 3.405 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0244/9.146, allocations: 13.15 MB / 3.417 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/9.146, allocations: 4 kB / 3.417 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/9.163, allocations: 4.683 MB / 3.422 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/9.166, allocations: 0.6814 MB / 3.423 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000851/9.166, allocations: 43.95 kB / 3.423 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/9.17, allocations: 199.7 kB / 3.423 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008524/9.171, allocations: 153.6 kB / 3.423 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/9.171, allocations: 63.97 kB / 3.423 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003999/9.175, allocations: 1.58 MB / 3.425 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.82e-07/9.175, allocations: 0 / 3.425 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00716/9.182, allocations: 1.285 MB / 3.426 GB, free: 133.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 176 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002358/9.185, allocations: 0.6858 MB / 3.427 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01566/9.2, allocations: 5.37 MB / 3.432 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/9.201, allocations: 4 kB / 3.432 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006443/9.207, allocations: 2.284 MB / 3.434 GB, free: 125 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004816/9.212, allocations: 0.5801 MB / 3.435 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/9.227, allocations: 5.354 MB / 3.44 GB, free: 119 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003961/9.231, allocations: 2.538 MB / 3.442 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00704/9.238, allocations: 1.388 MB / 3.444 GB, free: 115 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/9.239, allocations: 155.4 kB / 3.444 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.954e-06/9.24, allocations: 0 / 3.444 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.1422/9.382, allocations: 49.66 MB / 3.492 GB, free: 65.46 MB / 0.8698 GB