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.259/2.259, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001035/0.001035, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.511/1.511, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009091, allocations: 93.58 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.123e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.61/4.93, allocations: 1.791 GB / 2.997 GB, free: 91.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/4.931, allocations: 103.9 kB / 2.997 GB, free: 91.2 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.195/6.125, allocations: 153.6 MB / 3.147 GB, free: 369.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.274e-06/6.125, allocations: 0 / 3.147 GB, free: 369.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000282/6.125, allocations: 85.41 kB / 3.147 GB, free: 369.3 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.009399/6.135, allocations: 3.029 MB / 3.15 GB, free: 367.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/6.135, allocations: 12.12 kB / 3.15 GB, free: 367.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/6.14, allocations: 0.8388 MB / 3.151 GB, free: 367.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005205/6.145, allocations: 2.134 MB / 3.153 GB, free: 366.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/6.145, allocations: 99.84 kB / 3.153 GB, free: 366.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005512/6.146, allocations: 176 kB / 3.153 GB, free: 366.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006007/6.152, allocations: 3.484 MB / 3.156 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006167/6.158, allocations: 3.846 MB / 3.16 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/6.158, allocations: 7.625 kB / 3.16 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/6.159, allocations: 10.53 kB / 3.16 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/6.159, allocations: 169.5 kB / 3.16 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/6.177, allocations: 17.86 MB / 3.178 GB, free: 350.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/6.179, allocations: 1.679 MB / 3.179 GB, free: 349.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/6.18, allocations: 0.8798 MB / 3.18 GB, free: 349.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/6.18, allocations: 130.3 kB / 3.18 GB, free: 349.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/6.182, allocations: 1.022 MB / 3.181 GB, free: 348.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 3.938e-06/6.182, allocations: 0 / 3.181 GB, free: 348.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=182): time 0.01623/6.198, allocations: 10.43 MB / 3.192 GB, free: 343.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/6.198, allocations: 0.5824 MB / 3.192 GB, free: 342.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/6.201, allocations: 1.679 MB / 3.194 GB, free: 341.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/6.201, allocations: 32.05 kB / 3.194 GB, free: 341.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/6.202, allocations: 1.475 MB / 3.195 GB, free: 340.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/6.203, allocations: 0.5857 MB / 3.196 GB, free: 340.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/6.203, allocations: 0 / 3.196 GB, free: 340.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001326/6.203, allocations: 392.7 kB / 3.196 GB, free: 339.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/6.204, allocations: 1.032 MB / 3.197 GB, free: 339.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/6.206, allocations: 1.598 MB / 3.199 GB, free: 338.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/6.208, allocations: 1.403 MB / 3.2 GB, free: 337.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/6.208, allocations: 3.781 kB / 3.2 GB, free: 337.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007651/6.216, allocations: 3.913 MB / 3.204 GB, free: 336.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00139/6.217, allocations: 5.835 MB / 3.21 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/6.217, allocations: 18.88 kB / 3.21 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00414/6.221, allocations: 1.1 MB / 3.211 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/6.223, allocations: 477.7 kB / 3.211 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/6.23, allocations: 5.586 MB / 3.217 GB, free: 323.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/6.233, allocations: 175.5 kB / 3.217 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/6.234, allocations: 91.97 kB / 3.217 GB, free: 323.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/6.234, allocations: 4 kB / 3.217 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003502/6.237, allocations: 2.32 MB / 3.219 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/6.237, allocations: 16 kB / 3.219 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/6.237, allocations: 24 kB / 3.219 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/6.239, allocations: 0.5226 MB / 3.22 GB, free: 320.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/6.239, allocations: 36.2 kB / 3.22 GB, free: 320.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/6.241, allocations: 119.7 kB / 3.22 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/6.241, allocations: 99.92 kB / 3.22 GB, free: 320.4 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.0005751/6.242, allocations: 167 kB / 3.22 GB, free: 320.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007079/6.249, allocations: 3.493 MB / 3.224 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006694/6.25, allocations: 209.5 kB / 3.224 GB, free: 316.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007671/6.257, allocations: 3.658 MB / 3.227 GB, free: 312.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/6.257, allocations: 23.94 kB / 3.227 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/6.257, allocations: 8 kB / 3.227 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/6.257, allocations: 15.95 kB / 3.227 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/6.272, allocations: 8.567 MB / 3.236 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/6.272, allocations: 4.75 kB / 3.236 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/6.273, allocations: 339.5 kB / 3.236 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004492/6.277, allocations: 1.385 MB / 3.237 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/6.278, allocations: 23.98 kB / 3.237 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00945/6.287, allocations: 7.861 MB / 3.245 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/6.287, allocations: 11.94 kB / 3.245 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007554/6.295, allocations: 4.295 MB / 3.249 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/6.296, allocations: 0.627 MB / 3.25 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/6.296, allocations: 15.94 kB / 3.25 GB, free: 289 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/6.298, allocations: 199.7 kB / 3.25 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003557/6.299, allocations: 153.6 kB / 3.25 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/6.299, allocations: 59.98 kB / 3.25 GB, free: 288.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00173/6.3, allocations: 1.28 MB / 3.252 GB, free: 287.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/6.301, allocations: 3.938 kB / 3.252 GB, free: 287.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004106/6.305, allocations: 1.152 MB / 3.253 GB, free: 286.1 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.009244/6.314, allocations: 7.14 MB / 3.26 GB, free: 279 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006215/6.32, allocations: 4.119 MB / 3.264 GB, free: 274.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/6.32, allocations: 4.062 kB / 3.264 GB, free: 274.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002843/6.323, allocations: 1.776 MB / 3.265 GB, free: 273.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/6.326, allocations: 0.512 MB / 3.266 GB, free: 272.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/6.337, allocations: 5.93 MB / 3.272 GB, free: 266.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/6.339, allocations: 2.458 MB / 3.274 GB, free: 264 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003643/6.342, allocations: 1.299 MB / 3.275 GB, free: 262.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/6.344, allocations: 1.198 MB / 3.277 GB, free: 261.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.223e-06/6.344, allocations: 0 / 3.277 GB, free: 261.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0979/6.442, allocations: 63.79 MB / 3.339 GB, free: 198 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/6.442, allocations: 204.1 kB / 3.339 GB, free: 197.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.79/10.23, allocations: 0 / 3.339 GB, free: 197.8 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