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: 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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001709/0.001709, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.578/1.578, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0009532/0.0009536, allocations: 99.84 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.979e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2475, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.727/4.975, allocations: 1.791 GB / 2.997 GB, free: 68.06 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/4.975, allocations: 113.4 kB / 2.997 GB, free: 68 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.211/6.186, allocations: 153.6 MB / 3.147 GB, free: 372.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.924e-06/6.186, allocations: 3.938 kB / 3.147 GB, free: 372.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003962/6.187, allocations: 86.23 kB / 3.147 GB, free: 372.2 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.01042/6.197, allocations: 3.033 MB / 3.15 GB, free: 370.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/6.197, allocations: 17.56 kB / 3.15 GB, free: 370.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006177/6.203, allocations: 0.8238 MB / 3.151 GB, free: 369.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/6.21, allocations: 2.132 MB / 3.153 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/6.21, allocations: 99.12 kB / 3.153 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/6.212, allocations: 182.6 kB / 3.153 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008788/6.221, allocations: 3.481 MB / 3.156 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/6.234, allocations: 3.858 MB / 3.16 GB, free: 364.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/6.234, allocations: 0 / 3.16 GB, free: 364.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/6.235, allocations: 6.688 kB / 3.16 GB, free: 364.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002691/6.236, allocations: 165.7 kB / 3.16 GB, free: 364.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02899/6.265, allocations: 17.86 MB / 3.178 GB, free: 347.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/6.267, allocations: 1.684 MB / 3.179 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/6.268, allocations: 0.8752 MB / 3.18 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/6.268, allocations: 137.9 kB / 3.18 GB, free: 344.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/6.27, allocations: 1.023 MB / 3.181 GB, free: 343.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 5.701e-06/6.27, allocations: 0 / 3.181 GB, free: 343.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=182): time 0.02004/6.29, allocations: 10.43 MB / 3.191 GB, free: 333 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/6.29, allocations: 0.5808 MB / 3.192 GB, free: 332.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/6.292, allocations: 1.683 MB / 3.194 GB, free: 330.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003997/6.293, allocations: 25.7 kB / 3.194 GB, free: 330.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/6.294, allocations: 1.482 MB / 3.195 GB, free: 329 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005628/6.295, allocations: 0.5889 MB / 3.196 GB, free: 328.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/6.295, allocations: 0 / 3.196 GB, free: 328.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001425/6.295, allocations: 390 kB / 3.196 GB, free: 328.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/6.296, allocations: 1.023 MB / 3.197 GB, free: 327 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/6.298, allocations: 1.609 MB / 3.199 GB, free: 325.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/6.3, allocations: 1.399 MB / 3.2 GB, free: 323.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/6.3, allocations: 4 kB / 3.2 GB, free: 323.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007145/6.307, allocations: 3.909 MB / 3.204 GB, free: 319.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/6.308, allocations: 5.839 MB / 3.21 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/6.308, allocations: 16 kB / 3.21 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/6.312, allocations: 1.097 MB / 3.211 GB, free: 312.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/6.315, allocations: 475.2 kB / 3.211 GB, free: 311.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/6.322, allocations: 5.598 MB / 3.217 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/6.324, allocations: 171.6 kB / 3.217 GB, free: 306 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00057/6.325, allocations: 91.97 kB / 3.217 GB, free: 305.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/6.325, allocations: 4 kB / 3.217 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004559/6.33, allocations: 2.32 MB / 3.219 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/6.33, allocations: 20.12 kB / 3.219 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/6.33, allocations: 32 kB / 3.219 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/6.332, allocations: 0.5226 MB / 3.22 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.915e-05/6.332, allocations: 31.88 kB / 3.22 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/6.334, allocations: 123.6 kB / 3.22 GB, free: 302.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/6.334, allocations: 95.92 kB / 3.22 GB, free: 302.8 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.0005506/6.334, allocations: 166.5 kB / 3.22 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/6.335, allocations: 213.5 kB / 3.22 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007421/6.343, allocations: 3.658 MB / 3.224 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/6.343, allocations: 20 kB / 3.224 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/6.343, allocations: 4 kB / 3.224 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/6.343, allocations: 19.95 kB / 3.224 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/6.357, allocations: 8.564 MB / 3.232 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/6.357, allocations: 11.94 kB / 3.232 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/6.358, allocations: 331.5 kB / 3.233 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004572/6.363, allocations: 1.385 MB / 3.234 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002981/6.363, allocations: 23.98 kB / 3.234 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009892/6.373, allocations: 7.853 MB / 3.242 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/6.373, allocations: 11.94 kB / 3.242 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008712/6.382, allocations: 4.295 MB / 3.246 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/6.384, allocations: 0.6348 MB / 3.246 GB, free: 274.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008056/6.384, allocations: 15.98 kB / 3.246 GB, free: 274.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/6.387, allocations: 195.7 kB / 3.247 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004314/6.387, allocations: 153.6 kB / 3.247 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/6.387, allocations: 67.97 kB / 3.247 GB, free: 274.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002355/6.39, allocations: 1.272 MB / 3.248 GB, free: 273.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.663e-06/6.39, allocations: 0 / 3.248 GB, free: 273.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005718/6.395, allocations: 1.16 MB / 3.249 GB, free: 272 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.002114/6.398, allocations: 0.7545 MB / 3.25 GB, free: 271.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00641/6.404, allocations: 4.12 MB / 3.254 GB, free: 267.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/6.404, allocations: 6.688 kB / 3.254 GB, free: 267.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002923/6.407, allocations: 1.765 MB / 3.256 GB, free: 265.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/6.41, allocations: 0.5092 MB / 3.256 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/6.422, allocations: 5.107 MB / 3.261 GB, free: 259.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003336/6.425, allocations: 2.459 MB / 3.264 GB, free: 257.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006176/6.431, allocations: 1.305 MB / 3.265 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/6.432, allocations: 147.4 kB / 3.265 GB, free: 255.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.613e-06/6.432, allocations: 3.938 kB / 3.265 GB, free: 255.8 MB / 1.151 GB Notification: Performance of Templates: time 0.06435/6.496, allocations: 40.67 MB / 3.305 GB, free: 215.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (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 & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches