Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.346/2.346, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001041/0.001041, allocations: 181.1 kB / 498.1 MB, free: 5.758 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.596/1.596, allocations: 223.2 MB / 0.7949 GB, free: 17.94 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.001117/0.001117, allocations: 100.3 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 13.09 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3214, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/5, allocations: 1.766 GB / 2.989 GB, free: 219.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/5, allocations: 117.8 kB / 2.989 GB, free: 219.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1531/5.153, allocations: 69.18 MB / 3.057 GB, free: 160.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.224e-06/5.153, allocations: 4 kB / 3.057 GB, free: 160.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001617/5.154, allocations: 35.94 kB / 3.057 GB, free: 160.5 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003704/5.157, allocations: 1.577 MB / 3.058 GB, free: 159 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/5.157, allocations: 8.031 kB / 3.058 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/5.159, allocations: 301.9 kB / 3.058 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/5.161, allocations: 0.8399 MB / 3.059 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/5.161, allocations: 78.95 kB / 3.059 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/5.161, allocations: 104.9 kB / 3.059 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/5.164, allocations: 1.304 MB / 3.061 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/5.164, allocations: 3.906 kB / 3.061 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/5.164, allocations: 54.38 kB / 3.061 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/5.164, allocations: 56.3 kB / 3.061 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/5.166, allocations: 1.469 MB / 3.062 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006364/5.173, allocations: 4.758 MB / 3.067 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/5.174, allocations: 1.021 MB / 3.068 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/5.175, allocations: 124.5 kB / 3.068 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008164/5.175, allocations: 0.5772 MB / 3.069 GB, free: 150.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 2.926e-06/5.175, allocations: 0 / 3.069 GB, free: 150.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.004316/5.18, allocations: 2.041 MB / 3.071 GB, free: 148.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/5.18, allocations: 303.9 kB / 3.071 GB, free: 147.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/5.181, allocations: 0.8882 MB / 3.072 GB, free: 146.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/5.181, allocations: 41.7 kB / 3.072 GB, free: 146.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/5.182, allocations: 0.5427 MB / 3.072 GB, free: 146.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/5.182, allocations: 323.3 kB / 3.073 GB, free: 145.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/5.182, allocations: 16 kB / 3.073 GB, free: 145.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/5.182, allocations: 345.9 kB / 3.073 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/5.183, allocations: 349.8 kB / 3.073 GB, free: 145.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/5.183, allocations: 0.5373 MB / 3.074 GB, free: 144.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/5.184, allocations: 438.8 kB / 3.074 GB, free: 144.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/5.184, allocations: 4 kB / 3.074 GB, free: 144.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002211/5.186, allocations: 1.18 MB / 3.075 GB, free: 143 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/5.187, allocations: 1.142 MB / 3.076 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/5.187, allocations: 8 kB / 3.076 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008955/5.187, allocations: 216.6 kB / 3.077 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/5.188, allocations: 203.7 kB / 3.077 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004929/5.189, allocations: 0.6537 MB / 3.078 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/5.19, allocations: 103.3 kB / 3.078 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/5.19, allocations: 43.97 kB / 3.078 GB, free: 140.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/5.19, allocations: 8.062 kB / 3.078 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/5.191, allocations: 0.8785 MB / 3.079 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/5.191, allocations: 4 kB / 3.079 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/5.191, allocations: 8 kB / 3.079 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/5.192, allocations: 211.7 kB / 3.079 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/5.192, allocations: 8 kB / 3.079 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/5.193, allocations: 99.59 kB / 3.079 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/5.193, allocations: 39.98 kB / 3.079 GB, free: 139.3 MB / 1.167 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 () * Number of clocked 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.0007485/5.194, allocations: 425.4 kB / 3.079 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/5.194, allocations: 114.6 kB / 3.079 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/5.197, allocations: 1.392 MB / 3.081 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/5.197, allocations: 12 kB / 3.081 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/5.197, allocations: 3.953 kB / 3.081 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/5.197, allocations: 3.984 kB / 3.081 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005435/5.202, allocations: 2.742 MB / 3.083 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/5.202, allocations: 0 / 3.083 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/5.203, allocations: 191.7 kB / 3.084 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008419/5.204, allocations: 212.8 kB / 3.084 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/5.204, allocations: 31.98 kB / 3.084 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/5.206, allocations: 1.87 MB / 3.086 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/5.206, allocations: 0 / 3.086 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/5.209, allocations: 1.497 MB / 3.087 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/5.21, allocations: 359.2 kB / 3.088 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/5.21, allocations: 27.94 kB / 3.088 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009476/5.211, allocations: 91.91 kB / 3.088 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/5.211, allocations: 80.83 kB / 3.088 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/5.211, allocations: 32.08 kB / 3.088 GB, free: 129.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001042/5.212, allocations: 0.7153 MB / 3.088 GB, free: 129.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/5.212, allocations: 0 / 3.088 GB, free: 129.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00199/5.214, allocations: 0.5232 MB / 3.089 GB, free: 128.6 MB / 1.167 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) * Number of clocked states: 0 () * 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.001711/5.216, allocations: 0.7057 MB / 3.09 GB, free: 128.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002558/5.219, allocations: 1.429 MB / 3.091 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/5.219, allocations: 0 / 3.091 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/5.22, allocations: 0.649 MB / 3.092 GB, free: 126.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/5.221, allocations: 301.2 kB / 3.092 GB, free: 125.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/5.226, allocations: 2.862 MB / 3.095 GB, free: 122.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/5.227, allocations: 1.213 MB / 3.096 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001561/5.228, allocations: 460.3 kB / 3.096 GB, free: 121.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/5.229, allocations: 119.4 kB / 3.096 GB, free: 121 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/5.229, allocations: 0 / 3.096 GB, free: 121 MB / 1.167 GB Notification: Performance of Templates: time 0.0291/5.258, allocations: 17.04 MB / 3.113 GB, free: 104.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches