Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 249.3 MB / 261.8 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001042, allocations: 82.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.124e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1872, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.7/4.887, allocations: 2.225 GB / 3.117 GB, free: 105 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/4.888, allocations: 107.3 kB / 3.117 GB, free: 105 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1401/5.028, allocations: 63.13 MB / 3.178 GB, free: 44.08 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.813e-06/5.028, allocations: 0 / 3.178 GB, free: 44.08 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001113/5.028, allocations: 43.88 kB / 3.178 GB, free: 44.04 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002409/5.031, allocations: 1.366 MB / 3.18 GB, free: 42.62 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/5.031, allocations: 8.031 kB / 3.18 GB, free: 42.61 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/5.032, allocations: 305.9 kB / 3.18 GB, free: 42.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/5.033, allocations: 0.83 MB / 3.181 GB, free: 41.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/5.033, allocations: 78.11 kB / 3.181 GB, free: 41.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/5.034, allocations: 107.9 kB / 3.181 GB, free: 41.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/5.036, allocations: 1.26 MB / 3.182 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/5.036, allocations: 3.938 kB / 3.182 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/5.036, allocations: 44 kB / 3.182 GB, free: 39.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.367e-05/5.036, allocations: 61.92 kB / 3.182 GB, free: 39.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/5.038, allocations: 1.409 MB / 3.184 GB, free: 38.39 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/5.042, allocations: 4.725 MB / 3.188 GB, free: 33.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/5.044, allocations: 0.9725 MB / 3.189 GB, free: 32.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/5.044, allocations: 408 kB / 3.19 GB, free: 32.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/5.045, allocations: 121.9 kB / 3.19 GB, free: 31.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007065/5.045, allocations: 0.5612 MB / 3.19 GB, free: 31.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.196e-06/5.045, allocations: 0 / 3.19 GB, free: 31.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002383/5.048, allocations: 1.43 MB / 3.192 GB, free: 29.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/5.048, allocations: 299.4 kB / 3.192 GB, free: 29.49 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/5.049, allocations: 0.8604 MB / 3.193 GB, free: 28.61 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/5.049, allocations: 45.7 kB / 3.193 GB, free: 28.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/5.049, allocations: 0.5389 MB / 3.193 GB, free: 28.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/5.049, allocations: 319.4 kB / 3.194 GB, free: 27.69 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/5.049, allocations: 20 kB / 3.194 GB, free: 27.67 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/5.05, allocations: 341.9 kB / 3.194 GB, free: 27.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/5.05, allocations: 325.9 kB / 3.194 GB, free: 27.01 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/5.051, allocations: 0.5176 MB / 3.195 GB, free: 26.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/5.051, allocations: 409.9 kB / 3.195 GB, free: 26.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.051, allocations: 0 / 3.195 GB, free: 26.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00182/5.053, allocations: 1.132 MB / 3.196 GB, free: 24.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/5.053, allocations: 1.145 MB / 3.197 GB, free: 23.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/5.053, allocations: 0 / 3.197 GB, free: 23.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008555/5.054, allocations: 220.5 kB / 3.198 GB, free: 23.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/5.055, allocations: 199.7 kB / 3.198 GB, free: 23.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/5.055, allocations: 0.6382 MB / 3.198 GB, free: 22.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/5.056, allocations: 111.5 kB / 3.199 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/5.056, allocations: 47.86 kB / 3.199 GB, free: 22.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/5.056, allocations: 4 kB / 3.199 GB, free: 22.41 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/5.057, allocations: 0.8306 MB / 3.199 GB, free: 21.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/5.057, allocations: 11.97 kB / 3.199 GB, free: 21.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/5.057, allocations: 8 kB / 3.199 GB, free: 21.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/5.058, allocations: 211.7 kB / 3.2 GB, free: 21.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/5.058, allocations: 8 kB / 3.2 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/5.059, allocations: 99.38 kB / 3.2 GB, free: 21.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/5.059, allocations: 35.98 kB / 3.2 GB, free: 21.21 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/5.059, allocations: 158.2 kB / 3.2 GB, free: 21.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/5.059, allocations: 114.6 kB / 3.2 GB, free: 20.94 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/5.062, allocations: 1.357 MB / 3.201 GB, free: 19.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/5.062, allocations: 12 kB / 3.201 GB, free: 19.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/5.062, allocations: 0 / 3.201 GB, free: 19.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/5.062, allocations: 7.969 kB / 3.201 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/5.066, allocations: 2.688 MB / 3.204 GB, free: 16.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/5.066, allocations: 0 / 3.204 GB, free: 16.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/5.066, allocations: 195.7 kB / 3.204 GB, free: 16.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007482/5.067, allocations: 208.8 kB / 3.204 GB, free: 16.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/5.067, allocations: 27.98 kB / 3.204 GB, free: 16.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/5.069, allocations: 1.823 MB / 3.206 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/5.069, allocations: 0 / 3.206 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/5.071, allocations: 1.437 MB / 3.208 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/5.071, allocations: 359.2 kB / 3.208 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/5.071, allocations: 27.94 kB / 3.208 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/5.072, allocations: 95.91 kB / 3.208 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/5.072, allocations: 76.83 kB / 3.208 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/5.072, allocations: 39.98 kB / 3.208 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008158/5.073, allocations: 0.6918 MB / 3.209 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.323e-06/5.073, allocations: 0 / 3.209 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001465/5.075, allocations: 0.4998 MB / 3.209 GB, free: 11.07 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (105): * Single equations (assignments): 102 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/5.076, allocations: 0.5618 MB / 3.21 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002015/5.078, allocations: 1.381 MB / 3.211 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/5.078, allocations: 4.062 kB / 3.211 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/5.079, allocations: 0.6328 MB / 3.212 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/5.08, allocations: 299.1 kB / 3.212 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/5.083, allocations: 1.801 MB / 3.214 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/5.083, allocations: 1.214 MB / 3.215 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001575/5.085, allocations: 0.5936 MB / 3.216 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/5.085, allocations: 91.41 kB / 3.216 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of SimCode: time 8.72e-07/5.085, allocations: 0 / 3.216 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of Templates: time 0.5487/5.634, allocations: 18.28 MB / 3.234 GB, free: 270.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches