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.367/2.367, allocations: 390.5 MB / 398 MB, free: 10.93 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.001029/0.001029, allocations: 172.9 kB / 491.2 MB, free: 1.566 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.58/1.58, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009242/0.0009242, allocations: 94.12 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.447e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2944, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.075/5.369, allocations: 1.79 GB / 3.002 GB, free: 49.17 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/5.37, allocations: 109.4 kB / 3.002 GB, free: 49.11 MB / 1.151 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.261/6.631, allocations: 164.5 MB / 3.163 GB, free: 350.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.913e-06/6.631, allocations: 0 / 3.163 GB, free: 350.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003973/6.631, allocations: 87.84 kB / 3.163 GB, free: 350.2 MB / 1.151 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.01022/6.641, allocations: 3.114 MB / 3.166 GB, free: 347.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/6.641, allocations: 12.03 kB / 3.166 GB, free: 347.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/6.647, allocations: 0.8266 MB / 3.167 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00649/6.654, allocations: 2.284 MB / 3.169 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/6.654, allocations: 96 kB / 3.169 GB, free: 343.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/6.655, allocations: 180 kB / 3.169 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00921/6.665, allocations: 3.522 MB / 3.173 GB, free: 340.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/6.678, allocations: 3.92 MB / 3.177 GB, free: 336.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/6.678, allocations: 11.94 kB / 3.177 GB, free: 336.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001439/6.68, allocations: 7.938 kB / 3.177 GB, free: 336 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002538/6.68, allocations: 174 kB / 3.177 GB, free: 335.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/6.709, allocations: 19.15 MB / 3.195 GB, free: 315.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/6.712, allocations: 1.747 MB / 3.197 GB, free: 313.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/6.713, allocations: 1.114 MB / 3.198 GB, free: 312.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/6.714, allocations: 138 kB / 3.198 GB, free: 312.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/6.715, allocations: 1.044 MB / 3.199 GB, free: 311.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=150): time 8.345e-06/6.715, allocations: 0 / 3.199 GB, free: 311.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=187): time 0.02147/6.737, allocations: 9.895 MB / 3.209 GB, free: 301.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/6.737, allocations: 0.51 MB / 3.21 GB, free: 300.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/6.74, allocations: 1.87 MB / 3.211 GB, free: 298.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004759/6.74, allocations: 29.7 kB / 3.211 GB, free: 298.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/6.742, allocations: 1.515 MB / 3.213 GB, free: 297.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005889/6.742, allocations: 0.6043 MB / 3.213 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/6.742, allocations: 0 / 3.213 GB, free: 296.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001122/6.743, allocations: 385.8 kB / 3.214 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/6.744, allocations: 1.066 MB / 3.215 GB, free: 295.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/6.745, allocations: 1.566 MB / 3.216 GB, free: 293.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/6.747, allocations: 1.384 MB / 3.218 GB, free: 291.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/6.747, allocations: 4 kB / 3.218 GB, free: 291.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008812/6.756, allocations: 4.188 MB / 3.222 GB, free: 287.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008661/6.757, allocations: 4.632 MB / 3.226 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/6.757, allocations: 15.95 kB / 3.226 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005344/6.762, allocations: 1.363 MB / 3.228 GB, free: 281.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/6.765, allocations: 475.3 kB / 3.228 GB, free: 280.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009127/6.774, allocations: 9.068 MB / 3.237 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/6.777, allocations: 163.8 kB / 3.237 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005699/6.777, allocations: 87.97 kB / 3.237 GB, free: 271.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/6.777, allocations: 5.562 kB / 3.237 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004156/6.781, allocations: 2.179 MB / 3.239 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/6.781, allocations: 12 kB / 3.239 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/6.782, allocations: 24 kB / 3.239 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/6.784, allocations: 0.5076 MB / 3.24 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-05/6.784, allocations: 27.92 kB / 3.24 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/6.786, allocations: 103.7 kB / 3.24 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/6.786, allocations: 87.97 kB / 3.24 GB, free: 268.1 MB / 1.151 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: 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 () * 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.000791/6.787, allocations: 174.1 kB / 3.24 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009392/6.796, allocations: 3.985 MB / 3.244 GB, free: 264 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/6.797, allocations: 225.2 kB / 3.244 GB, free: 263.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/6.808, allocations: 4.237 MB / 3.249 GB, free: 259.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/6.808, allocations: 27.95 kB / 3.249 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/6.808, allocations: 4 kB / 3.249 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/6.808, allocations: 7.969 kB / 3.249 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/6.826, allocations: 8.739 MB / 3.257 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/6.826, allocations: 4 kB / 3.257 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/6.828, allocations: 364 kB / 3.257 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006226/6.834, allocations: 1.792 MB / 3.259 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004301/6.835, allocations: 23.98 kB / 3.259 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/6.847, allocations: 12.51 MB / 3.271 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/6.847, allocations: 11.94 kB / 3.271 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/6.858, allocations: 4.592 MB / 3.276 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/6.859, allocations: 0.6853 MB / 3.277 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008914/6.86, allocations: 8 kB / 3.277 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/6.863, allocations: 227.6 kB / 3.277 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/6.863, allocations: 153.7 kB / 3.277 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/6.864, allocations: 63.98 kB / 3.277 GB, free: 229.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00275/6.866, allocations: 1.421 MB / 3.278 GB, free: 227.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.31e-07/6.866, allocations: 0 / 3.278 GB, free: 227.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006845/6.873, allocations: 1.187 MB / 3.28 GB, free: 226.6 MB / 1.151 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) * 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.01269/6.886, allocations: 7.047 MB / 3.287 GB, free: 219.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00876/6.895, allocations: 4.405 MB / 3.291 GB, free: 215.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/6.895, allocations: 5.75 kB / 3.291 GB, free: 215.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/6.899, allocations: 2.221 MB / 3.293 GB, free: 212.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/6.902, allocations: 0.5379 MB / 3.294 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/6.918, allocations: 6.105 MB / 3.299 GB, free: 206.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003415/6.922, allocations: 2.537 MB / 3.302 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005781/6.927, allocations: 1.372 MB / 3.303 GB, free: 202.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/6.93, allocations: 1.28 MB / 3.305 GB, free: 200.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.683e-06/6.93, allocations: 4 kB / 3.305 GB, free: 200.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/7.049, allocations: 67.82 MB / 3.371 GB, free: 133.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/7.049, allocations: 212.9 kB / 3.371 GB, free: 133 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.294/11.34, allocations: 0 / 3.371 GB, free: 133 MB / 1.151 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