Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.542/2.542, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001465/0.001464, allocations: 184.9 kB / 360.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001177/0.001177, allocations: 92.17 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.126e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.815, allocations: 115.3 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.021/7.836, allocations: 2.131 GB / 3.094 GB, free: 281.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004047/7.837, allocations: 110.6 kB / 3.095 GB, free: 281.2 MB / 0.948 GB [/home/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. [/home/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.5471/8.384, allocations: 139 MB / 3.23 GB, free: 225.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.675e-06/8.384, allocations: 0 / 3.23 GB, free: 225.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004197/8.384, allocations: 95.92 kB / 3.23 GB, free: 225.3 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.01214/8.396, allocations: 2.977 MB / 3.233 GB, free: 222.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/8.396, allocations: 12.03 kB / 3.233 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008035/8.405, allocations: 0.8383 MB / 3.234 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007769/8.412, allocations: 2.122 MB / 3.236 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/8.413, allocations: 99.94 kB / 3.236 GB, free: 219.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/8.414, allocations: 184 kB / 3.236 GB, free: 219 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01084/8.425, allocations: 3.475 MB / 3.24 GB, free: 215.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/8.439, allocations: 3.851 MB / 3.244 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/8.439, allocations: 7.906 kB / 3.244 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/8.441, allocations: 4 kB / 3.244 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002512/8.441, allocations: 165.9 kB / 3.244 GB, free: 211.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/8.477, allocations: 17.82 MB / 3.261 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/8.481, allocations: 1.684 MB / 3.263 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/8.483, allocations: 0.8832 MB / 3.264 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/8.484, allocations: 126.3 kB / 3.264 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/8.486, allocations: 1.027 MB / 3.265 GB, free: 188.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 5.4e-06/8.486, allocations: 0 / 3.265 GB, free: 188.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.0295/8.515, allocations: 10.39 MB / 3.275 GB, free: 177.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/8.515, allocations: 0.5808 MB / 3.276 GB, free: 177.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/8.519, allocations: 1.671 MB / 3.277 GB, free: 175.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005993/8.52, allocations: 33.69 kB / 3.277 GB, free: 175.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/8.522, allocations: 1.474 MB / 3.279 GB, free: 173.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/8.523, allocations: 0.6005 MB / 3.279 GB, free: 173.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/8.523, allocations: 0 / 3.279 GB, free: 173.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000179/8.523, allocations: 386 kB / 3.28 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/8.526, allocations: 1.031 MB / 3.281 GB, free: 171.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/8.529, allocations: 1.601 MB / 3.282 GB, free: 170 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/8.533, allocations: 1.402 MB / 3.284 GB, free: 168.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/8.533, allocations: 4 kB / 3.284 GB, free: 168.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01521/8.548, allocations: 3.9 MB / 3.287 GB, free: 164.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001474/8.55, allocations: 5.842 MB / 3.293 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-05/8.55, allocations: 12 kB / 3.293 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007717/8.558, allocations: 1.096 MB / 3.294 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/8.562, allocations: 483.2 kB / 3.295 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/8.574, allocations: 5.589 MB / 3.3 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/8.578, allocations: 175.5 kB / 3.3 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006595/8.579, allocations: 95.97 kB / 3.3 GB, free: 150.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/8.579, allocations: 6.188 kB / 3.3 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006297/8.585, allocations: 2.323 MB / 3.303 GB, free: 148.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.917e-05/8.585, allocations: 15.94 kB / 3.303 GB, free: 148.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.966e-05/8.585, allocations: 28 kB / 3.303 GB, free: 148.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/8.589, allocations: 0.5195 MB / 3.303 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.503e-05/8.589, allocations: 35.86 kB / 3.303 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/8.592, allocations: 115.8 kB / 3.303 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000566/8.593, allocations: 91.97 kB / 3.303 GB, free: 147.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 = 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: 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 () * 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 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008304/8.594, allocations: 172.3 kB / 3.304 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01342/8.607, allocations: 3.489 MB / 3.307 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/8.609, allocations: 209.5 kB / 3.307 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/8.623, allocations: 3.658 MB / 3.311 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/8.623, allocations: 24 kB / 3.311 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/8.624, allocations: 4 kB / 3.311 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-05/8.624, allocations: 11.97 kB / 3.311 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0254/8.649, allocations: 8.559 MB / 3.319 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/8.649, allocations: 8 kB / 3.319 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/8.652, allocations: 335.5 kB / 3.319 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008735/8.661, allocations: 1.379 MB / 3.321 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004748/8.661, allocations: 35.94 kB / 3.321 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/8.679, allocations: 7.841 MB / 3.328 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/8.679, allocations: 8.188 kB / 3.328 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/8.692, allocations: 4.294 MB / 3.333 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/8.695, allocations: 0.6309 MB / 3.333 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008361/8.696, allocations: 20 kB / 3.333 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003548/8.699, allocations: 199.6 kB / 3.333 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/8.7, allocations: 145.7 kB / 3.334 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/8.7, allocations: 71.97 kB / 3.334 GB, free: 115.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002851/8.703, allocations: 1.272 MB / 3.335 GB, free: 114.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/8.703, allocations: 0 / 3.335 GB, free: 114.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006524/8.71, allocations: 1.117 MB / 3.336 GB, free: 113.5 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) * 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.01588/8.725, allocations: 7.01 MB / 3.343 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01101/8.737, allocations: 4.114 MB / 3.347 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/8.737, allocations: 4 kB / 3.347 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005418/8.742, allocations: 1.776 MB / 3.349 GB, free: 100.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/8.747, allocations: 0.5015 MB / 3.349 GB, free: 99.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/8.765, allocations: 5.906 MB / 3.355 GB, free: 93.92 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003646/8.769, allocations: 2.454 MB / 3.357 GB, free: 91.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006889/8.775, allocations: 1.301 MB / 3.359 GB, free: 90.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002723/8.778, allocations: 1.19 MB / 3.36 GB, free: 88.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/8.778, allocations: 0 / 3.36 GB, free: 88.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2164/8.995, allocations: 62.98 MB / 3.421 GB, free: 26.09 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/8.995, allocations: 203.1 kB / 3.421 GB, free: 25.81 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.331/14.33, allocations: 0 / 3.421 GB, free: 25.81 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)