Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.531/2.531, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001493/0.001493, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009406/0.0009406, allocations: 91.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.584e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3015, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.858/5.159, allocations: 1.792 GB / 3.011 GB, free: 41.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/5.16, allocations: 107.9 kB / 3.011 GB, free: 41.79 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.299/6.459, allocations: 160.9 MB / 3.168 GB, free: 359 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.655e-06/6.459, allocations: 0 / 3.168 GB, free: 359 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004486/6.46, allocations: 83.92 kB / 3.168 GB, free: 358.9 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.0116/6.471, allocations: 3.04 MB / 3.171 GB, free: 355.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/6.471, allocations: 8.031 kB / 3.171 GB, free: 355.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002404/6.474, allocations: 458.7 kB / 3.172 GB, free: 355.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/6.48, allocations: 0.8306 MB / 3.172 GB, free: 354.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006835/6.487, allocations: 2.138 MB / 3.174 GB, free: 352.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/6.487, allocations: 230.1 kB / 3.175 GB, free: 352.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/6.488, allocations: 304 kB / 3.175 GB, free: 351.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/6.502, allocations: 4.29 MB / 3.179 GB, free: 347.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/6.503, allocations: 7.844 kB / 3.179 GB, free: 347.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/6.504, allocations: 132 kB / 3.179 GB, free: 347.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/6.504, allocations: 170 kB / 3.179 GB, free: 347 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009646/6.514, allocations: 3.881 MB / 3.183 GB, free: 343.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02719/6.541, allocations: 18.63 MB / 3.201 GB, free: 323 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/6.543, allocations: 1.757 MB / 3.203 GB, free: 321.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/6.545, allocations: 0.9184 MB / 3.204 GB, free: 320.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/6.545, allocations: 134.4 kB / 3.204 GB, free: 320.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/6.546, allocations: 1.072 MB / 3.205 GB, free: 319.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=147): time 3.947e-06/6.546, allocations: 0 / 3.205 GB, free: 319.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=182): time 0.02357/6.57, allocations: 12.04 MB / 3.217 GB, free: 307 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/6.57, allocations: 0.5847 MB / 3.218 GB, free: 306.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/6.573, allocations: 1.852 MB / 3.219 GB, free: 304.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003896/6.573, allocations: 65.69 kB / 3.219 GB, free: 304.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/6.575, allocations: 1.467 MB / 3.221 GB, free: 302.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006054/6.575, allocations: 0.6124 MB / 3.221 GB, free: 302.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/6.575, allocations: 40 kB / 3.222 GB, free: 302.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001425/6.576, allocations: 394 kB / 3.222 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/6.577, allocations: 1.062 MB / 3.223 GB, free: 300.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/6.579, allocations: 1.656 MB / 3.225 GB, free: 298.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/6.58, allocations: 1.364 MB / 3.226 GB, free: 297.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/6.58, allocations: 4 kB / 3.226 GB, free: 297.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00792/6.588, allocations: 4.193 MB / 3.23 GB, free: 293.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001406/6.59, allocations: 5.881 MB / 3.236 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/6.59, allocations: 16 kB / 3.236 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004662/6.594, allocations: 1.436 MB / 3.237 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/6.597, allocations: 483.2 kB / 3.238 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/6.604, allocations: 5.849 MB / 3.243 GB, free: 278.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/6.607, allocations: 203.6 kB / 3.243 GB, free: 278.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/6.607, allocations: 95.97 kB / 3.244 GB, free: 278.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/6.607, allocations: 4 kB / 3.244 GB, free: 278.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006376/6.613, allocations: 3.463 MB / 3.247 GB, free: 275.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/6.613, allocations: 12 kB / 3.247 GB, free: 275.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/6.616, allocations: 0.9046 MB / 3.248 GB, free: 274.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/6.618, allocations: 0.4914 MB / 3.248 GB, free: 273.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/6.624, allocations: 4.862 MB / 3.253 GB, free: 268.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/6.627, allocations: 179.9 kB / 3.253 GB, free: 268.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/6.627, allocations: 91.97 kB / 3.253 GB, free: 268.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 = 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.0007242/6.628, allocations: 244.4 kB / 3.254 GB, free: 268.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005074/6.628, allocations: 225.3 kB / 3.254 GB, free: 268 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007775/6.636, allocations: 3.749 MB / 3.257 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/6.636, allocations: 20 kB / 3.257 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/6.636, allocations: 8 kB / 3.257 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/6.636, allocations: 11.97 kB / 3.258 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/6.651, allocations: 9.288 MB / 3.267 GB, free: 254.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/6.651, allocations: 4 kB / 3.267 GB, free: 254.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/6.652, allocations: 332.1 kB / 3.267 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004523/6.656, allocations: 1.405 MB / 3.268 GB, free: 253 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/6.657, allocations: 51.97 kB / 3.268 GB, free: 252.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009847/6.666, allocations: 8.228 MB / 3.276 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/6.667, allocations: 8 kB / 3.276 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007831/6.674, allocations: 4.378 MB / 3.281 GB, free: 239.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/6.676, allocations: 0.6463 MB / 3.281 GB, free: 239.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/6.677, allocations: 44 kB / 3.281 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/6.678, allocations: 187.8 kB / 3.281 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/6.678, allocations: 157.6 kB / 3.282 GB, free: 238.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/6.679, allocations: 67.97 kB / 3.282 GB, free: 238.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002044/6.681, allocations: 1.428 MB / 3.283 GB, free: 237.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/6.681, allocations: 0 / 3.283 GB, free: 237.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004208/6.685, allocations: 1.305 MB / 3.284 GB, free: 235.8 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) * 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.009966/6.695, allocations: 7.252 MB / 3.291 GB, free: 228.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008672/6.704, allocations: 4.821 MB / 3.296 GB, free: 223.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/6.704, allocations: 4 kB / 3.296 GB, free: 223.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/6.707, allocations: 1.837 MB / 3.298 GB, free: 221.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/6.71, allocations: 0.565 MB / 3.299 GB, free: 221.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/6.723, allocations: 6.138 MB / 3.305 GB, free: 215.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/6.725, allocations: 2.466 MB / 3.307 GB, free: 212.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00382/6.729, allocations: 1.309 MB / 3.308 GB, free: 211.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/6.73, allocations: 1.202 MB / 3.309 GB, free: 210.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.964e-06/6.73, allocations: 0 / 3.309 GB, free: 210.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/6.857, allocations: 70.54 MB / 3.378 GB, free: 140 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/6.858, allocations: 260.1 kB / 3.378 GB, free: 139.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.168/11.03, allocations: 64 / 3.378 GB, free: 139.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat does not exist to compare? outputFormat=mat