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.297/2.297, allocations: 390.5 MB / 398 MB, free: 10.96 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.001404/0.001403, allocations: 176.9 kB / 491.2 MB, free: 1.582 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.591/1.591, 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.001169/0.001169, allocations: 95.77 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.854e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2749, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.962/5.237, allocations: 1.791 GB / 3.004 GB, free: 71.08 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/5.238, allocations: 113.2 kB / 3.004 GB, free: 70.98 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.176/6.414, allocations: 153.6 MB / 3.154 GB, free: 367.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.196e-06/6.414, allocations: 7.844 kB / 3.154 GB, free: 367.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004977/6.414, allocations: 77.66 kB / 3.154 GB, free: 367.7 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: 812 * Number of variables: 812 Notification: Performance of Generate backend data structure: time 0.01242/6.427, allocations: 3.043 MB / 3.157 GB, free: 365.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/6.427, allocations: 11.75 kB / 3.157 GB, free: 365.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006385/6.433, allocations: 0.8275 MB / 3.158 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006997/6.44, allocations: 2.135 MB / 3.16 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/6.44, allocations: 102.7 kB / 3.16 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/6.442, allocations: 175.5 kB / 3.16 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009035/6.451, allocations: 3.485 MB / 3.164 GB, free: 362.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/6.464, allocations: 3.849 MB / 3.167 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/6.464, allocations: 6.875 kB / 3.167 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/6.465, allocations: 15.38 kB / 3.167 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/6.465, allocations: 171.4 kB / 3.167 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/6.49, allocations: 17.85 MB / 3.185 GB, free: 343.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/6.492, allocations: 1.688 MB / 3.187 GB, free: 341.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/6.493, allocations: 0.8847 MB / 3.187 GB, free: 340.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/6.493, allocations: 130 kB / 3.188 GB, free: 340.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/6.495, allocations: 1.023 MB / 3.189 GB, free: 339.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 6.522e-06/6.495, allocations: 0 / 3.189 GB, free: 339.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=182): time 0.0187/6.513, allocations: 10.41 MB / 3.199 GB, free: 329.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002567/6.514, allocations: 0.5886 MB / 3.199 GB, free: 328.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/6.516, allocations: 1.683 MB / 3.201 GB, free: 326.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001999/6.516, allocations: 25.7 kB / 3.201 GB, free: 326.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/6.518, allocations: 1.482 MB / 3.202 GB, free: 325.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/6.519, allocations: 0.5889 MB / 3.203 GB, free: 324.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/6.519, allocations: 0 / 3.203 GB, free: 324.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001468/6.519, allocations: 394 kB / 3.203 GB, free: 324.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/6.52, allocations: 1.023 MB / 3.204 GB, free: 323.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/6.522, allocations: 1.609 MB / 3.206 GB, free: 321.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/6.524, allocations: 1.403 MB / 3.207 GB, free: 319.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/6.524, allocations: 4 kB / 3.207 GB, free: 319.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007497/6.531, allocations: 3.9 MB / 3.211 GB, free: 315.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001841/6.533, allocations: 5.847 MB / 3.217 GB, free: 309.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/6.533, allocations: 12.09 kB / 3.217 GB, free: 309.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/6.537, allocations: 1.102 MB / 3.218 GB, free: 308.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/6.539, allocations: 487.2 kB / 3.218 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006945/6.546, allocations: 5.581 MB / 3.224 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/6.549, allocations: 171.6 kB / 3.224 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/6.549, allocations: 91.97 kB / 3.224 GB, free: 302 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/6.549, allocations: 4 kB / 3.224 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003459/6.552, allocations: 2.324 MB / 3.226 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/6.553, allocations: 16 kB / 3.226 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/6.553, allocations: 31.94 kB / 3.226 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/6.554, allocations: 0.5187 MB / 3.227 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/6.554, allocations: 36.17 kB / 3.227 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/6.556, allocations: 127.5 kB / 3.227 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/6.556, allocations: 92.09 kB / 3.227 GB, free: 298.9 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: 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.0005074/6.557, allocations: 166.1 kB / 3.227 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007203/6.564, allocations: 3.486 MB / 3.231 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/6.565, allocations: 217.3 kB / 3.231 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0081/6.573, allocations: 3.662 MB / 3.234 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/6.573, allocations: 24 kB / 3.235 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/6.573, allocations: 4 kB / 3.235 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/6.573, allocations: 11.97 kB / 3.235 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/6.591, allocations: 8.559 MB / 3.243 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/6.591, allocations: 4.75 kB / 3.243 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/6.592, allocations: 339.4 kB / 3.243 GB, free: 282.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004521/6.597, allocations: 1.385 MB / 3.245 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/6.597, allocations: 23.98 kB / 3.245 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/6.608, allocations: 7.853 MB / 3.252 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/6.608, allocations: 11.94 kB / 3.252 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009752/6.618, allocations: 4.291 MB / 3.256 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/6.62, allocations: 0.6348 MB / 3.257 GB, free: 267.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008989/6.62, allocations: 15.94 kB / 3.257 GB, free: 267.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/6.623, allocations: 199.7 kB / 3.257 GB, free: 267.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005019/6.623, allocations: 153.7 kB / 3.257 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/6.624, allocations: 63.98 kB / 3.257 GB, free: 267 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002851/6.626, allocations: 1.272 MB / 3.259 GB, free: 265.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/6.626, allocations: 4 kB / 3.259 GB, free: 265.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006885/6.633, allocations: 1.16 MB / 3.26 GB, free: 264.6 MB / 1.151 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.01081/6.644, allocations: 7.131 MB / 3.267 GB, free: 257.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007153/6.651, allocations: 4.122 MB / 3.271 GB, free: 253.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/6.651, allocations: 4.125 kB / 3.271 GB, free: 253.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003219/6.655, allocations: 1.776 MB / 3.273 GB, free: 251.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/6.658, allocations: 0.5147 MB / 3.273 GB, free: 251 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/6.675, allocations: 5.929 MB / 3.279 GB, free: 245 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/6.678, allocations: 2.454 MB / 3.281 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005145/6.684, allocations: 1.301 MB / 3.283 GB, free: 241.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/6.686, allocations: 1.206 MB / 3.284 GB, free: 240 MB / 1.151 GB Notification: Performance of SimCode: time 2.354e-06/6.686, allocations: 0 / 3.284 GB, free: 240 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/6.802, allocations: 63.78 MB / 3.346 GB, free: 176.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/6.802, allocations: 207.6 kB / 3.346 GB, free: 176.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.823/10.63, allocations: 0 / 3.346 GB, free: 176.2 MB / 1.151 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