Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.75/4.75, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002782/0.002781, allocations: 357.8 kB / 0.6446 GB, free: 21.51 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.348/4.348, allocations: 410.7 MB / 1.113 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 182.6 kB / 1.226 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0007042/0.0007045, allocations: 16.41 kB / 1.349 GB, free: 321.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2241, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.692/6.916, allocations: 2.101 GB / 3.563 GB, free: 240.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000523/6.917, allocations: 113 kB / 3.563 GB, free: 240.7 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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.2131/7.13, allocations: 51.52 MB / 3.613 GB, free: 207.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.535e-06/7.13, allocations: 0 / 3.613 GB, free: 207.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001353/7.13, allocations: 35.92 kB / 3.613 GB, free: 207.7 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003937/7.134, allocations: 1.453 MB / 3.614 GB, free: 206.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/7.134, allocations: 8.75 kB / 3.615 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/7.137, allocations: 282.2 kB / 3.615 GB, free: 206 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/7.139, allocations: 0.8037 MB / 3.616 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/7.139, allocations: 70.56 kB / 3.616 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/7.14, allocations: 100.5 kB / 3.616 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/7.143, allocations: 1.147 MB / 3.617 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/7.143, allocations: 0 / 3.617 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/7.143, allocations: 47.84 kB / 3.617 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/7.143, allocations: 53.55 kB / 3.617 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/7.146, allocations: 1.293 MB / 3.618 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009332/7.156, allocations: 4.362 MB / 3.622 GB, free: 199.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/7.158, allocations: 0.8073 MB / 3.623 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/7.159, allocations: 343.8 kB / 3.624 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/7.159, allocations: 36.48 kB / 3.624 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/7.16, allocations: 471.8 kB / 3.624 GB, free: 198.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.757e-06/7.16, allocations: 0 / 3.624 GB, free: 198.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.003502/7.164, allocations: 1.09 MB / 3.625 GB, free: 197.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/7.164, allocations: 346.8 kB / 3.625 GB, free: 197 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/7.166, allocations: 0.9789 MB / 3.626 GB, free: 196.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002665/7.166, allocations: 48.77 kB / 3.626 GB, free: 196.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/7.167, allocations: 0.5148 MB / 3.627 GB, free: 195.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/7.167, allocations: 275.5 kB / 3.627 GB, free: 195.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/7.167, allocations: 14.38 kB / 3.627 GB, free: 195.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/7.167, allocations: 332.8 kB / 3.628 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/7.168, allocations: 248.2 kB / 3.628 GB, free: 195.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009399/7.169, allocations: 443.7 kB / 3.628 GB, free: 194.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/7.17, allocations: 320.3 kB / 3.629 GB, free: 194.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/7.17, allocations: 0 / 3.629 GB, free: 194.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002588/7.173, allocations: 0.8245 MB / 3.629 GB, free: 194 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/7.173, allocations: 165.6 kB / 3.629 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/7.173, allocations: 4 kB / 3.629 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/7.173, allocations: 28.66 kB / 3.63 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/7.175, allocations: 171 kB / 3.63 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/7.176, allocations: 1.286 MB / 3.631 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/7.177, allocations: 109.4 kB / 3.631 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/7.177, allocations: 31.55 kB / 3.631 GB, free: 192.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/7.178, allocations: 4 kB / 3.631 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/7.18, allocations: 0.6889 MB / 3.632 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/7.18, allocations: 4 kB / 3.632 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/7.18, allocations: 7.953 kB / 3.632 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/7.181, allocations: 182.7 kB / 3.632 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/7.181, allocations: 4 kB / 3.632 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/7.182, allocations: 94.75 kB / 3.632 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/7.182, allocations: 34.86 kB / 3.632 GB, free: 191.3 MB / 0.948 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 () * Number of clocked 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.0009306/7.183, allocations: 410.6 kB / 3.632 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/7.184, allocations: 106.7 kB / 3.633 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/7.187, allocations: 0.9868 MB / 3.634 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/7.187, allocations: 8 kB / 3.634 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/7.187, allocations: 0 / 3.634 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/7.187, allocations: 11.97 kB / 3.634 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005095/7.192, allocations: 2.337 MB / 3.636 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/7.192, allocations: 4 kB / 3.636 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/7.193, allocations: 156.6 kB / 3.636 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/7.193, allocations: 27.91 kB / 3.636 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/7.193, allocations: 23.92 kB / 3.636 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008826/7.194, allocations: 1.273 MB / 3.637 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/7.194, allocations: 0 / 3.637 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/7.197, allocations: 0.961 MB / 3.638 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/7.197, allocations: 329 kB / 3.639 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/7.197, allocations: 26.17 kB / 3.639 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/7.199, allocations: 69.95 kB / 3.639 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/7.199, allocations: 67.86 kB / 3.639 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/7.199, allocations: 31.11 kB / 3.639 GB, free: 185.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001309/7.2, allocations: 0.6977 MB / 3.639 GB, free: 185.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.313e-06/7.2, allocations: 0 / 3.639 GB, free: 185.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002018/7.202, allocations: 0.5413 MB / 3.64 GB, free: 184.6 MB / 0.948 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) * Number of clocked states: 0 () * 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.001639/7.204, allocations: 0.5891 MB / 3.64 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003115/7.207, allocations: 1.147 MB / 3.642 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/7.207, allocations: 4 kB / 3.642 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/7.208, allocations: 497.4 kB / 3.642 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/7.211, allocations: 315 kB / 3.642 GB, free: 182.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/7.216, allocations: 2.527 MB / 3.645 GB, free: 180.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/7.217, allocations: 1.166 MB / 3.646 GB, free: 179.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002185/7.219, allocations: 399.6 kB / 3.646 GB, free: 178.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/7.219, allocations: 109.8 kB / 3.646 GB, free: 178.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/7.219, allocations: 4 kB / 3.646 GB, free: 178.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03846/7.258, allocations: 14.69 MB / 3.661 GB, free: 164.2 MB / 0.948 GB