Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.543/2.543, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001211, allocations: 182.3 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 103.7 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 12.47 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3501, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.334, allocations: 1.79 GB / 3.02 GB, free: 171.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/5.334, allocations: 117.6 kB / 3.02 GB, free: 171.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:30:3-37: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 10.0.0-master/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:30:3-37: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.045/6.379, allocations: 171.2 MB / 3.187 GB, free: 334.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.535e-06/6.379, allocations: 0.5625 kB / 3.187 GB, free: 334.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004856/6.38, allocations: 87.25 kB / 3.187 GB, free: 334.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.01332/6.393, allocations: 3.481 MB / 3.19 GB, free: 333.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/6.393, allocations: 9.844 kB / 3.19 GB, free: 333.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002522/6.396, allocations: 463.8 kB / 3.191 GB, free: 333.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006106/6.402, allocations: 0.8263 MB / 3.192 GB, free: 333.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007353/6.409, allocations: 2.297 MB / 3.194 GB, free: 333.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/6.41, allocations: 232.2 kB / 3.194 GB, free: 333.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/6.411, allocations: 310.7 kB / 3.194 GB, free: 333.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/6.423, allocations: 4.431 MB / 3.199 GB, free: 332.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/6.423, allocations: 6.156 kB / 3.199 GB, free: 332.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004735/6.424, allocations: 135.4 kB / 3.199 GB, free: 332.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003319/6.424, allocations: 175.3 kB / 3.199 GB, free: 332.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/6.436, allocations: 4.031 MB / 3.203 GB, free: 332.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03069/6.467, allocations: 19.9 MB / 3.222 GB, free: 322.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/6.47, allocations: 1.89 MB / 3.224 GB, free: 322.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/6.47, allocations: 132.9 kB / 3.224 GB, free: 322.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/6.472, allocations: 1.102 MB / 3.226 GB, free: 321.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=150): time 3.236e-06/6.472, allocations: 7.844 kB / 3.226 GB, free: 321.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=187): time 0.03624/6.508, allocations: 13.43 MB / 3.239 GB, free: 317.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/6.509, allocations: 0.5117 MB / 3.239 GB, free: 317.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/6.513, allocations: 2.069 MB / 3.241 GB, free: 317.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000578/6.513, allocations: 59.8 kB / 3.241 GB, free: 317.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/6.515, allocations: 1.519 MB / 3.243 GB, free: 316.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008375/6.516, allocations: 0.6213 MB / 3.243 GB, free: 316 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/6.516, allocations: 40.47 kB / 3.243 GB, free: 316 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001319/6.516, allocations: 382.5 kB / 3.244 GB, free: 315.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/6.518, allocations: 1.132 MB / 3.245 GB, free: 315.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/6.52, allocations: 1.657 MB / 3.246 GB, free: 315.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/6.523, allocations: 1.391 MB / 3.248 GB, free: 315.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/6.523, allocations: 0 / 3.248 GB, free: 315.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01273/6.535, allocations: 4.734 MB / 3.252 GB, free: 314.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001537/6.537, allocations: 4.659 MB / 3.257 GB, free: 310.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/6.537, allocations: 11.53 kB / 3.257 GB, free: 310.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008359/6.545, allocations: 2.066 MB / 3.259 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/6.548, allocations: 469.4 kB / 3.259 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/6.558, allocations: 9.858 MB / 3.269 GB, free: 304.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/6.562, allocations: 202.6 kB / 3.269 GB, free: 304.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/6.562, allocations: 90.52 kB / 3.269 GB, free: 304.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/6.562, allocations: 4.781 kB / 3.269 GB, free: 304.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009479/6.571, allocations: 3.871 MB / 3.273 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/6.572, allocations: 11.75 kB / 3.273 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005529/6.577, allocations: 1.38 MB / 3.275 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/6.579, allocations: 486.5 kB / 3.275 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008853/6.588, allocations: 7.84 MB / 3.283 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/6.591, allocations: 169.3 kB / 3.283 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/6.591, allocations: 86.94 kB / 3.283 GB, free: 300.7 MB / 1.167 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: 51 * 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 (236): * Single equations (assignments): 230 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002899/6.594, allocations: 1.258 MB / 3.284 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000752/6.595, allocations: 229.8 kB / 3.284 GB, free: 300.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/6.606, allocations: 4.532 MB / 3.289 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/6.606, allocations: 22.19 kB / 3.289 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/6.606, allocations: 10.91 kB / 3.289 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-05/6.606, allocations: 10.12 kB / 3.289 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/6.624, allocations: 9.601 MB / 3.298 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/6.624, allocations: 7.703 kB / 3.298 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/6.625, allocations: 358.2 kB / 3.299 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007667/6.633, allocations: 2.005 MB / 3.3 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/6.633, allocations: 45.44 kB / 3.301 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/6.647, allocations: 13.65 MB / 3.314 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/6.647, allocations: 5.562 kB / 3.314 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/6.658, allocations: 4.858 MB / 3.319 GB, free: 282.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/6.661, allocations: 0.6905 MB / 3.319 GB, free: 282 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/6.662, allocations: 38.62 kB / 3.319 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/6.664, allocations: 197.1 kB / 3.319 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005435/6.665, allocations: 150.4 kB / 3.32 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/6.665, allocations: 64.7 kB / 3.32 GB, free: 281.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003505/6.669, allocations: 1.619 MB / 3.321 GB, free: 281.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/6.669, allocations: 0 / 3.321 GB, free: 281.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006422/6.675, allocations: 1.327 MB / 3.323 GB, free: 281.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (184): * Single equations (assignments): 176 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0128/6.688, allocations: 7.394 MB / 3.33 GB, free: 277.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009905/6.698, allocations: 5.414 MB / 3.335 GB, free: 275 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/6.698, allocations: 4.188 kB / 3.335 GB, free: 275 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003839/6.702, allocations: 2.331 MB / 3.337 GB, free: 273.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/6.706, allocations: 0.5822 MB / 3.338 GB, free: 273.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/6.728, allocations: 17.72 MB / 3.355 GB, free: 259.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/6.732, allocations: 2.537 MB / 3.358 GB, free: 258.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004048/6.736, allocations: 1.01 MB / 3.359 GB, free: 258.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/6.738, allocations: 1.327 MB / 3.36 GB, free: 257.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.714e-06/6.738, allocations: 0 / 3.36 GB, free: 257.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/6.85, allocations: 71.85 MB / 3.43 GB, free: 204.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/6.85, allocations: 291 kB / 3.43 GB, free: 203.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/10.73, allocations: 2.188 kB / 3.43 GB, free: 203.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_res.mat does not exist to compare? outputFormat=mat