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.579/2.579, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001295/0.001295, allocations: 184 kB / 0.4901 GB, free: 2.227 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.549/1.549, allocations: 223.1 MB / 0.7992 GB, free: 14.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.001083/0.001083, allocations: 106.8 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005156, allocations: 7.562 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3726, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.897/5.269, allocations: 1.792 GB / 3.021 GB, free: 158.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/5.27, allocations: 115.2 kB / 3.021 GB, free: 158.2 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 0.3468/5.617, allocations: 161.6 MB / 3.179 GB, free: 8.723 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.424e-06/5.617, allocations: 0 / 3.179 GB, free: 8.723 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003542/5.617, allocations: 80 kB / 3.179 GB, free: 8.645 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.01162/5.629, allocations: 3.357 MB / 3.183 GB, free: 5.219 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/5.629, allocations: 15.97 kB / 3.183 GB, free: 5.203 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002403/5.631, allocations: 458.7 kB / 3.183 GB, free: 4.742 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005367/5.637, allocations: 0.8345 MB / 3.184 GB, free: 3.902 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/5.642, allocations: 2.142 MB / 3.186 GB, free: 1.707 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/5.642, allocations: 230.1 kB / 3.186 GB, free: 1.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007213/5.643, allocations: 299.9 kB / 3.186 GB, free: 1.188 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.677/6.32, allocations: 4.354 MB / 3.191 GB, free: 340 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/6.32, allocations: 3.344 kB / 3.191 GB, free: 340 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/6.321, allocations: 131.2 kB / 3.191 GB, free: 340 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/6.321, allocations: 172.3 kB / 3.191 GB, free: 340 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0076/6.328, allocations: 3.988 MB / 3.195 GB, free: 340 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02801/6.356, allocations: 18.62 MB / 3.213 GB, free: 330.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/6.359, allocations: 1.809 MB / 3.215 GB, free: 330.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/6.36, allocations: 131.1 kB / 3.215 GB, free: 330.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/6.361, allocations: 1.092 MB / 3.216 GB, free: 330.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=147): time 4.007e-06/6.361, allocations: 0 / 3.216 GB, free: 330.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=182): time 0.03182/6.393, allocations: 13.46 MB / 3.229 GB, free: 325.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/6.393, allocations: 0.5848 MB / 3.23 GB, free: 325 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/6.396, allocations: 1.881 MB / 3.232 GB, free: 324.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004768/6.397, allocations: 58.95 kB / 3.232 GB, free: 324.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/6.398, allocations: 1.467 MB / 3.233 GB, free: 324.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006024/6.399, allocations: 0.616 MB / 3.234 GB, free: 324 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/6.399, allocations: 40.69 kB / 3.234 GB, free: 324 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001021/6.399, allocations: 388.7 kB / 3.234 GB, free: 323.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/6.4, allocations: 1.105 MB / 3.235 GB, free: 323.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/6.402, allocations: 1.69 MB / 3.237 GB, free: 323 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/6.404, allocations: 1.399 MB / 3.238 GB, free: 323 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/6.404, allocations: 7.531 kB / 3.238 GB, free: 323 MB / 1.167 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008661/6.412, allocations: 4.325 MB / 3.242 GB, free: 322.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009897/6.413, allocations: 5.868 MB / 3.248 GB, free: 316.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/6.414, allocations: 18.62 kB / 3.248 GB, free: 316.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005829/6.419, allocations: 1.571 MB / 3.25 GB, free: 316.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/6.421, allocations: 479.7 kB / 3.25 GB, free: 316.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/6.429, allocations: 6.139 MB / 3.256 GB, free: 314.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/6.432, allocations: 215.2 kB / 3.256 GB, free: 314.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/6.432, allocations: 95.14 kB / 3.256 GB, free: 314.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/6.432, allocations: 3.969 kB / 3.256 GB, free: 314.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007061/6.439, allocations: 3.598 MB / 3.26 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.928e-05/6.439, allocations: 15.97 kB / 3.26 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/6.443, allocations: 1.027 MB / 3.261 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/6.445, allocations: 0.4891 MB / 3.261 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/6.452, allocations: 5.138 MB / 3.266 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/6.455, allocations: 180.4 kB / 3.267 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/6.455, allocations: 95.95 kB / 3.267 GB, free: 313.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.003169/6.458, allocations: 1.23 MB / 3.268 GB, free: 313.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007316/6.459, allocations: 229.5 kB / 3.268 GB, free: 313.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008814/6.468, allocations: 3.877 MB / 3.272 GB, free: 312.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/6.468, allocations: 24.61 kB / 3.272 GB, free: 312.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/6.468, allocations: 3.625 kB / 3.272 GB, free: 312.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/6.468, allocations: 14.34 kB / 3.272 GB, free: 312.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/6.485, allocations: 9.419 MB / 3.281 GB, free: 310.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/6.485, allocations: 7.734 kB / 3.281 GB, free: 310.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/6.486, allocations: 331.3 kB / 3.282 GB, free: 310.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005795/6.492, allocations: 1.518 MB / 3.283 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004509/6.493, allocations: 50.34 kB / 3.283 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/6.504, allocations: 8.676 MB / 3.292 GB, free: 304.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/6.504, allocations: 11.34 kB / 3.292 GB, free: 304.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008882/6.513, allocations: 4.513 MB / 3.296 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/6.515, allocations: 0.6445 MB / 3.297 GB, free: 302.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005369/6.515, allocations: 43.03 kB / 3.297 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/6.517, allocations: 184 kB / 3.297 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/6.517, allocations: 155.5 kB / 3.297 GB, free: 302.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/6.518, allocations: 61.12 kB / 3.297 GB, free: 302.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002088/6.52, allocations: 1.458 MB / 3.298 GB, free: 301.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3e-07/6.52, allocations: 0 / 3.298 GB, free: 301.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004584/6.524, allocations: 1.313 MB / 3.3 GB, free: 301.4 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.01029/6.535, allocations: 7.432 MB / 3.307 GB, free: 297 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008483/6.543, allocations: 4.891 MB / 3.312 GB, free: 295.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/6.543, allocations: 3.344 kB / 3.312 GB, free: 295.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/6.546, allocations: 1.886 MB / 3.314 GB, free: 294.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/6.549, allocations: 0.5596 MB / 3.314 GB, free: 294.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/6.567, allocations: 19.51 MB / 3.333 GB, free: 278.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/6.569, allocations: 2.46 MB / 3.336 GB, free: 277.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003171/6.573, allocations: 1.012 MB / 3.337 GB, free: 277.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/6.574, allocations: 1.247 MB / 3.338 GB, free: 276.5 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/6.574, allocations: 0 / 3.338 GB, free: 276.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09324/6.667, allocations: 67.18 MB / 3.403 GB, free: 233.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/6.668, allocations: 287.4 kB / 3.404 GB, free: 232.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.844/10.51, allocations: 0 / 3.404 GB, free: 232.9 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