Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008911/0.008911, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.000449, allocations: 12.53 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4101, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01085/0.421, allocations: 8.307 MB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.6013, allocations: 148.4 MB / 1.227 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.6027, allocations: 23.88 kB / 1.227 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.6036, allocations: 270.2 kB / 1.227 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.6062, allocations: 0.785 MB / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.6091, allocations: 0.9747 MB / 1.229 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.6124, allocations: 2.033 MB / 1.231 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.6154, allocations: 1.55 MB / 1.233 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.6165, allocations: 0.5016 MB / 1.233 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009821/0.6175, allocations: 0.6415 MB / 1.234 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.6176, allocations: 44 kB / 1.234 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.6192, allocations: 0.6553 MB / 1.234 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.6196, allocations: 342.6 kB / 1.235 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.6204, allocations: 0.6539 MB / 1.235 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.6229, allocations: 2.161 MB / 1.238 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6229, allocations: 3.844 kB / 1.238 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6229, allocations: 4 kB / 1.238 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.6229, allocations: 0 / 1.238 GB, free: 15.49 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003167/0.6261, allocations: 1.569 MB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6262, allocations: 19.97 kB / 1.239 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6276, allocations: 298.8 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.6292, allocations: 0.9913 MB / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.6293, allocations: 90.16 kB / 1.24 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.6295, allocations: 108 kB / 1.241 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.6319, allocations: 1.394 MB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.632, allocations: 8 kB / 1.242 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.6321, allocations: 51.98 kB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.415e-05/0.6322, allocations: 62.06 kB / 1.242 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.6347, allocations: 1.53 MB / 1.244 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007121/0.6419, allocations: 5.036 MB / 1.248 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.6439, allocations: 1.108 MB / 1.25 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/0.6447, allocations: 473.8 kB / 1.25 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.6449, allocations: 118 kB / 1.25 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.646, allocations: 0.6507 MB / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 2.464e-06/0.646, allocations: 0 / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.7072/1.353, allocations: 2.274 MB / 1.253 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/1.353, allocations: 252.1 kB / 1.253 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/1.355, allocations: 0.9505 MB / 1.254 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/1.355, allocations: 47.88 kB / 1.254 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/1.356, allocations: 0.5603 MB / 1.255 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/1.356, allocations: 344.9 kB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/1.356, allocations: 88.81 kB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/1.356, allocations: 347.8 kB / 1.255 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008068/1.357, allocations: 413.3 kB / 1.256 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/1.358, allocations: 0.5835 MB / 1.256 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.36, allocations: 0.9802 MB / 1.257 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.36, allocations: 4.141 kB / 1.257 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00322/1.363, allocations: 1.36 MB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.363, allocations: 193 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.363, allocations: 3.531 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/1.364, allocations: 267.2 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/1.365, allocations: 232.2 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/1.368, allocations: 1.984 MB / 1.261 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.369, allocations: 132.5 kB / 1.261 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/1.369, allocations: 47.53 kB / 1.261 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/1.369, allocations: 9.188 kB / 1.261 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001615/1.371, allocations: 1.027 MB / 1.262 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.371, allocations: 5.25 kB / 1.262 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/1.371, allocations: 11.31 kB / 1.262 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/1.372, allocations: 233.5 kB / 1.263 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.372, allocations: 11.02 kB / 1.263 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/1.373, allocations: 117.6 kB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/1.373, allocations: 50.38 kB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009183/1.374, allocations: 443.9 kB / 1.263 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/1.374, allocations: 121.2 kB / 1.263 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/1.377, allocations: 1.481 MB / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.377, allocations: 13.73 kB / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.377, allocations: 0 / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/1.377, allocations: 5.719 kB / 1.265 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/1.382, allocations: 2.858 MB / 1.268 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.382, allocations: 1.625 kB / 1.268 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/1.382, allocations: 195.4 kB / 1.268 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008245/1.383, allocations: 216.2 kB / 1.268 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/1.383, allocations: 34.56 kB / 1.268 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/1.385, allocations: 1.829 MB / 1.27 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.385, allocations: 2.219 kB / 1.27 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/1.388, allocations: 1.498 MB / 1.271 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/1.389, allocations: 367.9 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/1.389, allocations: 25.89 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/1.39, allocations: 116.8 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.39, allocations: 95.69 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.281e-05/1.39, allocations: 43.83 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001029/1.391, allocations: 0.6705 MB / 1.273 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.391, allocations: 0 / 1.273 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001791/1.393, allocations: 0.5353 MB / 1.273 GB, free: 172.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00149/1.394, allocations: 0.6686 MB / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003739/1.398, allocations: 1.742 MB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.398, allocations: 1.312 kB / 1.276 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/1.399, allocations: 0.7028 MB / 1.276 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.401, allocations: 358.1 kB / 1.277 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/1.406, allocations: 3.076 MB / 1.28 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.407, allocations: 1.218 MB / 1.281 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001789/1.409, allocations: 474.5 kB / 1.281 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/1.409, allocations: 125.8 kB / 1.281 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.41, allocations: 0.7812 kB / 1.281 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03497/1.444, allocations: 19.06 MB / 1.3 GB, free: 161.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)