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.414/2.414, allocations: 252.6 MB / 265.2 MB, free: 5.715 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.001503/0.001503, allocations: 185.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001135/0.001135, allocations: 100.5 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.19e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2101, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.391/7.601, allocations: 2.219 GB / 3.114 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/7.602, allocations: 93.5 kB / 3.114 GB, free: 109.1 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.2024/7.804, allocations: 51.4 MB / 3.164 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/7.804, allocations: 0 / 3.164 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001749/7.804, allocations: 35.94 kB / 3.164 GB, free: 60.17 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.003943/7.808, allocations: 1.286 MB / 3.166 GB, free: 58.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/7.808, allocations: 8.031 kB / 3.166 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/7.811, allocations: 286.2 kB / 3.166 GB, free: 58.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/7.813, allocations: 0.7872 MB / 3.167 GB, free: 57.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/7.813, allocations: 74 kB / 3.167 GB, free: 57.64 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/7.813, allocations: 103.9 kB / 3.167 GB, free: 57.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/7.816, allocations: 1.111 MB / 3.168 GB, free: 56.35 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/7.816, allocations: 8 kB / 3.168 GB, free: 56.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/7.816, allocations: 40 kB / 3.168 GB, free: 56.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/7.816, allocations: 57.98 kB / 3.168 GB, free: 56.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/7.819, allocations: 1.237 MB / 3.169 GB, free: 55.01 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009312/7.828, allocations: 4.349 MB / 3.174 GB, free: 50.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/7.831, allocations: 0.7804 MB / 3.174 GB, free: 49.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008311/7.832, allocations: 315.1 kB / 3.175 GB, free: 49.35 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/7.832, allocations: 32.81 kB / 3.175 GB, free: 49.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009087/7.833, allocations: 455.9 kB / 3.175 GB, free: 48.85 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 3.877e-06/7.833, allocations: 0 / 3.175 GB, free: 48.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.002086/7.835, allocations: 0.7029 MB / 3.176 GB, free: 48.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/7.835, allocations: 351 kB / 3.176 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/7.837, allocations: 0.8667 MB / 3.177 GB, free: 46.82 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/7.837, allocations: 45.7 kB / 3.177 GB, free: 46.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/7.838, allocations: 0.5192 MB / 3.178 GB, free: 46.24 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/7.838, allocations: 272.1 kB / 3.178 GB, free: 45.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/7.838, allocations: 12 kB / 3.178 GB, free: 45.96 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/7.838, allocations: 334 kB / 3.178 GB, free: 45.62 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/7.839, allocations: 225.5 kB / 3.178 GB, free: 45.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/7.84, allocations: 415.1 kB / 3.179 GB, free: 44.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000764/7.84, allocations: 299.6 kB / 3.179 GB, free: 44.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/7.84, allocations: 0 / 3.179 GB, free: 44.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002169/7.843, allocations: 0.773 MB / 3.18 GB, free: 43.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/7.843, allocations: 0.971 MB / 3.181 GB, free: 42.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/7.843, allocations: 4 kB / 3.181 GB, free: 42.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/7.843, allocations: 24.84 kB / 3.181 GB, free: 42.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/7.845, allocations: 171.7 kB / 3.181 GB, free: 42.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003927/7.845, allocations: 0.5406 MB / 3.181 GB, free: 42.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/7.846, allocations: 103.2 kB / 3.182 GB, free: 41.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/7.847, allocations: 35.98 kB / 3.182 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/7.847, allocations: 4.094 kB / 3.182 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/7.848, allocations: 0.6389 MB / 3.182 GB, free: 41.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/7.848, allocations: 4 kB / 3.182 GB, free: 41.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/7.848, allocations: 11.95 kB / 3.182 GB, free: 41.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/7.85, allocations: 179.7 kB / 3.182 GB, free: 41.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/7.85, allocations: 8.297 kB / 3.182 GB, free: 41.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/7.851, allocations: 95.34 kB / 3.182 GB, free: 40.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/7.851, allocations: 31.92 kB / 3.183 GB, free: 40.94 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.0003166/7.851, allocations: 160.8 kB / 3.183 GB, free: 40.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/7.852, allocations: 110.7 kB / 3.183 GB, free: 40.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/7.855, allocations: 0.9411 MB / 3.184 GB, free: 39.72 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/7.855, allocations: 15.98 kB / 3.184 GB, free: 39.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/7.855, allocations: 0 / 3.184 GB, free: 39.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/7.855, allocations: 11.97 kB / 3.184 GB, free: 39.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/7.86, allocations: 2.286 MB / 3.186 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/7.86, allocations: 0 / 3.186 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/7.861, allocations: 155.8 kB / 3.186 GB, free: 37.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00017/7.861, allocations: 32.78 kB / 3.186 GB, free: 37.13 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/7.861, allocations: 23.98 kB / 3.186 GB, free: 37.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009743/7.862, allocations: 1.268 MB / 3.187 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/7.862, allocations: 7.969 kB / 3.187 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/7.864, allocations: 0.9603 MB / 3.188 GB, free: 34.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008015/7.865, allocations: 323.4 kB / 3.189 GB, free: 34.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/7.865, allocations: 20 kB / 3.189 GB, free: 34.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/7.867, allocations: 75.94 kB / 3.189 GB, free: 34.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/7.867, allocations: 60.69 kB / 3.189 GB, free: 34.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/7.867, allocations: 31.98 kB / 3.189 GB, free: 34.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001341/7.868, allocations: 0.6835 MB / 3.189 GB, free: 33.46 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.22e-07/7.868, allocations: 0 / 3.189 GB, free: 33.46 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002212/7.871, allocations: 0.5489 MB / 3.19 GB, free: 32.91 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.001577/7.872, allocations: 0.5495 MB / 3.191 GB, free: 32.49 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002699/7.875, allocations: 1.014 MB / 3.192 GB, free: 31.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/7.875, allocations: 4 kB / 3.192 GB, free: 31.47 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/7.876, allocations: 467 kB / 3.192 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/7.878, allocations: 301.9 kB / 3.192 GB, free: 30.71 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/7.883, allocations: 1.57 MB / 3.194 GB, free: 29.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007546/7.883, allocations: 1.163 MB / 3.195 GB, free: 27.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003022/7.886, allocations: 0.5462 MB / 3.195 GB, free: 27.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/7.887, allocations: 83.41 kB / 3.196 GB, free: 27.28 MB / 0.8698 GB Notification: Performance of SimCode: time 1.423e-06/7.887, allocations: 0 / 3.196 GB, free: 27.28 MB / 0.8698 GB Notification: Performance of Templates: time 0.04318/7.93, allocations: 16.21 MB / 3.211 GB, free: 11.18 MB / 0.8698 GB