Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.486/2.486, allocations: 253.2 MB / 260.6 MB, free: 7.445 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.001465/0.001464, allocations: 180.8 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.335/2.335, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001536/0.001535, allocations: 88.77 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.527e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2533, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.363/7.616, allocations: 2.22 GB / 3.108 GB, free: 145 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/7.616, allocations: 96.06 kB / 3.108 GB, free: 144.9 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1974/7.814, allocations: 50.15 MB / 3.157 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.913e-06/7.814, allocations: 0 / 3.157 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001558/7.814, allocations: 31.98 kB / 3.157 GB, free: 100.7 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003519/7.818, allocations: 1.29 MB / 3.159 GB, free: 99.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/7.818, allocations: 12.02 kB / 3.159 GB, free: 99.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/7.82, allocations: 282.2 kB / 3.159 GB, free: 99.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/7.823, allocations: 0.7911 MB / 3.16 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/7.823, allocations: 36 kB / 3.16 GB, free: 98.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/7.823, allocations: 56 kB / 3.16 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002679/7.826, allocations: 1.175 MB / 3.161 GB, free: 97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/7.828, allocations: 0.9666 MB / 3.162 GB, free: 95.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/7.828, allocations: 7.938 kB / 3.162 GB, free: 95.95 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/7.828, allocations: 0 / 3.162 GB, free: 95.95 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/7.828, allocations: 53.94 kB / 3.162 GB, free: 95.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008693/7.837, allocations: 4.162 MB / 3.166 GB, free: 91.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/7.839, allocations: 0.7278 MB / 3.167 GB, free: 90.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/7.84, allocations: 300 kB / 3.167 GB, free: 90.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/7.84, allocations: 32.8 kB / 3.167 GB, free: 90.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008144/7.841, allocations: 422.3 kB / 3.167 GB, free: 90.03 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 3.927e-06/7.841, allocations: 0 / 3.167 GB, free: 90.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.001984/7.843, allocations: 0.6638 MB / 3.168 GB, free: 89.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/7.843, allocations: 346.9 kB / 3.168 GB, free: 88.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/7.844, allocations: 0.7586 MB / 3.169 GB, free: 88.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/7.845, allocations: 29.7 kB / 3.169 GB, free: 88.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/7.845, allocations: 0.5268 MB / 3.17 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/7.845, allocations: 256.2 kB / 3.17 GB, free: 87.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/7.846, allocations: 0 / 3.17 GB, free: 87.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/7.846, allocations: 338 kB / 3.17 GB, free: 87.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/7.846, allocations: 209.5 kB / 3.17 GB, free: 86.81 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/7.847, allocations: 393.5 kB / 3.171 GB, free: 86.36 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/7.848, allocations: 280.4 kB / 3.171 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/7.848, allocations: 0 / 3.171 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001931/7.85, allocations: 0.7031 MB / 3.172 GB, free: 85.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/7.85, allocations: 0.9755 MB / 3.173 GB, free: 84.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/7.85, allocations: 3.953 kB / 3.173 GB, free: 84.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/7.85, allocations: 28.84 kB / 3.173 GB, free: 84.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/7.851, allocations: 167.7 kB / 3.173 GB, free: 84.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000402/7.852, allocations: 0.5445 MB / 3.173 GB, free: 83.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/7.853, allocations: 75.34 kB / 3.173 GB, free: 83.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/7.853, allocations: 27.98 kB / 3.173 GB, free: 83.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/7.853, allocations: 8.094 kB / 3.173 GB, free: 83.45 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001493/7.855, allocations: 0.5687 MB / 3.174 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/7.855, allocations: 4 kB / 3.174 GB, free: 82.87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/7.855, allocations: 8 kB / 3.174 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/7.856, allocations: 172 kB / 3.174 GB, free: 82.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/7.856, allocations: 23.88 kB / 3.174 GB, free: 82.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/7.857, allocations: 67.41 kB / 3.174 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/7.858, allocations: 31.98 kB / 3.174 GB, free: 82.57 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (94): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/7.858, allocations: 136.7 kB / 3.174 GB, free: 82.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/7.858, allocations: 102.8 kB / 3.175 GB, free: 82.33 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/7.861, allocations: 0.8745 MB / 3.175 GB, free: 81.44 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/7.861, allocations: 12 kB / 3.175 GB, free: 81.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/7.861, allocations: 0 / 3.175 GB, free: 81.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/7.861, allocations: 7.984 kB / 3.175 GB, free: 81.42 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/7.866, allocations: 2.095 MB / 3.177 GB, free: 79.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/7.866, allocations: 7.938 kB / 3.177 GB, free: 79.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/7.867, allocations: 151.8 kB / 3.178 GB, free: 79.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/7.867, allocations: 28.84 kB / 3.178 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.29e-05/7.867, allocations: 15.98 kB / 3.178 GB, free: 79.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009215/7.868, allocations: 1.225 MB / 3.179 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/7.868, allocations: 0 / 3.179 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/7.87, allocations: 0.9014 MB / 3.18 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/7.871, allocations: 331.3 kB / 3.18 GB, free: 76.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/7.871, allocations: 4 kB / 3.18 GB, free: 76.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/7.872, allocations: 55.94 kB / 3.18 GB, free: 76.35 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/7.872, allocations: 64.69 kB / 3.18 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/7.872, allocations: 27.98 kB / 3.18 GB, free: 76.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001089/7.873, allocations: 0.5968 MB / 3.181 GB, free: 75.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.3e-07/7.873, allocations: 0 / 3.181 GB, free: 75.67 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0022/7.876, allocations: 0.5136 MB / 3.181 GB, free: 75.15 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/7.877, allocations: 0.5184 MB / 3.182 GB, free: 74.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002374/7.88, allocations: 0.942 MB / 3.183 GB, free: 73.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/7.88, allocations: 1.25 kB / 3.183 GB, free: 73.79 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008749/7.881, allocations: 444.8 kB / 3.183 GB, free: 73.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/7.883, allocations: 266.8 kB / 3.183 GB, free: 73.08 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/7.887, allocations: 1.52 MB / 3.185 GB, free: 71.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/7.888, allocations: 1.17 MB / 3.186 GB, free: 70.32 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002933/7.891, allocations: 0.5538 MB / 3.187 GB, free: 69.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/7.891, allocations: 87.39 kB / 3.187 GB, free: 69.68 MB / 0.8698 GB Notification: Performance of SimCode: time 1.292e-06/7.891, allocations: 0 / 3.187 GB, free: 69.68 MB / 0.8698 GB Notification: Performance of Templates: time 0.0395/7.93, allocations: 14.91 MB / 3.201 GB, free: 54.88 MB / 0.8698 GB