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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.5 MB / 398 MB, free: 10.98 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.001126/0.001126, allocations: 188 kB / 491.2 MB, free: 1.594 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.577/1.577, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001026/0.001026, allocations: 97.77 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.614e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2946, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.794/5.089, allocations: 1.791 GB / 3.004 GB, free: 83.46 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/5.089, allocations: 103.9 kB / 3.004 GB, free: 83.36 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.207/6.296, allocations: 153.6 MB / 3.154 GB, free: 367 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.575e-06/6.296, allocations: 0 / 3.154 GB, free: 367 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002181/6.297, allocations: 74.22 kB / 3.154 GB, free: 367 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.006964/6.304, allocations: 3.028 MB / 3.157 GB, free: 365.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/6.304, allocations: 11.59 kB / 3.157 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/6.309, allocations: 0.8332 MB / 3.158 GB, free: 365.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/6.314, allocations: 2.136 MB / 3.16 GB, free: 364 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/6.314, allocations: 100.7 kB / 3.16 GB, free: 364 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007943/6.315, allocations: 180 kB / 3.16 GB, free: 364 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006234/6.321, allocations: 3.477 MB / 3.163 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00662/6.328, allocations: 3.853 MB / 3.167 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.897e-05/6.328, allocations: 3.562 kB / 3.167 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/6.328, allocations: 7.812 kB / 3.167 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/6.329, allocations: 169.8 kB / 3.167 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/6.35, allocations: 17.85 MB / 3.185 GB, free: 348 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/6.352, allocations: 1.683 MB / 3.186 GB, free: 347.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/6.354, allocations: 0.8833 MB / 3.187 GB, free: 346.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/6.354, allocations: 130.8 kB / 3.187 GB, free: 346.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/6.355, allocations: 1.026 MB / 3.188 GB, free: 345.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 3.086e-06/6.355, allocations: 0 / 3.188 GB, free: 345.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=182): time 0.01605/6.371, allocations: 10.43 MB / 3.199 GB, free: 339.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/6.371, allocations: 0.5792 MB / 3.199 GB, free: 338.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/6.374, allocations: 1.685 MB / 3.201 GB, free: 337.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002957/6.374, allocations: 33.42 kB / 3.201 GB, free: 337.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/6.376, allocations: 1.471 MB / 3.202 GB, free: 336.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/6.376, allocations: 0.589 MB / 3.203 GB, free: 335.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/6.376, allocations: 3.938 kB / 3.203 GB, free: 335.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001188/6.376, allocations: 386 kB / 3.203 GB, free: 335.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/6.377, allocations: 1.031 MB / 3.204 GB, free: 334.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/6.379, allocations: 1.605 MB / 3.206 GB, free: 332.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/6.381, allocations: 1.407 MB / 3.207 GB, free: 330.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/6.381, allocations: 4 kB / 3.207 GB, free: 330.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006962/6.388, allocations: 3.92 MB / 3.211 GB, free: 327 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/6.389, allocations: 5.831 MB / 3.217 GB, free: 320.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/6.389, allocations: 16 kB / 3.217 GB, free: 320.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/6.392, allocations: 1.092 MB / 3.218 GB, free: 319.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/6.394, allocations: 483.2 kB / 3.218 GB, free: 319.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/6.401, allocations: 5.59 MB / 3.224 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/6.403, allocations: 171.5 kB / 3.224 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/6.404, allocations: 91.97 kB / 3.224 GB, free: 313.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/6.404, allocations: 4 kB / 3.224 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004025/6.408, allocations: 2.324 MB / 3.226 GB, free: 310.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/6.408, allocations: 12.19 kB / 3.226 GB, free: 310.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/6.408, allocations: 35.98 kB / 3.226 GB, free: 310.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/6.41, allocations: 0.5187 MB / 3.227 GB, free: 310.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.062e-05/6.41, allocations: 27.94 kB / 3.227 GB, free: 310.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/6.412, allocations: 123.6 kB / 3.227 GB, free: 310 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/6.412, allocations: 91.97 kB / 3.227 GB, free: 309.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.0006007/6.412, allocations: 171.8 kB / 3.227 GB, free: 309.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/6.413, allocations: 221.3 kB / 3.227 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007697/6.421, allocations: 3.655 MB / 3.231 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/6.421, allocations: 20 kB / 3.231 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/6.421, allocations: 8 kB / 3.231 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/6.421, allocations: 15.97 kB / 3.231 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/6.435, allocations: 8.572 MB / 3.239 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/6.435, allocations: 8 kB / 3.239 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/6.436, allocations: 331.5 kB / 3.24 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004204/6.44, allocations: 1.38 MB / 3.241 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/6.441, allocations: 27.98 kB / 3.241 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009022/6.45, allocations: 7.85 MB / 3.249 GB, free: 287.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/6.45, allocations: 10.62 kB / 3.249 GB, free: 287.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007747/6.457, allocations: 4.291 MB / 3.253 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/6.459, allocations: 0.6385 MB / 3.254 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/6.459, allocations: 16 kB / 3.254 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/6.461, allocations: 199.6 kB / 3.254 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/6.462, allocations: 153.6 kB / 3.254 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/6.462, allocations: 67.97 kB / 3.254 GB, free: 281.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002506/6.464, allocations: 1.272 MB / 3.255 GB, free: 280.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.464, allocations: 0 / 3.255 GB, free: 280.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004664/6.469, allocations: 1.156 MB / 3.256 GB, free: 279.2 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.001737/6.471, allocations: 0.7475 MB / 3.257 GB, free: 278.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005784/6.477, allocations: 4.124 MB / 3.261 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/6.477, allocations: 2.688 kB / 3.261 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/6.479, allocations: 1.772 MB / 3.263 GB, free: 272.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/6.482, allocations: 0.5135 MB / 3.263 GB, free: 272.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00833/6.49, allocations: 5.1 MB / 3.268 GB, free: 267 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/6.492, allocations: 2.454 MB / 3.271 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003644/6.496, allocations: 1.312 MB / 3.272 GB, free: 263.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/6.496, allocations: 151.3 kB / 3.272 GB, free: 263 MB / 1.151 GB Notification: Performance of SimCode: time 1.163e-06/6.496, allocations: 0 / 3.272 GB, free: 263 MB / 1.151 GB Notification: Performance of Templates: time 0.05892/6.555, allocations: 40.68 MB / 3.312 GB, free: 222.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (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 & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches