Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.479/5.479, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002505/0.002504, allocations: 359.1 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.863/4.863, allocations: 410.7 MB / 1.113 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001864/0.001864, allocations: 185.2 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005105, allocations: 12 kB / 1.349 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7552, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.028/0.7832, allocations: 19.11 MB / 1.48 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.9686, allocations: 143.6 MB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.9713, allocations: 71.62 kB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.9737, allocations: 0.5124 MB / 1.621 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.006778/0.9806, allocations: 1.658 MB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006485/0.9871, allocations: 1.55 MB / 1.624 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007719/0.9948, allocations: 5.418 MB / 1.629 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/1.007, allocations: 5.724 MB / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/1.01, allocations: 1.475 MB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/1.014, allocations: 1.934 MB / 1.638 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008959/1.015, allocations: 171.9 kB / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/1.018, allocations: 0.6007 MB / 1.639 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/1.02, allocations: 1.313 MB / 1.64 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/1.022, allocations: 0.699 MB / 1.641 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007529/1.029, allocations: 5.681 MB / 1.646 GB, free: 94.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.029, allocations: 0 / 1.646 GB, free: 94.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.394e-06/1.029, allocations: 0 / 1.646 GB, free: 94.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002232/1.029, allocations: 0 / 1.646 GB, free: 94.77 MB / 0.8542 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.01019/1.04, allocations: 3.306 MB / 1.65 GB, free: 91.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.04, allocations: 11.62 kB / 1.65 GB, free: 91.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006344/1.046, allocations: 0.8383 MB / 1.65 GB, free: 90.54 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/1.052, allocations: 2.336 MB / 1.653 GB, free: 88.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/1.053, allocations: 230.2 kB / 1.653 GB, free: 87.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/1.054, allocations: 303.9 kB / 1.653 GB, free: 87.63 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/1.067, allocations: 4.727 MB / 1.658 GB, free: 82.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/1.067, allocations: 7.875 kB / 1.658 GB, free: 82.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005745/1.067, allocations: 132 kB / 1.658 GB, free: 82.61 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005136/1.068, allocations: 222 kB / 1.658 GB, free: 82.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/1.08, allocations: 4.294 MB / 1.662 GB, free: 78.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/1.114, allocations: 19.53 MB / 1.681 GB, free: 57.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005865/1.119, allocations: 1.978 MB / 1.683 GB, free: 55.04 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/1.123, allocations: 1.123 MB / 1.685 GB, free: 53.92 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/1.123, allocations: 130.4 kB / 1.685 GB, free: 53.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003109/1.127, allocations: 1.203 MB / 1.686 GB, free: 52.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=160): time 4.91e-06/1.127, allocations: 4 kB / 1.686 GB, free: 52.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197): time 0.0626/1.189, allocations: 11.17 MB / 1.697 GB, free: 41.29 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.189, allocations: 304.7 kB / 1.697 GB, free: 40.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/1.193, allocations: 2.067 MB / 1.699 GB, free: 38.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005049/1.194, allocations: 69.64 kB / 1.699 GB, free: 38.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/1.195, allocations: 1.485 MB / 1.701 GB, free: 37.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008059/1.196, allocations: 0.6585 MB / 1.701 GB, free: 36.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/1.196, allocations: 40 kB / 1.701 GB, free: 36.53 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.196, allocations: 381.9 kB / 1.702 GB, free: 36.15 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/1.199, allocations: 1.175 MB / 1.703 GB, free: 34.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/1.202, allocations: 1.618 MB / 1.704 GB, free: 33.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/1.206, allocations: 1.404 MB / 1.706 GB, free: 31.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/1.206, allocations: 0 / 1.706 GB, free: 31.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.02445/1.231, allocations: 5.16 MB / 1.711 GB, free: 26.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/1.231, allocations: 375.3 kB / 1.711 GB, free: 26.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/1.231, allocations: 8 kB / 1.711 GB, free: 26.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02159/1.253, allocations: 2.455 MB / 1.714 GB, free: 23.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00596/1.259, allocations: 467.2 kB / 1.714 GB, free: 23.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03848/1.297, allocations: 14.21 MB / 1.728 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005322/1.303, allocations: 199.8 kB / 1.728 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005701/1.303, allocations: 87.97 kB / 1.728 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.303, allocations: 7.938 kB / 1.728 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02533/1.329, allocations: 4.187 MB / 1.732 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/1.329, allocations: 8 kB / 1.732 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/1.346, allocations: 1.621 MB / 1.734 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005218/1.351, allocations: 487.2 kB / 1.734 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6807/2.032, allocations: 8.115 MB / 1.742 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/2.036, allocations: 176 kB / 1.742 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005619/2.037, allocations: 89.02 kB / 1.742 GB, free: 256.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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.003566/2.04, allocations: 1.257 MB / 1.744 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008505/2.041, allocations: 232.9 kB / 1.744 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02638/2.067, allocations: 5.204 MB / 1.749 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.546e-05/2.068, allocations: 13.17 kB / 1.749 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/2.068, allocations: 3.797 kB / 1.749 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/2.07, allocations: 0.6708 MB / 1.75 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008995/2.071, allocations: 38.28 kB / 1.75 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/2.075, allocations: 241.5 kB / 1.75 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008409/2.076, allocations: 145.1 kB / 1.75 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01902/2.095, allocations: 4.216 MB / 1.754 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0185/2.113, allocations: 4.546 MB / 1.759 GB, free: 250.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00335/2.117, allocations: 1.363 MB / 1.76 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003387/2.12, allocations: 1.447 MB / 1.761 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of Backend: time 7.92e-07/2.12, allocations: 0 / 1.761 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0181/2.138, allocations: 5.461 MB / 1.767 GB, free: 247 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01774/2.156, allocations: 7.704 MB / 1.774 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.1412/2.298, allocations: 59.64 MB / 1.832 GB, free: 181.8 MB / 0.8542 GB