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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001086/0.001086, allocations: 168.9 kB / 361.4 MB, free: 6.848 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.655/1.655, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001092/0.001092, allocations: 92.84 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.565e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7828, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.415/6.198, allocations: 2.131 GB / 3.096 GB, free: 27.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/6.199, allocations: 108.9 kB / 3.096 GB, free: 26.93 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 1.107/7.306, allocations: 139 MB / 3.231 GB, free: 282.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/7.306, allocations: 0 / 3.231 GB, free: 282.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005274/7.307, allocations: 87.84 kB / 3.232 GB, free: 282.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.0134/7.32, allocations: 2.996 MB / 3.234 GB, free: 279.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/7.32, allocations: 12.03 kB / 3.234 GB, free: 279.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007025/7.327, allocations: 0.8268 MB / 3.235 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008168/7.335, allocations: 2.124 MB / 3.237 GB, free: 276.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/7.336, allocations: 107.9 kB / 3.237 GB, free: 276 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002252/7.338, allocations: 180 kB / 3.238 GB, free: 275.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01029/7.348, allocations: 3.475 MB / 3.241 GB, free: 272.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/7.363, allocations: 3.835 MB / 3.245 GB, free: 268.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/7.363, allocations: 7.938 kB / 3.245 GB, free: 268.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/7.365, allocations: 8 kB / 3.245 GB, free: 268.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002394/7.365, allocations: 169.9 kB / 3.245 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/7.399, allocations: 17.82 MB / 3.262 GB, free: 249.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/7.401, allocations: 1.684 MB / 3.264 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/7.403, allocations: 0.8805 MB / 3.265 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/7.403, allocations: 138 kB / 3.265 GB, free: 246.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/7.405, allocations: 1.019 MB / 3.266 GB, free: 245.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 8.416e-06/7.405, allocations: 0 / 3.266 GB, free: 245.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.02001/7.425, allocations: 10.4 MB / 3.276 GB, free: 234.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/7.425, allocations: 0.5847 MB / 3.277 GB, free: 234.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/7.428, allocations: 1.679 MB / 3.278 GB, free: 232.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005127/7.428, allocations: 25.7 kB / 3.278 GB, free: 232.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/7.43, allocations: 1.474 MB / 3.28 GB, free: 230.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007808/7.431, allocations: 0.5851 MB / 3.28 GB, free: 230.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/7.431, allocations: 4 kB / 3.28 GB, free: 230.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001323/7.431, allocations: 386 kB / 3.281 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/7.432, allocations: 1.027 MB / 3.282 GB, free: 228.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/7.434, allocations: 1.605 MB / 3.283 GB, free: 227 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/7.436, allocations: 1.411 MB / 3.285 GB, free: 225.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/7.436, allocations: 4 kB / 3.285 GB, free: 225.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008288/7.444, allocations: 3.905 MB / 3.289 GB, free: 221.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001728/7.446, allocations: 5.834 MB / 3.294 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/7.446, allocations: 16 kB / 3.294 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/7.45, allocations: 1.093 MB / 3.295 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/7.452, allocations: 487.2 kB / 3.296 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/7.459, allocations: 5.597 MB / 3.301 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/7.462, allocations: 167.6 kB / 3.301 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/7.462, allocations: 99.97 kB / 3.301 GB, free: 207.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/7.462, allocations: 4 kB / 3.301 GB, free: 207.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003618/7.466, allocations: 2.32 MB / 3.304 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/7.466, allocations: 16.06 kB / 3.304 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/7.466, allocations: 28 kB / 3.304 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/7.468, allocations: 0.5187 MB / 3.304 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/7.468, allocations: 35.86 kB / 3.304 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/7.47, allocations: 119.7 kB / 3.304 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/7.47, allocations: 95.97 kB / 3.305 GB, free: 204.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.0006873/7.471, allocations: 169.1 kB / 3.305 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007455/7.478, allocations: 3.489 MB / 3.308 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/7.48, allocations: 213.4 kB / 3.308 GB, free: 200.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008394/7.488, allocations: 3.657 MB / 3.312 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/7.488, allocations: 24 kB / 3.312 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/7.488, allocations: 4 kB / 3.312 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/7.488, allocations: 12.16 kB / 3.312 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/7.504, allocations: 8.55 MB / 3.32 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/7.504, allocations: 11.98 kB / 3.32 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/7.506, allocations: 332.2 kB / 3.321 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004488/7.51, allocations: 1.386 MB / 3.322 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003096/7.51, allocations: 19.98 kB / 3.322 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009549/7.52, allocations: 7.852 MB / 3.33 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/7.52, allocations: 12 kB / 3.33 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007938/7.528, allocations: 4.295 MB / 3.334 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/7.53, allocations: 0.627 MB / 3.334 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/7.53, allocations: 16 kB / 3.334 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/7.532, allocations: 199.7 kB / 3.335 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003758/7.532, allocations: 153.6 kB / 3.335 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/7.533, allocations: 67.97 kB / 3.335 GB, free: 172.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001822/7.534, allocations: 1.276 MB / 3.336 GB, free: 171.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/7.534, allocations: 0 / 3.336 GB, free: 171.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00454/7.539, allocations: 1.113 MB / 3.337 GB, free: 170.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.008953/7.548, allocations: 7.014 MB / 3.344 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006591/7.555, allocations: 4.121 MB / 3.348 GB, free: 159.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/7.555, allocations: 0 / 3.348 GB, free: 159.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00304/7.558, allocations: 1.774 MB / 3.35 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/7.561, allocations: 0.4895 MB / 3.35 GB, free: 157 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/7.576, allocations: 5.918 MB / 3.356 GB, free: 151 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/7.578, allocations: 2.454 MB / 3.358 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004189/7.582, allocations: 1.312 MB / 3.36 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/7.584, allocations: 1.19 MB / 3.361 GB, free: 146 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/7.584, allocations: 0 / 3.361 GB, free: 146 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/7.694, allocations: 62.97 MB / 3.422 GB, free: 83.22 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/7.695, allocations: 218.3 kB / 3.423 GB, free: 82.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.83/11.52, allocations: 2.578 kB / 3.423 GB, free: 82.93 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)