Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 187 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000829/0.000829, allocations: 86.47 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.701e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.363/5.55, allocations: 2.25 GB / 3.136 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/5.55, allocations: 107.5 kB / 3.136 GB, free: 114.6 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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.8076/6.358, allocations: 138.9 MB / 3.271 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/6.358, allocations: 0 / 3.271 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002653/6.358, allocations: 81.86 kB / 3.271 GB, free: 239.7 MB / 0.8698 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.008508/6.367, allocations: 3 MB / 3.274 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/6.367, allocations: 10.62 kB / 3.274 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005948/6.373, allocations: 0.8292 MB / 3.275 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006895/6.38, allocations: 2.122 MB / 3.277 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/6.38, allocations: 98.84 kB / 3.277 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/6.381, allocations: 177.2 kB / 3.277 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007328/6.388, allocations: 3.475 MB / 3.281 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007405/6.396, allocations: 3.844 MB / 3.285 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.927e-05/6.396, allocations: 4.875 kB / 3.285 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/6.396, allocations: 3.219 kB / 3.285 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/6.397, allocations: 172.2 kB / 3.285 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02344/6.42, allocations: 17.83 MB / 3.302 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/6.422, allocations: 1.684 MB / 3.304 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009886/6.423, allocations: 0.8827 MB / 3.305 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/6.423, allocations: 130.3 kB / 3.305 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/6.425, allocations: 1.023 MB / 3.306 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 3.767e-06/6.425, allocations: 0 / 3.306 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.01683/6.441, allocations: 10.39 MB / 3.316 GB, free: 223 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/6.442, allocations: 0.5859 MB / 3.317 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/6.444, allocations: 1.676 MB / 3.318 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/6.445, allocations: 29.67 kB / 3.318 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/6.446, allocations: 1.472 MB / 3.32 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/6.447, allocations: 0.5911 MB / 3.32 GB, free: 221 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/6.447, allocations: 0 / 3.32 GB, free: 221 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001777/6.447, allocations: 392 kB / 3.321 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/6.449, allocations: 1.028 MB / 3.322 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/6.451, allocations: 1.603 MB / 3.323 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/6.453, allocations: 1.401 MB / 3.325 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/6.453, allocations: 3.688 kB / 3.325 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008278/6.461, allocations: 3.907 MB / 3.328 GB, free: 218 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001563/6.463, allocations: 5.834 MB / 3.334 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/6.463, allocations: 13.41 kB / 3.334 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00392/6.467, allocations: 1.1 MB / 3.335 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/6.469, allocations: 486.7 kB / 3.336 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/6.475, allocations: 5.59 MB / 3.341 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/6.478, allocations: 181.7 kB / 3.341 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/6.478, allocations: 90.16 kB / 3.341 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/6.478, allocations: 3.812 kB / 3.341 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00333/6.482, allocations: 2.324 MB / 3.344 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/6.482, allocations: 13.91 kB / 3.344 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/6.482, allocations: 27.5 kB / 3.344 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/6.483, allocations: 0.5187 MB / 3.344 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/6.483, allocations: 41.66 kB / 3.344 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/6.485, allocations: 118.2 kB / 3.344 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/6.485, allocations: 94.19 kB / 3.344 GB, free: 207.3 MB / 0.8698 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.0005615/6.486, allocations: 160.8 kB / 3.345 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006889/6.493, allocations: 3.496 MB / 3.348 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/6.494, allocations: 210.3 kB / 3.348 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/6.502, allocations: 3.653 MB / 3.352 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/6.502, allocations: 20.94 kB / 3.352 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/6.502, allocations: 7.5 kB / 3.352 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-05/6.502, allocations: 13.11 kB / 3.352 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/6.516, allocations: 8.569 MB / 3.36 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/6.516, allocations: 12.02 kB / 3.36 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/6.518, allocations: 333.3 kB / 3.36 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00435/6.522, allocations: 1.383 MB / 3.362 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/6.522, allocations: 23.05 kB / 3.362 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009477/6.532, allocations: 7.855 MB / 3.37 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/6.532, allocations: 10.53 kB / 3.37 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007501/6.539, allocations: 4.295 MB / 3.374 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/6.541, allocations: 0.6332 MB / 3.374 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/6.541, allocations: 7.625 kB / 3.374 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/6.543, allocations: 197.5 kB / 3.375 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/6.543, allocations: 158.6 kB / 3.375 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/6.543, allocations: 66.09 kB / 3.375 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0017/6.545, allocations: 1.27 MB / 3.376 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/6.545, allocations: 0 / 3.376 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003663/6.549, allocations: 1.12 MB / 3.377 GB, free: 193.1 MB / 0.8698 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.008479/6.557, allocations: 7.001 MB / 3.384 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006491/6.564, allocations: 4.133 MB / 3.388 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/6.564, allocations: 3.969 kB / 3.388 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/6.567, allocations: 1.77 MB / 3.39 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/6.57, allocations: 0.4931 MB / 3.39 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/6.582, allocations: 5.91 MB / 3.396 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/6.584, allocations: 2.457 MB / 3.398 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003487/6.587, allocations: 1.312 MB / 3.4 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/6.588, allocations: 1.195 MB / 3.401 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/6.588, allocations: 0 / 3.401 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09288/6.681, allocations: 62.97 MB / 3.462 GB, free: 125 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/6.682, allocations: 219.3 kB / 3.462 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.473/10.15, allocations: 0 / 3.462 GB, free: 124.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)