Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001577/0.001576, allocations: 183.9 kB / 0.4902 GB, free: 2.246 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.559/1.559, allocations: 223.2 MB / 0.7992 GB, free: 15.6 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.001049/0.001048, allocations: 110.7 kB / 0.9396 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004357, allocations: 9.156 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.631/4.96, allocations: 1.767 GB / 2.996 GB, free: 162.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/4.96, allocations: 118.7 kB / 2.996 GB, free: 162.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.241/5.201, allocations: 69.18 MB / 3.064 GB, free: 103.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/5.201, allocations: 0 / 3.064 GB, free: 103.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002037/5.201, allocations: 43.86 kB / 3.064 GB, free: 103.6 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.005125/5.207, allocations: 1.577 MB / 3.065 GB, free: 102 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/5.207, allocations: 12.56 kB / 3.065 GB, free: 102 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/5.209, allocations: 301.8 kB / 3.066 GB, free: 101.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/5.212, allocations: 0.8403 MB / 3.066 GB, free: 101 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/5.212, allocations: 84.25 kB / 3.066 GB, free: 100.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005078/5.213, allocations: 98.19 kB / 3.067 GB, free: 100.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/5.217, allocations: 1.307 MB / 3.068 GB, free: 99.85 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/5.217, allocations: 0 / 3.068 GB, free: 99.85 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/5.217, allocations: 55.62 kB / 3.068 GB, free: 99.83 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/5.217, allocations: 57.73 kB / 3.068 GB, free: 99.78 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/5.221, allocations: 1.469 MB / 3.069 GB, free: 98.66 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008652/5.229, allocations: 4.758 MB / 3.074 GB, free: 94.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/5.232, allocations: 1.01 MB / 3.075 GB, free: 93.79 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/5.232, allocations: 121.9 kB / 3.075 GB, free: 93.66 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/5.233, allocations: 0.5822 MB / 3.076 GB, free: 93.21 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 4.859e-06/5.233, allocations: 0 / 3.076 GB, free: 93.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.00615/5.24, allocations: 2.042 MB / 3.078 GB, free: 91.53 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/5.24, allocations: 295.7 kB / 3.078 GB, free: 91.17 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/5.242, allocations: 0.8875 MB / 3.079 GB, free: 90.49 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/5.242, allocations: 52.95 kB / 3.079 GB, free: 90.45 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000704/5.243, allocations: 0.5372 MB / 3.079 GB, free: 90.09 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/5.243, allocations: 319.1 kB / 3.08 GB, free: 89.82 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/5.243, allocations: 17.19 kB / 3.08 GB, free: 89.81 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/5.243, allocations: 340.4 kB / 3.08 GB, free: 89.49 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/5.244, allocations: 359.5 kB / 3.08 GB, free: 89.25 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/5.245, allocations: 0.5446 MB / 3.081 GB, free: 88.79 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/5.246, allocations: 433.3 kB / 3.081 GB, free: 88.53 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/5.246, allocations: 0 / 3.081 GB, free: 88.53 MB / 1.167 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003226/5.249, allocations: 1.194 MB / 3.082 GB, free: 87.62 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002791/5.25, allocations: 1.139 MB / 3.084 GB, free: 86.42 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/5.25, allocations: 4 kB / 3.084 GB, free: 86.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/5.251, allocations: 214.4 kB / 3.084 GB, free: 86.22 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/5.252, allocations: 208.8 kB / 3.084 GB, free: 86.02 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006815/5.253, allocations: 0.6493 MB / 3.085 GB, free: 85.38 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/5.254, allocations: 102.4 kB / 3.085 GB, free: 85.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/5.254, allocations: 35.42 kB / 3.085 GB, free: 85.27 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/5.254, allocations: 4 kB / 3.085 GB, free: 85.27 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002035/5.256, allocations: 0.8887 MB / 3.086 GB, free: 84.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.256, allocations: 8.031 kB / 3.086 GB, free: 84.61 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/5.256, allocations: 8 kB / 3.086 GB, free: 84.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/5.258, allocations: 211.7 kB / 3.086 GB, free: 84.39 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/5.258, allocations: 4 kB / 3.086 GB, free: 84.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/5.259, allocations: 99.38 kB / 3.086 GB, free: 84.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.892e-05/5.259, allocations: 43.98 kB / 3.086 GB, free: 84.25 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.001434/5.26, allocations: 425.7 kB / 3.086 GB, free: 83.82 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/5.261, allocations: 114.6 kB / 3.087 GB, free: 83.71 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/5.265, allocations: 1.396 MB / 3.088 GB, free: 82.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/5.265, allocations: 8 kB / 3.088 GB, free: 82.29 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/5.265, allocations: 7.953 kB / 3.088 GB, free: 82.29 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/5.265, allocations: 3.984 kB / 3.088 GB, free: 82.28 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006236/5.271, allocations: 2.734 MB / 3.091 GB, free: 79.47 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/5.271, allocations: 7.938 kB / 3.091 GB, free: 79.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/5.272, allocations: 187.8 kB / 3.091 GB, free: 79.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/5.273, allocations: 216.8 kB / 3.091 GB, free: 79.06 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/5.274, allocations: 35.98 kB / 3.091 GB, free: 79.03 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/5.276, allocations: 1.874 MB / 3.093 GB, free: 77.02 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.276, allocations: 4 kB / 3.093 GB, free: 77.01 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/5.279, allocations: 1.489 MB / 3.094 GB, free: 75.45 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009415/5.28, allocations: 363.2 kB / 3.095 GB, free: 75.07 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/5.281, allocations: 27.98 kB / 3.095 GB, free: 75.04 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/5.282, allocations: 87.91 kB / 3.095 GB, free: 74.96 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/5.282, allocations: 84.83 kB / 3.095 GB, free: 74.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/5.282, allocations: 31.98 kB / 3.095 GB, free: 74.84 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001664/5.284, allocations: 0.7115 MB / 3.096 GB, free: 74.12 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/5.284, allocations: 0 / 3.096 GB, free: 74.12 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002665/5.287, allocations: 0.5233 MB / 3.096 GB, free: 73.59 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.002199/5.289, allocations: 0.7056 MB / 3.097 GB, free: 73.09 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003412/5.292, allocations: 1.425 MB / 3.098 GB, free: 71.67 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/5.292, allocations: 4.188 kB / 3.098 GB, free: 71.67 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/5.294, allocations: 0.6523 MB / 3.099 GB, free: 71 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/5.296, allocations: 297 kB / 3.099 GB, free: 70.72 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/5.301, allocations: 2.854 MB / 3.102 GB, free: 67.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/5.302, allocations: 1.217 MB / 3.103 GB, free: 66.56 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002121/5.305, allocations: 460.3 kB / 3.103 GB, free: 66.11 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/5.305, allocations: 115.4 kB / 3.104 GB, free: 65.99 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/5.305, allocations: 4 kB / 3.104 GB, free: 65.99 MB / 1.167 GB Notification: Performance of Templates: time 0.03837/5.343, allocations: 17.05 MB / 3.12 GB, free: 49.08 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches