Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 288.4 MB / 304.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 172.5 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.6317 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007365/0.0007365, allocations: 82.38 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006133/0.0006136, allocations: 11.47 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3052, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.163/5.468, allocations: 2.132 GB / 3.113 GB, free: 176.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/5.468, allocations: 117.1 kB / 3.113 GB, free: 176.1 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.2991/5.767, allocations: 147.1 MB / 3.257 GB, free: 27.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.495e-06/5.767, allocations: 0 / 3.257 GB, free: 27.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002108/5.768, allocations: 83.92 kB / 3.257 GB, free: 27.65 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.00706/5.775, allocations: 3.271 MB / 3.26 GB, free: 24.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/5.775, allocations: 12.03 kB / 3.26 GB, free: 24.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/5.779, allocations: 0.8371 MB / 3.261 GB, free: 23.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/5.784, allocations: 2.203 MB / 3.263 GB, free: 21.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/5.784, allocations: 230.1 kB / 3.263 GB, free: 20.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006467/5.785, allocations: 299.9 kB / 3.263 GB, free: 20.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006871/5.792, allocations: 4.369 MB / 3.268 GB, free: 16.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/5.792, allocations: 7.938 kB / 3.268 GB, free: 16.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/5.792, allocations: 128 kB / 3.268 GB, free: 16.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/5.792, allocations: 173.9 kB / 3.268 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005938/5.798, allocations: 3.977 MB / 3.272 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5787/6.377, allocations: 18.57 MB / 3.29 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003374/6.38, allocations: 1.8 MB / 3.292 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/6.382, allocations: 0.9529 MB / 3.293 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/6.382, allocations: 133.3 kB / 3.293 GB, free: 250.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002141/6.385, allocations: 1.095 MB / 3.294 GB, free: 250.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 5.39e-06/6.385, allocations: 3.719 kB / 3.294 GB, free: 250.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.03459/6.419, allocations: 13.92 MB / 3.307 GB, free: 246.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002225/6.419, allocations: 0.5812 MB / 3.308 GB, free: 245.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/6.423, allocations: 2.073 MB / 3.31 GB, free: 245.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000432/6.424, allocations: 59.09 kB / 3.31 GB, free: 245.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/6.425, allocations: 1.469 MB / 3.311 GB, free: 244.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007104/6.426, allocations: 0.6154 MB / 3.312 GB, free: 244.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/6.426, allocations: 40.66 kB / 3.312 GB, free: 244.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001432/6.426, allocations: 392.6 kB / 3.312 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/6.428, allocations: 1.101 MB / 3.313 GB, free: 244.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/6.43, allocations: 1.702 MB / 3.315 GB, free: 243.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04849/6.479, allocations: 12.66 MB / 3.328 GB, free: 243 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-05/6.479, allocations: 4.062 kB / 3.328 GB, free: 243 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01202/6.491, allocations: 4.551 MB / 3.332 GB, free: 242.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003173/6.491, allocations: 0.5154 MB / 3.332 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/6.491, allocations: 14.81 kB / 3.332 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007201/6.498, allocations: 1.808 MB / 3.334 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/6.501, allocations: 483.3 kB / 3.335 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/6.513, allocations: 8.762 MB / 3.343 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/6.516, allocations: 225.5 kB / 3.343 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/6.516, allocations: 93.75 kB / 3.344 GB, free: 239.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/6.516, allocations: 7.531 kB / 3.344 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009815/6.526, allocations: 3.77 MB / 3.347 GB, free: 239.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.959e-05/6.526, allocations: 14.44 kB / 3.347 GB, free: 239.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/6.533, allocations: 1.181 MB / 3.348 GB, free: 239.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/6.537, allocations: 498.8 kB / 3.349 GB, free: 239.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/6.549, allocations: 5.05 MB / 3.354 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/6.553, allocations: 182.2 kB / 3.354 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005031/6.554, allocations: 96.89 kB / 3.354 GB, free: 238.2 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 = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (234): * Single equations (assignments): 232 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 11} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.004292/6.558, allocations: 1.239 MB / 3.355 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/6.559, allocations: 224.2 kB / 3.356 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/6.576, allocations: 4.029 MB / 3.359 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/6.576, allocations: 26 kB / 3.359 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/6.576, allocations: 3.812 kB / 3.359 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-05/6.576, allocations: 14.33 kB / 3.36 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02917/6.605, allocations: 9.566 MB / 3.369 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.222e-05/6.605, allocations: 3.375 kB / 3.369 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/6.608, allocations: 335.6 kB / 3.369 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01062/6.618, allocations: 1.668 MB / 3.371 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007246/6.619, allocations: 49.14 kB / 3.371 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/6.638, allocations: 8.543 MB / 3.379 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/6.638, allocations: 13.53 kB / 3.379 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/6.648, allocations: 4.248 MB / 3.383 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/6.65, allocations: 0.6357 MB / 3.384 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007404/6.651, allocations: 42.34 kB / 3.384 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/6.653, allocations: 195.9 kB / 3.384 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/6.653, allocations: 155.7 kB / 3.384 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/6.654, allocations: 65.91 kB / 3.384 GB, free: 225.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002197/6.656, allocations: 1.45 MB / 3.386 GB, free: 224.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.092e-06/6.656, allocations: 0 / 3.386 GB, free: 224.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004836/6.661, allocations: 1.292 MB / 3.387 GB, free: 224.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 162 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/6.662, allocations: 0.7413 MB / 3.388 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008354/6.671, allocations: 5.028 MB / 3.393 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/6.671, allocations: 3.531 kB / 3.393 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/6.674, allocations: 1.945 MB / 3.395 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/6.679, allocations: 0.5767 MB / 3.395 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/6.691, allocations: 7.665 MB / 3.403 GB, free: 217.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/6.693, allocations: 2.409 MB / 3.405 GB, free: 216.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003097/6.696, allocations: 1.009 MB / 3.406 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/6.697, allocations: 186.9 kB / 3.406 GB, free: 216.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/6.697, allocations: 0 / 3.406 GB, free: 216.3 MB / 0.948 GB Notification: Performance of Templates: time 0.07058/6.767, allocations: 45.46 MB / 3.451 GB, free: 196.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)