Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.466/2.466, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 188.8 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001063, allocations: 92.27 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.083e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8173, allocations: 115.2 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.727/7.544, allocations: 2.129 GB / 3.093 GB, free: 280.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/7.545, allocations: 111.9 kB / 3.093 GB, free: 280.9 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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.5609/8.106, allocations: 149.8 MB / 3.239 GB, free: 216 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.216e-06/8.106, allocations: 0 / 3.239 GB, free: 216 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005616/8.106, allocations: 87.94 kB / 3.239 GB, free: 215.9 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01673/8.123, allocations: 3.067 MB / 3.242 GB, free: 212.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/8.123, allocations: 8.031 kB / 3.242 GB, free: 212.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/8.135, allocations: 0.8226 MB / 3.243 GB, free: 211.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/8.147, allocations: 2.281 MB / 3.245 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/8.147, allocations: 100 kB / 3.245 GB, free: 209.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/8.149, allocations: 176 kB / 3.246 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01635/8.166, allocations: 3.518 MB / 3.249 GB, free: 205.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/8.185, allocations: 3.908 MB / 3.253 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/8.185, allocations: 7.938 kB / 3.253 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007762/8.186, allocations: 4 kB / 3.253 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002644/8.186, allocations: 174 kB / 3.253 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/8.222, allocations: 19.11 MB / 3.272 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/8.226, allocations: 1.745 MB / 3.273 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/8.229, allocations: 1.114 MB / 3.274 GB, free: 178 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/8.229, allocations: 142.3 kB / 3.275 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/8.232, allocations: 1.044 MB / 3.276 GB, free: 176.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 5.34e-06/8.232, allocations: 0 / 3.276 GB, free: 176.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.04934/8.281, allocations: 9.872 MB / 3.285 GB, free: 166.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/8.281, allocations: 0.5062 MB / 3.286 GB, free: 166.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006667/8.288, allocations: 1.866 MB / 3.288 GB, free: 164.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007638/8.289, allocations: 33.7 kB / 3.288 GB, free: 164.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003215/8.292, allocations: 1.526 MB / 3.289 GB, free: 162.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/8.294, allocations: 0.5926 MB / 3.29 GB, free: 162.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004689/8.294, allocations: 3.938 kB / 3.29 GB, free: 162.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003376/8.295, allocations: 389.8 kB / 3.29 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004416/8.299, allocations: 1.062 MB / 3.291 GB, free: 160.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005031/8.304, allocations: 1.574 MB / 3.293 GB, free: 158.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005768/8.31, allocations: 1.371 MB / 3.294 GB, free: 157.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/8.31, allocations: 4 kB / 3.294 GB, free: 157.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.02541/8.335, allocations: 4.197 MB / 3.298 GB, free: 153.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/8.337, allocations: 4.632 MB / 3.303 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/8.337, allocations: 15.95 kB / 3.303 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01501/8.352, allocations: 1.355 MB / 3.304 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/8.356, allocations: 483.2 kB / 3.304 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/8.371, allocations: 9.061 MB / 3.313 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/8.375, allocations: 163.6 kB / 3.313 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000578/8.376, allocations: 87.97 kB / 3.313 GB, free: 136.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/8.376, allocations: 10.09 kB / 3.313 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005548/8.382, allocations: 2.179 MB / 3.316 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/8.382, allocations: 12 kB / 3.316 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/8.382, allocations: 20 kB / 3.316 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/8.386, allocations: 0.5031 MB / 3.316 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.067e-05/8.386, allocations: 31.91 kB / 3.316 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/8.389, allocations: 107.9 kB / 3.316 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004094/8.389, allocations: 83.97 kB / 3.316 GB, free: 133.8 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 = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "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 () * 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.0008071/8.39, allocations: 168.2 kB / 3.317 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008771/8.391, allocations: 225.3 kB / 3.317 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/8.408, allocations: 4.233 MB / 3.321 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/8.408, allocations: 20 kB / 3.321 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/8.408, allocations: 4 kB / 3.321 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/8.408, allocations: 15.91 kB / 3.321 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/8.434, allocations: 8.734 MB / 3.329 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/8.434, allocations: 4 kB / 3.329 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/8.437, allocations: 367.4 kB / 3.33 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/8.448, allocations: 1.792 MB / 3.332 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004689/8.449, allocations: 27.97 kB / 3.332 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/8.47, allocations: 12.51 MB / 3.344 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/8.47, allocations: 4 kB / 3.344 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/8.486, allocations: 4.587 MB / 3.348 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/8.488, allocations: 0.6776 MB / 3.349 GB, free: 99.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/8.489, allocations: 11.98 kB / 3.349 GB, free: 99.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/8.492, allocations: 227.6 kB / 3.349 GB, free: 98.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/8.493, allocations: 157.6 kB / 3.349 GB, free: 98.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/8.493, allocations: 63.92 kB / 3.349 GB, free: 98.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002807/8.496, allocations: 1.428 MB / 3.351 GB, free: 97.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/8.496, allocations: 0 / 3.351 GB, free: 97.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005606/8.501, allocations: 1.14 MB / 3.352 GB, free: 96.17 MB / 0.948 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) * 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.001969/8.503, allocations: 0.6368 MB / 3.353 GB, free: 95.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01139/8.515, allocations: 4.414 MB / 3.357 GB, free: 91.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/8.515, allocations: 4 kB / 3.357 GB, free: 91.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005921/8.521, allocations: 2.221 MB / 3.359 GB, free: 88.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/8.525, allocations: 0.5343 MB / 3.36 GB, free: 88.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/8.54, allocations: 5.231 MB / 3.365 GB, free: 83.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/8.543, allocations: 2.533 MB / 3.367 GB, free: 80.49 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007355/8.55, allocations: 1.379 MB / 3.368 GB, free: 79.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009422/8.551, allocations: 151.4 kB / 3.369 GB, free: 78.96 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/8.551, allocations: 0 / 3.369 GB, free: 78.96 MB / 0.948 GB Notification: Performance of Templates: time 0.1035/8.655, allocations: 43.16 MB / 3.411 GB, free: 35.93 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)