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.323/2.323, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001553/0.001553, allocations: 175.9 kB / 492.3 MB, free: 0.6211 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.641/1.641, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008909/0.0008906, allocations: 99.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.42e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2893, allocations: 142.4 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.695/4.985, allocations: 1.791 GB / 3.004 GB, free: 48.63 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/4.985, allocations: 104.2 kB / 3.004 GB, free: 48.57 MB / 1.151 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 1.107/6.092, allocations: 160.9 MB / 3.161 GB, free: 354 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.024e-06/6.092, allocations: 0 / 3.161 GB, free: 354 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002955/6.093, allocations: 83.92 kB / 3.161 GB, free: 353.9 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.009861/6.102, allocations: 3.036 MB / 3.164 GB, free: 350.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/6.103, allocations: 8.031 kB / 3.164 GB, free: 350.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001465/6.104, allocations: 458.7 kB / 3.164 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/6.109, allocations: 0.8306 MB / 3.165 GB, free: 349.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/6.114, allocations: 2.13 MB / 3.167 GB, free: 347.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/6.115, allocations: 230.1 kB / 3.168 GB, free: 347.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008649/6.115, allocations: 304 kB / 3.168 GB, free: 346.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007845/6.123, allocations: 4.281 MB / 3.172 GB, free: 342.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/6.123, allocations: 15.83 kB / 3.172 GB, free: 342.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/6.124, allocations: 132 kB / 3.172 GB, free: 342.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/6.124, allocations: 166 kB / 3.172 GB, free: 342.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005657/6.13, allocations: 3.896 MB / 3.176 GB, free: 338.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02092/6.151, allocations: 18.62 MB / 3.194 GB, free: 318.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/6.153, allocations: 1.749 MB / 3.196 GB, free: 316.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/6.154, allocations: 0.9297 MB / 3.197 GB, free: 315.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/6.154, allocations: 134.4 kB / 3.197 GB, free: 315.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/6.155, allocations: 1.068 MB / 3.198 GB, free: 314.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 4.258e-06/6.155, allocations: 0 / 3.198 GB, free: 314.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=182): time 0.02279/6.178, allocations: 12.04 MB / 3.21 GB, free: 302 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/6.178, allocations: 0.5847 MB / 3.21 GB, free: 301.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/6.181, allocations: 1.852 MB / 3.212 GB, free: 299.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003014/6.181, allocations: 61.7 kB / 3.212 GB, free: 299.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/6.182, allocations: 1.475 MB / 3.214 GB, free: 297.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/6.183, allocations: 0.6163 MB / 3.214 GB, free: 297.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/6.183, allocations: 43.94 kB / 3.214 GB, free: 297.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001067/6.183, allocations: 386 kB / 3.215 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/6.184, allocations: 1.066 MB / 3.216 GB, free: 295.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/6.186, allocations: 1.656 MB / 3.217 GB, free: 293.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/6.187, allocations: 1.364 MB / 3.219 GB, free: 292.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/6.188, allocations: 7.938 kB / 3.219 GB, free: 292.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007729/6.195, allocations: 4.181 MB / 3.223 GB, free: 288.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/6.196, allocations: 5.88 MB / 3.229 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/6.196, allocations: 19.94 kB / 3.229 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004641/6.201, allocations: 1.444 MB / 3.23 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/6.203, allocations: 475.2 kB / 3.23 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/6.21, allocations: 5.859 MB / 3.236 GB, free: 273.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/6.213, allocations: 207.7 kB / 3.236 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/6.214, allocations: 91.97 kB / 3.236 GB, free: 273.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/6.214, allocations: 4 kB / 3.236 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006931/6.221, allocations: 3.467 MB / 3.24 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/6.221, allocations: 12 kB / 3.24 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/6.223, allocations: 0.8969 MB / 3.241 GB, free: 269.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/6.226, allocations: 495.2 kB / 3.241 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/6.232, allocations: 4.866 MB / 3.246 GB, free: 263.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/6.234, allocations: 175.8 kB / 3.246 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004147/6.235, allocations: 87.98 kB / 3.246 GB, free: 263.5 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.0008617/6.235, allocations: 245.6 kB / 3.246 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007373/6.236, allocations: 221.3 kB / 3.247 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/6.244, allocations: 3.753 MB / 3.25 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/6.245, allocations: 20 kB / 3.25 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/6.245, allocations: 8 kB / 3.25 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/6.245, allocations: 11.97 kB / 3.25 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/6.261, allocations: 9.28 MB / 3.259 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/6.261, allocations: 4 kB / 3.259 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/6.262, allocations: 335.5 kB / 3.26 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004595/6.267, allocations: 1.403 MB / 3.261 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/6.267, allocations: 43.98 kB / 3.261 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009783/6.277, allocations: 8.231 MB / 3.269 GB, free: 239.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/6.277, allocations: 8 kB / 3.269 GB, free: 239.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007666/6.284, allocations: 4.382 MB / 3.273 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/6.286, allocations: 0.6425 MB / 3.274 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006568/6.286, allocations: 40 kB / 3.274 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/6.288, allocations: 187.8 kB / 3.274 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/6.288, allocations: 153.6 kB / 3.274 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/6.289, allocations: 63.98 kB / 3.275 GB, free: 233.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002255/6.291, allocations: 1.44 MB / 3.276 GB, free: 232.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.291, allocations: 0 / 3.276 GB, free: 232.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004524/6.295, allocations: 1.304 MB / 3.277 GB, free: 230.9 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.009377/6.305, allocations: 7.249 MB / 3.284 GB, free: 223.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00796/6.313, allocations: 4.839 MB / 3.289 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/6.313, allocations: 7.938 kB / 3.289 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003025/6.316, allocations: 1.834 MB / 3.291 GB, free: 217 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/6.319, allocations: 0.5639 MB / 3.291 GB, free: 216.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/6.333, allocations: 6.146 MB / 3.297 GB, free: 210.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/6.335, allocations: 2.466 MB / 3.3 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004007/6.339, allocations: 1.309 MB / 3.301 GB, free: 206.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/6.34, allocations: 1.202 MB / 3.302 GB, free: 205.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/6.341, allocations: 0 / 3.302 GB, free: 205.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/6.446, allocations: 70.53 MB / 3.371 GB, free: 135.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/6.447, allocations: 258.2 kB / 3.371 GB, free: 134.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.019/10.47, allocations: 0 / 3.371 GB, free: 134.7 MB / 1.151 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