Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.S.1.|sen.V|sen.I|tur.vWin|tur.vIn",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.S.1.|sen.V|sen.I|tur.vWin|tur.vIn",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001151/0.001151, allocations: 177.1 kB / 498.1 MB, free: 5.73 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.674/1.674, allocations: 223.2 MB / 0.7949 GB, free: 17.9 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.001029/0.001029, allocations: 94.86 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004377, allocations: 7.781 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3743, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.105/5.479, allocations: 1.761 GB / 2.984 GB, free: 258.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/5.479, allocations: 103.9 kB / 2.984 GB, free: 258.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1321/5.612, allocations: 56.74 MB / 3.039 GB, free: 201.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.877e-06/5.612, allocations: 0 / 3.039 GB, free: 201.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001788/5.612, allocations: 35.98 kB / 3.039 GB, free: 201.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004383/5.616, allocations: 1.48 MB / 3.041 GB, free: 199.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/5.616, allocations: 19.91 kB / 3.041 GB, free: 199.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/5.618, allocations: 286.2 kB / 3.041 GB, free: 199.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/5.62, allocations: 0.7988 MB / 3.042 GB, free: 198.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/5.621, allocations: 74 kB / 3.042 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/5.621, allocations: 99.98 kB / 3.042 GB, free: 198.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/5.624, allocations: 1.154 MB / 3.043 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/5.624, allocations: 3.938 kB / 3.043 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/5.624, allocations: 40 kB / 3.043 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/5.624, allocations: 53.98 kB / 3.043 GB, free: 197 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/5.626, allocations: 1.299 MB / 3.044 GB, free: 195.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006236/5.632, allocations: 4.397 MB / 3.049 GB, free: 191.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/5.634, allocations: 0.815 MB / 3.049 GB, free: 190.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/5.634, allocations: 32.69 kB / 3.049 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008529/5.635, allocations: 477.7 kB / 3.05 GB, free: 189.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 4.097e-06/5.635, allocations: 0 / 3.05 GB, free: 189.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.002045/5.637, allocations: 1.085 MB / 3.051 GB, free: 188.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/5.637, allocations: 354.8 kB / 3.051 GB, free: 188.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/5.638, allocations: 0.8881 MB / 3.052 GB, free: 187.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/5.638, allocations: 41.69 kB / 3.052 GB, free: 187.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/5.639, allocations: 0.5271 MB / 3.053 GB, free: 186.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/5.639, allocations: 264.1 kB / 3.053 GB, free: 186.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/5.639, allocations: 16 kB / 3.053 GB, free: 186.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/5.639, allocations: 345.8 kB / 3.053 GB, free: 186.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/5.64, allocations: 253.9 kB / 3.054 GB, free: 185.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/5.64, allocations: 441.3 kB / 3.054 GB, free: 185.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/5.641, allocations: 318.8 kB / 3.054 GB, free: 185 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/5.641, allocations: 0 / 3.054 GB, free: 185 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001391/5.642, allocations: 0.8252 MB / 3.055 GB, free: 184.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/5.642, allocations: 0.9716 MB / 3.056 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/5.642, allocations: 0 / 3.056 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/5.643, allocations: 28.84 kB / 3.056 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/5.643, allocations: 175.7 kB / 3.056 GB, free: 183 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002962/5.644, allocations: 0.5368 MB / 3.057 GB, free: 182.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/5.644, allocations: 99.33 kB / 3.057 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/5.645, allocations: 39.98 kB / 3.057 GB, free: 182.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/5.645, allocations: 7.953 kB / 3.057 GB, free: 182.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/5.646, allocations: 0.691 MB / 3.058 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/5.646, allocations: 0 / 3.058 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/5.646, allocations: 11.98 kB / 3.058 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/5.646, allocations: 171.8 kB / 3.058 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/5.646, allocations: 7.938 kB / 3.058 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/5.647, allocations: 107.4 kB / 3.058 GB, free: 181.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/5.647, allocations: 35.98 kB / 3.058 GB, free: 181.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007257/5.648, allocations: 395 kB / 3.058 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/5.648, allocations: 110.6 kB / 3.058 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/5.65, allocations: 1.001 MB / 3.059 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/5.65, allocations: 8 kB / 3.059 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/5.65, allocations: 0 / 3.059 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/5.65, allocations: 3.984 kB / 3.059 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/5.652, allocations: 1.355 MB / 3.061 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/5.652, allocations: 7.984 kB / 3.061 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/5.652, allocations: 155.9 kB / 3.061 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/5.652, allocations: 24.84 kB / 3.061 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/5.652, allocations: 23.98 kB / 3.061 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008161/5.653, allocations: 1.295 MB / 3.062 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/5.653, allocations: 0 / 3.062 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/5.655, allocations: 0.9001 MB / 3.063 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/5.655, allocations: 327.4 kB / 3.063 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/5.655, allocations: 23.94 kB / 3.063 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/5.656, allocations: 71.95 kB / 3.063 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/5.656, allocations: 64.91 kB / 3.063 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/5.656, allocations: 35.92 kB / 3.063 GB, free: 175.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008979/5.657, allocations: 0.7033 MB / 3.064 GB, free: 174.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/5.657, allocations: 0 / 3.064 GB, free: 174.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001681/5.659, allocations: 0.5801 MB / 3.065 GB, free: 173.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/5.66, allocations: 0.665 MB / 3.065 GB, free: 173.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001986/5.662, allocations: 1.053 MB / 3.066 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/5.662, allocations: 0 / 3.066 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/5.663, allocations: 0.4895 MB / 3.067 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/5.665, allocations: 293.5 kB / 3.067 GB, free: 171.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/5.668, allocations: 2.524 MB / 3.07 GB, free: 169 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/5.669, allocations: 1.165 MB / 3.071 GB, free: 167.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001338/5.67, allocations: 407.7 kB / 3.071 GB, free: 167.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/5.671, allocations: 111.4 kB / 3.071 GB, free: 167.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.483e-06/5.671, allocations: 4 kB / 3.071 GB, free: 167.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02757/5.698, allocations: 14.96 MB / 3.086 GB, free: 152.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_WindTurbine.csv","../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches