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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001254/0.001254, allocations: 172.9 kB / 366.7 MB, free: 1.676 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.775/1.775, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009149/0.0009149, allocations: 87.17 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.266e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6922, allocations: 116.3 MB / 0.9734 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.963/6.655, allocations: 2.132 GB / 3.106 GB, free: 343.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/6.656, allocations: 107.4 kB / 3.106 GB, free: 343.9 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-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.3311/6.987, allocations: 144.8 MB / 3.247 GB, free: 220.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.435e-06/6.987, allocations: 0 / 3.247 GB, free: 220.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002186/6.987, allocations: 79.94 kB / 3.247 GB, free: 220.4 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.006337/6.994, allocations: 3.001 MB / 3.25 GB, free: 217.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/6.994, allocations: 8.031 kB / 3.25 GB, free: 217.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/6.998, allocations: 0.8267 MB / 3.251 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/7.002, allocations: 2.134 MB / 3.253 GB, free: 214.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/7.002, allocations: 104 kB / 3.253 GB, free: 214.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005045/7.003, allocations: 172 kB / 3.253 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006203/7.009, allocations: 3.475 MB / 3.257 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007495/7.017, allocations: 3.834 MB / 3.26 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-05/7.017, allocations: 11.84 kB / 3.26 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/7.017, allocations: 4 kB / 3.26 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/7.017, allocations: 177.9 kB / 3.261 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/7.041, allocations: 17.83 MB / 3.278 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/7.043, allocations: 1.684 MB / 3.28 GB, free: 185.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/7.045, allocations: 0.879 MB / 3.281 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/7.045, allocations: 138.4 kB / 3.281 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/7.046, allocations: 1.015 MB / 3.282 GB, free: 183.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 6.662e-06/7.046, allocations: 7.938 kB / 3.282 GB, free: 183.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.02109/7.067, allocations: 10.39 MB / 3.292 GB, free: 172.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/7.068, allocations: 0.5885 MB / 3.292 GB, free: 172.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/7.07, allocations: 1.679 MB / 3.294 GB, free: 170.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000369/7.07, allocations: 29.7 kB / 3.294 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/7.072, allocations: 1.474 MB / 3.295 GB, free: 168.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/7.072, allocations: 0.5851 MB / 3.296 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/7.072, allocations: 0 / 3.296 GB, free: 168.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/7.072, allocations: 394 kB / 3.296 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/7.074, allocations: 1.027 MB / 3.297 GB, free: 166.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/7.075, allocations: 1.605 MB / 3.299 GB, free: 165.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/7.077, allocations: 1.41 MB / 3.3 GB, free: 163.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/7.077, allocations: 4 kB / 3.3 GB, free: 163.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007407/7.084, allocations: 3.901 MB / 3.304 GB, free: 159.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001492/7.086, allocations: 5.83 MB / 3.31 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/7.086, allocations: 16 kB / 3.31 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003756/7.09, allocations: 1.108 MB / 3.311 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/7.092, allocations: 479.2 kB / 3.311 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/7.098, allocations: 5.595 MB / 3.317 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/7.101, allocations: 171.6 kB / 3.317 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/7.101, allocations: 91.97 kB / 3.317 GB, free: 145.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/7.101, allocations: 7.938 kB / 3.317 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003176/7.104, allocations: 2.324 MB / 3.319 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/7.104, allocations: 19.98 kB / 3.319 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/7.104, allocations: 24 kB / 3.319 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/7.106, allocations: 0.5187 MB / 3.32 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/7.106, allocations: 35.88 kB / 3.32 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/7.107, allocations: 119.9 kB / 3.32 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/7.108, allocations: 91.97 kB / 3.32 GB, free: 142.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.0004676/7.108, allocations: 174 kB / 3.32 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006722/7.115, allocations: 3.486 MB / 3.324 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000464/7.115, allocations: 213.5 kB / 3.324 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007366/7.123, allocations: 3.654 MB / 3.328 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/7.123, allocations: 20 kB / 3.328 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/7.123, allocations: 8 kB / 3.328 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/7.123, allocations: 15.95 kB / 3.328 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/7.136, allocations: 8.559 MB / 3.336 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/7.136, allocations: 4 kB / 3.336 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/7.138, allocations: 336.2 kB / 3.336 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004303/7.142, allocations: 1.381 MB / 3.338 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/7.142, allocations: 27.92 kB / 3.338 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00963/7.152, allocations: 7.864 MB / 3.345 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/7.152, allocations: 11.94 kB / 3.345 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008476/7.16, allocations: 4.291 MB / 3.35 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/7.162, allocations: 0.6385 MB / 3.35 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007696/7.163, allocations: 8 kB / 3.35 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/7.165, allocations: 199.7 kB / 3.35 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/7.165, allocations: 153.6 kB / 3.351 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/7.165, allocations: 67.98 kB / 3.351 GB, free: 110.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001886/7.167, allocations: 1.268 MB / 3.352 GB, free: 109.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.167, allocations: 0 / 3.352 GB, free: 109.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003992/7.171, allocations: 1.125 MB / 3.353 GB, free: 108.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.009053/7.18, allocations: 7 MB / 3.36 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006167/7.186, allocations: 4.126 MB / 3.364 GB, free: 97.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/7.186, allocations: 4 kB / 3.364 GB, free: 97.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002789/7.189, allocations: 1.772 MB / 3.366 GB, free: 95.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/7.192, allocations: 0.5032 MB / 3.366 GB, free: 94.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/7.204, allocations: 5.91 MB / 3.372 GB, free: 88.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/7.206, allocations: 2.454 MB / 3.374 GB, free: 86.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003685/7.21, allocations: 1.312 MB / 3.375 GB, free: 85.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/7.211, allocations: 1.19 MB / 3.377 GB, free: 83.89 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/7.211, allocations: 0 / 3.377 GB, free: 83.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/7.315, allocations: 63.22 MB / 3.438 GB, free: 20.88 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/7.315, allocations: 207.1 kB / 3.439 GB, free: 20.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.898/11.21, allocations: 0 / 3.439 GB, free: 20.61 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)