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.438/2.438, allocations: 252.6 MB / 265.2 MB, free: 5.723 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.001403/0.001403, allocations: 185.4 kB / 324.5 MB, free: 14.4 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.331/2.331, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001097/0.001096, allocations: 94.06 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.753e-05/3.769e-05, allocations: 11.92 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2018, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.277/7.479, allocations: 2.25 GB / 3.145 GB, free: 78.62 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005935/7.479, allocations: 107.8 kB / 3.145 GB, free: 78.57 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.277/8.757, allocations: 147.2 MB / 3.289 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/8.757, allocations: 0 / 3.289 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003443/8.757, allocations: 80.86 kB / 3.289 GB, free: 249.8 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01052/8.768, allocations: 2.994 MB / 3.292 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/8.768, allocations: 11.62 kB / 3.292 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007373/8.775, allocations: 0.8272 MB / 3.292 GB, free: 248 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006804/8.782, allocations: 2.126 MB / 3.294 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/8.782, allocations: 240.6 kB / 3.295 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/8.783, allocations: 298 kB / 3.295 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/8.795, allocations: 4.268 MB / 3.299 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/8.796, allocations: 7.531 kB / 3.299 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005857/8.796, allocations: 133.5 kB / 3.299 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000249/8.796, allocations: 172.9 kB / 3.299 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/8.807, allocations: 3.879 MB / 3.303 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03294/8.84, allocations: 18.59 MB / 3.321 GB, free: 230 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/8.844, allocations: 1.75 MB / 3.323 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/8.846, allocations: 0.921 MB / 3.324 GB, free: 229 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/8.846, allocations: 133.7 kB / 3.324 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/8.849, allocations: 1.067 MB / 3.325 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 5.039e-06/8.849, allocations: 0 / 3.325 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.04176/8.89, allocations: 12.01 MB / 3.337 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/8.891, allocations: 0.5866 MB / 3.337 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/8.895, allocations: 1.845 MB / 3.339 GB, free: 221 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004833/8.895, allocations: 57.17 kB / 3.339 GB, free: 221 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001584/8.897, allocations: 1.467 MB / 3.341 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008495/8.898, allocations: 0.6113 MB / 3.341 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/8.898, allocations: 38.03 kB / 3.341 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001523/8.898, allocations: 395.3 kB / 3.342 GB, free: 219 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/8.901, allocations: 1.065 MB / 3.343 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/8.904, allocations: 1.661 MB / 3.344 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/8.907, allocations: 1.363 MB / 3.346 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/8.907, allocations: 4 kB / 3.346 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01487/8.922, allocations: 4.185 MB / 3.35 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/8.923, allocations: 5.874 MB / 3.356 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/8.923, allocations: 12 kB / 3.356 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008908/8.932, allocations: 1.444 MB / 3.357 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/8.936, allocations: 479.2 kB / 3.357 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/8.948, allocations: 5.859 MB / 3.363 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/8.952, allocations: 207.5 kB / 3.363 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005841/8.952, allocations: 91.97 kB / 3.363 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/8.952, allocations: 4.781 kB / 3.363 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01195/8.964, allocations: 3.463 MB / 3.367 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/8.964, allocations: 16 kB / 3.367 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005758/8.97, allocations: 0.8906 MB / 3.368 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/8.974, allocations: 0.4953 MB / 3.368 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/8.986, allocations: 4.853 MB / 3.373 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/8.989, allocations: 179.7 kB / 3.373 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/8.99, allocations: 91.98 kB / 3.373 GB, free: 187.1 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: 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 () * 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.0008296/8.99, allocations: 243.8 kB / 3.373 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007853/8.991, allocations: 221.3 kB / 3.374 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/9.005, allocations: 3.755 MB / 3.377 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/9.005, allocations: 24 kB / 3.377 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/9.005, allocations: 4 kB / 3.377 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.296e-05/9.005, allocations: 15.91 kB / 3.377 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02437/9.03, allocations: 9.275 MB / 3.386 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/9.03, allocations: 8 kB / 3.386 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/9.032, allocations: 327.5 kB / 3.387 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008543/9.041, allocations: 1.397 MB / 3.388 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004444/9.042, allocations: 55.91 kB / 3.388 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/9.059, allocations: 8.21 MB / 3.396 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/9.059, allocations: 7.938 kB / 3.396 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/9.077, allocations: 4.387 MB / 3.4 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003583/9.081, allocations: 0.6425 MB / 3.401 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/9.082, allocations: 47.94 kB / 3.401 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005275/9.087, allocations: 179.8 kB / 3.401 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/9.088, allocations: 153.6 kB / 3.401 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004631/9.089, allocations: 67.98 kB / 3.402 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005446/9.094, allocations: 1.424 MB / 3.403 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.864e-06/9.094, allocations: 0 / 3.403 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01054/9.105, allocations: 1.265 MB / 3.404 GB, free: 154.7 MB / 0.8698 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) * 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.003533/9.109, allocations: 0.6931 MB / 3.405 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02142/9.13, allocations: 4.823 MB / 3.41 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.182e-05/9.13, allocations: 4 kB / 3.41 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008431/9.139, allocations: 1.838 MB / 3.411 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00722/9.146, allocations: 0.5558 MB / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/9.17, allocations: 5.217 MB / 3.417 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004128/9.174, allocations: 2.458 MB / 3.419 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007248/9.181, allocations: 1.309 MB / 3.421 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/9.182, allocations: 147.4 kB / 3.421 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.265e-06/9.182, allocations: 0 / 3.421 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.108/9.29, allocations: 45.75 MB / 3.465 GB, free: 92.14 MB / 0.8698 GB