Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.999/4.999, allocations: 0.5623 GB / 0.5775 GB, free: 3.402 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.002501/0.002501, allocations: 363.5 kB / 0.6446 GB, free: 185.6 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.27/4.27, allocations: 410.7 MB / 1.113 GB, free: 6.039 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.002526/0.002526, allocations: 178.6 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7435, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.537/7.28, allocations: 2.132 GB / 3.593 GB, free: 252.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004057/7.281, allocations: 119.8 kB / 3.593 GB, free: 252.6 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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.5385/7.819, allocations: 146.7 MB / 3.737 GB, free: 135 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.647e-06/7.82, allocations: 0 / 3.737 GB, free: 135 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003941/7.82, allocations: 76 kB / 3.737 GB, free: 135 MB / 0.948 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.01292/7.833, allocations: 3.321 MB / 3.74 GB, free: 131.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/7.833, allocations: 11.62 kB / 3.74 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00794/7.841, allocations: 0.8385 MB / 3.741 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/7.848, allocations: 2.138 MB / 3.743 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/7.848, allocations: 226.1 kB / 3.743 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/7.849, allocations: 304 kB / 3.743 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/7.862, allocations: 4.373 MB / 3.748 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/7.862, allocations: 0 / 3.748 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005589/7.863, allocations: 132 kB / 3.748 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/7.863, allocations: 169.9 kB / 3.748 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/7.875, allocations: 3.974 MB / 3.752 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0328/7.907, allocations: 18.52 MB / 3.77 GB, free: 99.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005139/7.913, allocations: 2.114 MB / 3.772 GB, free: 97.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/7.915, allocations: 1.066 MB / 3.773 GB, free: 96.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/7.916, allocations: 130.4 kB / 3.773 GB, free: 95.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00259/7.918, allocations: 1.103 MB / 3.774 GB, free: 94.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=153): time 4.699e-06/7.918, allocations: 4 kB / 3.774 GB, free: 94.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=188): time 0.04828/7.967, allocations: 9.892 MB / 3.784 GB, free: 84.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/7.967, allocations: 334.4 kB / 3.784 GB, free: 84.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/7.971, allocations: 1.995 MB / 3.786 GB, free: 82.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006534/7.972, allocations: 57.7 kB / 3.786 GB, free: 82.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/7.974, allocations: 1.448 MB / 3.788 GB, free: 80.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009207/7.975, allocations: 0.6355 MB / 3.788 GB, free: 80.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/7.975, allocations: 40 kB / 3.788 GB, free: 80.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001444/7.975, allocations: 390 kB / 3.789 GB, free: 79.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/7.978, allocations: 1.089 MB / 3.79 GB, free: 78.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003119/7.981, allocations: 1.69 MB / 3.791 GB, free: 76.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/7.984, allocations: 1.384 MB / 3.793 GB, free: 75.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/7.984, allocations: 4 kB / 3.793 GB, free: 75.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01809/8.002, allocations: 4.533 MB / 3.797 GB, free: 70.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003138/8.003, allocations: 0.5188 MB / 3.798 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/8.003, allocations: 23.94 kB / 3.798 GB, free: 70.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01351/8.016, allocations: 1.808 MB / 3.799 GB, free: 68.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/8.02, allocations: 495.1 kB / 3.8 GB, free: 67.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/8.042, allocations: 8.857 MB / 3.808 GB, free: 58.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/8.046, allocations: 191.7 kB / 3.809 GB, free: 58.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/8.046, allocations: 91.97 kB / 3.809 GB, free: 58.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/8.046, allocations: 4 kB / 3.809 GB, free: 58.35 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01437/8.061, allocations: 3.752 MB / 3.812 GB, free: 54.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.222e-05/8.061, allocations: 16 kB / 3.812 GB, free: 54.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008639/8.069, allocations: 1.172 MB / 3.814 GB, free: 53.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/8.073, allocations: 0.4914 MB / 3.814 GB, free: 52.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/8.087, allocations: 5.16 MB / 3.819 GB, free: 47.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/8.09, allocations: 171.8 kB / 3.819 GB, free: 47.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/8.09, allocations: 95.97 kB / 3.819 GB, free: 47.36 MB / 0.948 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: 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 () * Number of clocked 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.003207/8.094, allocations: 1.229 MB / 3.821 GB, free: 46.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007742/8.094, allocations: 225.3 kB / 3.821 GB, free: 45.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02113/8.116, allocations: 4.377 MB / 3.825 GB, free: 41.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.058e-05/8.116, allocations: 20.12 kB / 3.825 GB, free: 41.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/8.116, allocations: 7.953 kB / 3.825 GB, free: 41.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.476e-05/8.116, allocations: 15.95 kB / 3.825 GB, free: 41.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04418/8.16, allocations: 9.361 MB / 3.834 GB, free: 31.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/8.16, allocations: 4 kB / 3.834 GB, free: 31.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004417/8.165, allocations: 356.3 kB / 3.835 GB, free: 31.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01766/8.182, allocations: 1.675 MB / 3.836 GB, free: 29.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000479/8.183, allocations: 47.98 kB / 3.836 GB, free: 29.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/8.204, allocations: 8.555 MB / 3.845 GB, free: 21.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/8.204, allocations: 11.94 kB / 3.845 GB, free: 21.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/8.221, allocations: 4.419 MB / 3.849 GB, free: 16.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/8.223, allocations: 0.6386 MB / 3.85 GB, free: 15.81 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006238/8.223, allocations: 55.92 kB / 3.85 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/8.227, allocations: 195.7 kB / 3.85 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/8.227, allocations: 161.6 kB / 3.85 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/8.228, allocations: 72.23 kB / 3.85 GB, free: 15.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003146/8.231, allocations: 1.391 MB / 3.851 GB, free: 13.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.52e-07/8.231, allocations: 0 / 3.851 GB, free: 13.92 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007244/8.238, allocations: 1.273 MB / 3.853 GB, free: 12.65 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (173): * Single equations (assignments): 169 * 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.002452/8.241, allocations: 0.7294 MB / 3.853 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01661/8.257, allocations: 5.238 MB / 3.858 GB, free: 6.879 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/8.257, allocations: 0 / 3.858 GB, free: 6.879 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006777/8.264, allocations: 2.014 MB / 3.86 GB, free: 4.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005567/8.27, allocations: 0.5959 MB / 3.861 GB, free: 4.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8115/9.081, allocations: 7.795 MB / 3.869 GB, free: 259.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004503/9.086, allocations: 2.473 MB / 3.871 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005328/9.091, allocations: 1.011 MB / 3.872 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/9.092, allocations: 187.9 kB / 3.872 GB, free: 258.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.563e-06/9.092, allocations: 0 / 3.872 GB, free: 258.3 MB / 0.948 GB Notification: Performance of Templates: time 0.1128/9.205, allocations: 45.44 MB / 3.917 GB, free: 256.9 MB / 0.948 GB