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.545/2.545, allocations: 253.2 MB / 260.6 MB, free: 7.473 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.001516/0.001516, allocations: 184.9 kB / 319.9 MB, free: 3.035 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.161/2.161, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001058/0.001058, allocations: 100.8 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.529e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.482/7.696, allocations: 2.248 GB / 3.137 GB, free: 116 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/7.696, allocations: 112.5 kB / 3.137 GB, free: 116 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.27/8.966, allocations: 149.7 MB / 3.283 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.018e-06/8.966, allocations: 0 / 3.283 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006067/8.967, allocations: 85.97 kB / 3.283 GB, free: 234.2 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.01843/8.985, allocations: 3.072 MB / 3.286 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/8.985, allocations: 14.3 kB / 3.286 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/8.996, allocations: 0.8257 MB / 3.287 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008376/9.004, allocations: 2.283 MB / 3.29 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/9.005, allocations: 99.19 kB / 3.29 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/9.006, allocations: 180.6 kB / 3.29 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01133/9.017, allocations: 3.519 MB / 3.293 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/9.032, allocations: 3.914 MB / 3.297 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/9.032, allocations: 13.48 kB / 3.297 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005817/9.032, allocations: 3.875 kB / 3.297 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/9.033, allocations: 175.3 kB / 3.297 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0353/9.068, allocations: 19.1 MB / 3.316 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/9.072, allocations: 1.751 MB / 3.318 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00284/9.075, allocations: 1.11 MB / 3.319 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00037/9.076, allocations: 132.4 kB / 3.319 GB, free: 221 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002249/9.078, allocations: 1.038 MB / 3.32 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 5.17e-06/9.078, allocations: 3.828 kB / 3.32 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=187): time 0.03263/9.11, allocations: 9.878 MB / 3.329 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/9.111, allocations: 0.5012 MB / 3.33 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/9.115, allocations: 1.864 MB / 3.332 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005428/9.116, allocations: 31.64 kB / 3.332 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/9.118, allocations: 1.523 MB / 3.333 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009986/9.119, allocations: 0.603 MB / 3.334 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/9.119, allocations: 0 / 3.334 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001611/9.119, allocations: 387.1 kB / 3.334 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/9.122, allocations: 1.056 MB / 3.335 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/9.125, allocations: 1.573 MB / 3.337 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/9.129, allocations: 1.375 MB / 3.338 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/9.129, allocations: 10.3 kB / 3.338 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01706/9.146, allocations: 4.198 MB / 3.342 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001012/9.147, allocations: 4.633 MB / 3.347 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-05/9.147, allocations: 10.84 kB / 3.347 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/9.157, allocations: 1.355 MB / 3.348 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/9.161, allocations: 476.3 kB / 3.349 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/9.177, allocations: 9.065 MB / 3.357 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/9.181, allocations: 166.8 kB / 3.358 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/9.182, allocations: 93.03 kB / 3.358 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/9.182, allocations: 7.344 kB / 3.358 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005968/9.188, allocations: 2.18 MB / 3.36 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/9.188, allocations: 16.5 kB / 3.36 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/9.188, allocations: 20.31 kB / 3.36 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/9.192, allocations: 0.5028 MB / 3.36 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-05/9.192, allocations: 31.69 kB / 3.36 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/9.195, allocations: 104 kB / 3.36 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004714/9.195, allocations: 85.17 kB / 3.361 GB, free: 197.5 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.0008527/9.196, allocations: 174.1 kB / 3.361 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009144/9.197, allocations: 225.8 kB / 3.361 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/9.215, allocations: 4.228 MB / 3.365 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/9.215, allocations: 32.14 kB / 3.365 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/9.215, allocations: 6.688 kB / 3.365 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.156e-05/9.215, allocations: 9.969 kB / 3.365 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/9.242, allocations: 8.718 MB / 3.374 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/9.242, allocations: 7.625 kB / 3.374 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/9.245, allocations: 365.6 kB / 3.374 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01165/9.256, allocations: 1.792 MB / 3.376 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005061/9.257, allocations: 22.94 kB / 3.376 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/9.278, allocations: 12.51 MB / 3.388 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/9.278, allocations: 12.5 kB / 3.388 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/9.294, allocations: 4.586 MB / 3.392 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/9.297, allocations: 0.6851 MB / 3.393 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006525/9.297, allocations: 10.31 kB / 3.393 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003788/9.301, allocations: 227.5 kB / 3.393 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006267/9.302, allocations: 154.7 kB / 3.393 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/9.302, allocations: 64.42 kB / 3.394 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002987/9.305, allocations: 1.428 MB / 3.395 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.71e-07/9.305, allocations: 0 / 3.395 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006215/9.311, allocations: 1.138 MB / 3.396 GB, free: 179.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.002088/9.314, allocations: 0.638 MB / 3.397 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0117/9.325, allocations: 4.403 MB / 3.401 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/9.325, allocations: 2.5 kB / 3.401 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00645/9.332, allocations: 2.223 MB / 3.403 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007117/9.339, allocations: 0.5392 MB / 3.404 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/9.355, allocations: 5.237 MB / 3.409 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/9.358, allocations: 2.53 MB / 3.411 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006568/9.365, allocations: 1.37 MB / 3.413 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/9.366, allocations: 162.4 kB / 3.413 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/9.366, allocations: 0 / 3.413 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.1042/9.47, allocations: 43.17 MB / 3.455 GB, free: 132.7 MB / 0.8698 GB