Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 293 MB / 309 MB, free: 4.871 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.0009073/0.0009074, allocations: 177.3 kB / 378.7 MB, free: 1.059 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.475/1.475, allocations: 205.4 MB / 0.6383 GB, free: 8.285 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008117/0.0008116, allocations: 93.95 kB / 0.7527 GB, free: 62.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 15.98 kB / 0.8768 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3095, allocations: 116.4 MB / 0.9904 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.83/6.14, allocations: 2.133 GB / 3.123 GB, free: 80.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/6.14, allocations: 115.9 kB / 3.124 GB, free: 80.81 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1-maint.8.1.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.8946/7.035, allocations: 147.1 MB / 3.267 GB, free: 234.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.977e-06/7.035, allocations: 0 / 3.267 GB, free: 234.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004417/7.035, allocations: 91.03 kB / 3.267 GB, free: 234.2 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.01364/7.049, allocations: 3.274 MB / 3.271 GB, free: 232.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/7.049, allocations: 9.844 kB / 3.271 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/7.055, allocations: 0.8342 MB / 3.271 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006918/7.062, allocations: 2.194 MB / 3.273 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/7.063, allocations: 232 kB / 3.274 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/7.065, allocations: 298.1 kB / 3.274 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/7.08, allocations: 4.38 MB / 3.278 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/7.081, allocations: 3.938 kB / 3.278 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001643/7.082, allocations: 131.7 kB / 3.278 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002836/7.083, allocations: 174.9 kB / 3.279 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/7.093, allocations: 3.975 MB / 3.282 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02905/7.122, allocations: 18.59 MB / 3.301 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/7.125, allocations: 1.802 MB / 3.302 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/7.127, allocations: 0.948 MB / 3.303 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/7.127, allocations: 138 kB / 3.303 GB, free: 215.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/7.129, allocations: 1.102 MB / 3.304 GB, free: 214.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 6.242e-06/7.129, allocations: 0 / 3.304 GB, free: 214.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.03611/7.165, allocations: 13.91 MB / 3.318 GB, free: 208.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/7.165, allocations: 0.589 MB / 3.319 GB, free: 207.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/7.169, allocations: 2.071 MB / 3.321 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004738/7.17, allocations: 63.86 kB / 3.321 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/7.171, allocations: 1.457 MB / 3.322 GB, free: 205.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006866/7.172, allocations: 0.61 MB / 3.323 GB, free: 205 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/7.172, allocations: 40.94 kB / 3.323 GB, free: 205 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001877/7.172, allocations: 395.2 kB / 3.323 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/7.174, allocations: 1.099 MB / 3.324 GB, free: 204.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/7.177, allocations: 1.703 MB / 3.326 GB, free: 203.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04567/7.222, allocations: 12.66 MB / 3.338 GB, free: 200.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/7.222, allocations: 4.938 kB / 3.338 GB, free: 200.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01302/7.235, allocations: 4.549 MB / 3.343 GB, free: 199.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005182/7.236, allocations: 0.5182 MB / 3.343 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.533e-05/7.236, allocations: 16.38 kB / 3.343 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007076/7.243, allocations: 1.818 MB / 3.345 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/7.245, allocations: 481.1 kB / 3.345 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/7.258, allocations: 8.76 MB / 3.354 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/7.261, allocations: 217.9 kB / 3.354 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005387/7.261, allocations: 96.47 kB / 3.354 GB, free: 193 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/7.262, allocations: 6.594 kB / 3.354 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00899/7.271, allocations: 3.77 MB / 3.358 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/7.271, allocations: 15.62 kB / 3.358 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004238/7.275, allocations: 1.171 MB / 3.359 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/7.277, allocations: 0.4919 MB / 3.36 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006968/7.284, allocations: 5.054 MB / 3.365 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/7.287, allocations: 193.7 kB / 3.365 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005035/7.287, allocations: 91.97 kB / 3.365 GB, free: 188.6 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.00362/7.291, allocations: 1.238 MB / 3.366 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/7.292, allocations: 218.9 kB / 3.366 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/7.302, allocations: 4.032 MB / 3.37 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/7.302, allocations: 24.55 kB / 3.37 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/7.302, allocations: 14.36 kB / 3.37 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.445e-05/7.302, allocations: 10.81 kB / 3.37 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/7.322, allocations: 9.559 MB / 3.38 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/7.322, allocations: 3.812 kB / 3.38 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/7.323, allocations: 341.9 kB / 3.38 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005898/7.329, allocations: 1.668 MB / 3.382 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003931/7.33, allocations: 51.28 kB / 3.382 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/7.341, allocations: 8.546 MB / 3.39 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/7.341, allocations: 15.69 kB / 3.39 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009995/7.351, allocations: 4.239 MB / 3.394 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/7.353, allocations: 0.6395 MB / 3.395 GB, free: 175.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008954/7.354, allocations: 43.22 kB / 3.395 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/7.356, allocations: 198.3 kB / 3.395 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/7.357, allocations: 159.9 kB / 3.395 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/7.357, allocations: 62.42 kB / 3.395 GB, free: 175 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00314/7.36, allocations: 1.449 MB / 3.397 GB, free: 174.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.36, allocations: 0 / 3.397 GB, free: 174.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006931/7.367, allocations: 1.284 MB / 3.398 GB, free: 174.2 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.002041/7.369, allocations: 0.7479 MB / 3.399 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009987/7.379, allocations: 5.02 MB / 3.403 GB, free: 169.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/7.379, allocations: 4 kB / 3.403 GB, free: 169.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/7.383, allocations: 1.945 MB / 3.405 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005932/7.389, allocations: 0.5733 MB / 3.406 GB, free: 166.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/7.402, allocations: 7.659 MB / 3.413 GB, free: 159.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/7.406, allocations: 2.397 MB / 3.416 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003613/7.409, allocations: 1.012 MB / 3.417 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/7.41, allocations: 195.4 kB / 3.417 GB, free: 155.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/7.41, allocations: 0 / 3.417 GB, free: 155.4 MB / 0.948 GB Notification: Performance of Templates: time 0.06935/7.479, allocations: 45.46 MB / 3.461 GB, free: 110.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)