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.221/2.221, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.00153/0.00153, allocations: 178.3 kB / 325.6 MB, free: 2.832 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.391/2.391, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001073/0.001073, allocations: 90.03 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.000631, allocations: 11.41 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2387, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.349/7.588, allocations: 2.248 GB / 3.147 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/7.589, allocations: 117.9 kB / 3.147 GB, free: 230.3 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.5655/8.154, allocations: 157.2 MB / 3.301 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.265e-06/8.154, allocations: 0 / 3.301 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003723/8.155, allocations: 95.86 kB / 3.301 GB, free: 126.8 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01215/8.167, allocations: 3.431 MB / 3.304 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/8.167, allocations: 8.031 kB / 3.304 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007403/8.174, allocations: 0.8304 MB / 3.305 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00704/8.181, allocations: 2.289 MB / 3.307 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/8.182, allocations: 238.2 kB / 3.307 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/8.183, allocations: 307.9 kB / 3.308 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/8.195, allocations: 4.421 MB / 3.312 GB, free: 115 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/8.196, allocations: 7.938 kB / 3.312 GB, free: 115 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005625/8.196, allocations: 132 kB / 3.312 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/8.197, allocations: 174 kB / 3.312 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/8.208, allocations: 4.021 MB / 3.316 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/8.243, allocations: 19.86 MB / 3.336 GB, free: 89.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004875/8.248, allocations: 1.886 MB / 3.338 GB, free: 87.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003563/8.249, allocations: 134.4 kB / 3.338 GB, free: 87.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002397/8.251, allocations: 1.105 MB / 3.339 GB, free: 86.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=150): time 4.909e-06/8.251, allocations: 0 / 3.339 GB, free: 86.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=187): time 0.0554/8.306, allocations: 13.42 MB / 3.352 GB, free: 72.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/8.307, allocations: 0.5061 MB / 3.352 GB, free: 71.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/8.311, allocations: 2.056 MB / 3.354 GB, free: 69.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005423/8.312, allocations: 61.7 kB / 3.354 GB, free: 69.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/8.314, allocations: 1.515 MB / 3.356 GB, free: 68.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009613/8.315, allocations: 0.6199 MB / 3.356 GB, free: 67.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/8.315, allocations: 40 kB / 3.357 GB, free: 67.49 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001414/8.315, allocations: 393.8 kB / 3.357 GB, free: 67.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002777/8.318, allocations: 1.128 MB / 3.358 GB, free: 65.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/8.321, allocations: 1.652 MB / 3.36 GB, free: 64.12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/8.325, allocations: 1.379 MB / 3.361 GB, free: 62.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/8.325, allocations: 8 kB / 3.361 GB, free: 62.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.0196/8.345, allocations: 4.731 MB / 3.366 GB, free: 57.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001428/8.346, allocations: 4.662 MB / 3.37 GB, free: 52.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-05/8.346, allocations: 12 kB / 3.37 GB, free: 52.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01973/8.366, allocations: 2.057 MB / 3.372 GB, free: 50.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/8.37, allocations: 483.2 kB / 3.373 GB, free: 50.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/8.388, allocations: 9.836 MB / 3.382 GB, free: 40.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/8.392, allocations: 204.2 kB / 3.382 GB, free: 39.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005315/8.392, allocations: 83.97 kB / 3.382 GB, free: 39.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/8.392, allocations: 4 kB / 3.383 GB, free: 39.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01594/8.408, allocations: 3.874 MB / 3.386 GB, free: 35.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.801e-05/8.408, allocations: 12 kB / 3.386 GB, free: 35.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/8.419, allocations: 1.392 MB / 3.388 GB, free: 34.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/8.423, allocations: 487.2 kB / 3.388 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/8.438, allocations: 7.836 MB / 3.396 GB, free: 25.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/8.442, allocations: 163.8 kB / 3.396 GB, free: 25.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006118/8.443, allocations: 87.97 kB / 3.396 GB, free: 25.54 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: 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 () * Number of clocked 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.003562/8.446, allocations: 1.271 MB / 3.397 GB, free: 24.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008952/8.447, allocations: 229.5 kB / 3.397 GB, free: 24.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02016/8.467, allocations: 4.514 MB / 3.402 GB, free: 19.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/8.467, allocations: 24 kB / 3.402 GB, free: 19.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/8.467, allocations: 4 kB / 3.402 GB, free: 19.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/8.467, allocations: 15.95 kB / 3.402 GB, free: 19.44 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02989/8.497, allocations: 9.588 MB / 3.411 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/8.497, allocations: 4 kB / 3.411 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/8.5, allocations: 355.4 kB / 3.412 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01467/8.515, allocations: 2.007 MB / 3.414 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004957/8.516, allocations: 55.92 kB / 3.414 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6772/9.193, allocations: 13.65 MB / 3.427 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/9.193, allocations: 9.188 kB / 3.427 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03042/9.223, allocations: 4.853 MB / 3.432 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/9.227, allocations: 0.6829 MB / 3.432 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/9.229, allocations: 43.5 kB / 3.432 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0052/9.234, allocations: 195.3 kB / 3.433 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008749/9.235, allocations: 154.2 kB / 3.433 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/9.235, allocations: 63.81 kB / 3.433 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004748/9.24, allocations: 1.603 MB / 3.434 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/9.24, allocations: 0 / 3.434 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007474/9.247, allocations: 1.286 MB / 3.436 GB, free: 230.5 MB / 0.8855 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) * Number of clocked states: 0 () * 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.00254/9.25, allocations: 0.7309 MB / 3.436 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01781/9.268, allocations: 5.429 MB / 3.442 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/9.268, allocations: 4.734 kB / 3.442 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007222/9.275, allocations: 2.33 MB / 3.444 GB, free: 229 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005083/9.28, allocations: 0.5699 MB / 3.444 GB, free: 229 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/9.3, allocations: 7.882 MB / 3.452 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004453/9.304, allocations: 2.538 MB / 3.455 GB, free: 225 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005438/9.31, allocations: 1.006 MB / 3.456 GB, free: 225 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/9.311, allocations: 205.4 kB / 3.456 GB, free: 225 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/9.311, allocations: 0 / 3.456 GB, free: 225 MB / 0.8855 GB Notification: Performance of Templates: time 0.1158/9.427, allocations: 46.84 MB / 3.502 GB, free: 223 MB / 0.8855 GB