Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001047/0.001047, allocations: 165.2 kB / 498.1 MB, free: 5.762 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.56/1.56, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001018/0.001018, allocations: 92.33 kB / 0.9346 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 10.34 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.598/4.911, allocations: 1.791 GB / 3.014 GB, free: 193.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/4.911, allocations: 111.9 kB / 3.014 GB, free: 193.9 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 0.3502/5.261, allocations: 161.6 MB / 3.172 GB, free: 42.88 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.015e-06/5.261, allocations: 0 / 3.172 GB, free: 42.88 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000369/5.262, allocations: 83.94 kB / 3.172 GB, free: 42.79 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: 812 * Number of variables: 812 Notification: Performance of Generate backend data structure: time 0.01079/5.273, allocations: 3.353 MB / 3.175 GB, free: 39.37 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/5.273, allocations: 8.031 kB / 3.175 GB, free: 39.36 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002238/5.275, allocations: 458.7 kB / 3.176 GB, free: 38.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005841/5.281, allocations: 0.8345 MB / 3.177 GB, free: 38.06 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007091/5.288, allocations: 2.15 MB / 3.179 GB, free: 35.86 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/5.288, allocations: 230.1 kB / 3.179 GB, free: 35.63 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/5.29, allocations: 300 kB / 3.179 GB, free: 35.34 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/5.303, allocations: 4.346 MB / 3.184 GB, free: 30.85 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/5.303, allocations: 7.938 kB / 3.184 GB, free: 30.84 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/5.304, allocations: 136 kB / 3.184 GB, free: 30.71 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/5.304, allocations: 170 kB / 3.184 GB, free: 30.54 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008231/5.313, allocations: 3.985 MB / 3.188 GB, free: 26.55 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02774/5.34, allocations: 18.63 MB / 3.206 GB, free: 6.457 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/5.343, allocations: 1.802 MB / 3.208 GB, free: 4.656 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/5.344, allocations: 134.4 kB / 3.208 GB, free: 4.508 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/5.346, allocations: 1.088 MB / 3.209 GB, free: 3.371 MB / 1.167 GB Notification: Performance of pre-optimization done (n=147): time 9.327e-06/5.346, allocations: 0 / 3.209 GB, free: 3.371 MB / 1.167 GB Notification: Performance of matching and sorting (n=182): time 0.6515/5.997, allocations: 13.46 MB / 3.222 GB, free: 341.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002586/5.997, allocations: 0.5843 MB / 3.223 GB, free: 340.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/6.001, allocations: 1.876 MB / 3.224 GB, free: 340.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003935/6.001, allocations: 59.34 kB / 3.225 GB, free: 340.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/6.003, allocations: 1.471 MB / 3.226 GB, free: 340.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006654/6.004, allocations: 0.6139 MB / 3.227 GB, free: 339.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/6.004, allocations: 40.91 kB / 3.227 GB, free: 339.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001423/6.004, allocations: 390.1 kB / 3.227 GB, free: 339.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/6.006, allocations: 1.104 MB / 3.228 GB, free: 339.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/6.008, allocations: 1.69 MB / 3.23 GB, free: 338.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/6.01, allocations: 1.393 MB / 3.231 GB, free: 338.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/6.01, allocations: 4.594 kB / 3.231 GB, free: 338.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01055/6.02, allocations: 4.333 MB / 3.235 GB, free: 338.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001255/6.022, allocations: 5.873 MB / 3.241 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/6.022, allocations: 14.44 kB / 3.241 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007041/6.029, allocations: 1.582 MB / 3.243 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/6.031, allocations: 476.6 kB / 3.243 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009224/6.04, allocations: 6.122 MB / 3.249 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/6.043, allocations: 205.3 kB / 3.249 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/6.043, allocations: 95.34 kB / 3.249 GB, free: 330.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/6.043, allocations: 7.891 kB / 3.249 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007015/6.05, allocations: 3.6 MB / 3.253 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/6.05, allocations: 16.3 kB / 3.253 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003775/6.054, allocations: 1.035 MB / 3.254 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/6.056, allocations: 0.4973 MB / 3.254 GB, free: 330.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/6.063, allocations: 5.143 MB / 3.259 GB, free: 329.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/6.065, allocations: 178.6 kB / 3.26 GB, free: 329.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/6.065, allocations: 95.27 kB / 3.26 GB, free: 329.4 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: 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 () * Number of clocked 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.002645/6.068, allocations: 1.233 MB / 3.261 GB, free: 329.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005232/6.068, allocations: 222.4 kB / 3.261 GB, free: 329.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008211/6.077, allocations: 3.881 MB / 3.265 GB, free: 328.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/6.077, allocations: 26.5 kB / 3.265 GB, free: 328.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/6.077, allocations: 4.594 kB / 3.265 GB, free: 328.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/6.077, allocations: 15.34 kB / 3.265 GB, free: 328.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/6.092, allocations: 9.404 MB / 3.274 GB, free: 327.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/6.092, allocations: 7.406 kB / 3.274 GB, free: 327.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/6.093, allocations: 333.7 kB / 3.274 GB, free: 327.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005491/6.098, allocations: 1.519 MB / 3.276 GB, free: 327.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/6.099, allocations: 47.17 kB / 3.276 GB, free: 327.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/6.109, allocations: 8.672 MB / 3.284 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/6.11, allocations: 14.39 kB / 3.284 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008711/6.118, allocations: 4.521 MB / 3.289 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/6.12, allocations: 0.6439 MB / 3.289 GB, free: 322.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/6.121, allocations: 41.91 kB / 3.289 GB, free: 322.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/6.123, allocations: 182.3 kB / 3.29 GB, free: 322.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/6.124, allocations: 157.6 kB / 3.29 GB, free: 322.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/6.124, allocations: 64.41 kB / 3.29 GB, free: 322.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002188/6.126, allocations: 1.459 MB / 3.291 GB, free: 322 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/6.126, allocations: 0 / 3.291 GB, free: 322 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005657/6.132, allocations: 1.307 MB / 3.293 GB, free: 321.9 MB / 1.167 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) * Number of clocked states: 0 () * 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.01083/6.142, allocations: 7.442 MB / 3.3 GB, free: 317.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008682/6.151, allocations: 4.886 MB / 3.305 GB, free: 315.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/6.151, allocations: 3.375 kB / 3.305 GB, free: 315.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/6.155, allocations: 1.883 MB / 3.306 GB, free: 315.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/6.157, allocations: 0.5484 MB / 3.307 GB, free: 315 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/6.174, allocations: 19.51 MB / 3.326 GB, free: 299.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/6.177, allocations: 2.462 MB / 3.328 GB, free: 298.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003876/6.181, allocations: 1.016 MB / 3.329 GB, free: 298.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/6.183, allocations: 1.247 MB / 3.331 GB, free: 297.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.404e-06/6.183, allocations: 0 / 3.331 GB, free: 297.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09789/6.281, allocations: 67.18 MB / 3.396 GB, free: 269.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/6.281, allocations: 288.4 kB / 3.397 GB, free: 269.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.842/10.12, allocations: 3.516 kB / 3.397 GB, free: 269.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat does not exist to compare? outputFormat=mat