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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.669/1.669, allocations: 297.8 MB / 313.7 MB, free: 44 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009254/0.0009252, allocations: 178.3 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008364, allocations: 102.6 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 12 kB / 0.9088 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.6379, allocations: 120.3 MB / 1.026 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.317/3.955, allocations: 1.758 GB / 2.784 GB, free: 81.48 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/3.955, allocations: 119.9 kB / 2.785 GB, free: 81.36 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1358/4.091, allocations: 67.28 MB / 2.85 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.675e-06/4.091, allocations: 0 / 2.85 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.318e-05/4.091, allocations: 35.94 kB / 2.85 GB, free: 14.29 MB / 0.9792 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.00225/4.093, allocations: 1.563 MB / 2.852 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/4.093, allocations: 12.69 kB / 2.852 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/4.094, allocations: 294.8 kB / 2.852 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/4.096, allocations: 0.8851 MB / 2.853 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/4.096, allocations: 78.52 kB / 2.853 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/4.096, allocations: 104.4 kB / 2.853 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/4.098, allocations: 1.319 MB / 2.854 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/4.098, allocations: 7.938 kB / 2.854 GB, free: 9.836 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/4.098, allocations: 50.25 kB / 2.855 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/4.098, allocations: 49.98 kB / 2.855 GB, free: 9.742 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/4.1, allocations: 1.471 MB / 2.856 GB, free: 8.266 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/4.104, allocations: 4.76 MB / 2.861 GB, free: 3.266 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/4.106, allocations: 1.014 MB / 2.862 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/4.106, allocations: 429.3 kB / 2.862 GB, free: 1.805 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/4.106, allocations: 118.1 kB / 2.862 GB, free: 1.672 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007416/4.107, allocations: 0.5882 MB / 2.863 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=94): time 3.186e-06/4.107, allocations: 0 / 2.863 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95): time 0.4156/4.523, allocations: 2.118 MB / 2.865 GB, free: 255.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/4.523, allocations: 296 kB / 2.865 GB, free: 255.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/4.524, allocations: 0.9943 MB / 2.866 GB, free: 255.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.411e-05/4.524, allocations: 45.08 kB / 2.866 GB, free: 255 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/4.525, allocations: 0.5471 MB / 2.867 GB, free: 254.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/4.525, allocations: 317.8 kB / 2.867 GB, free: 254.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/4.525, allocations: 14.56 kB / 2.867 GB, free: 254.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/4.525, allocations: 348.2 kB / 2.867 GB, free: 254.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/4.526, allocations: 345.8 kB / 2.868 GB, free: 254.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/4.526, allocations: 0.545 MB / 2.868 GB, free: 254.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/4.527, allocations: 0.8869 MB / 2.869 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/4.527, allocations: 0.5938 kB / 2.869 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002186/4.53, allocations: 1.222 MB / 2.87 GB, free: 254 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.88e-05/4.53, allocations: 179 kB / 2.87 GB, free: 253.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/4.53, allocations: 3.5 kB / 2.87 GB, free: 253.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/4.531, allocations: 262.7 kB / 2.871 GB, free: 253.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/4.532, allocations: 210.4 kB / 2.871 GB, free: 253.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/4.534, allocations: 1.984 MB / 2.873 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/4.535, allocations: 104.6 kB / 2.873 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/4.535, allocations: 37.89 kB / 2.873 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/4.535, allocations: 6.5 kB / 2.873 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001348/4.536, allocations: 0.8887 MB / 2.874 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/4.536, allocations: 5.25 kB / 2.874 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-06/4.536, allocations: 6.531 kB / 2.874 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/4.537, allocations: 214.8 kB / 2.874 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/4.537, allocations: 5.719 kB / 2.874 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/4.538, allocations: 97.81 kB / 2.874 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/4.538, allocations: 36.17 kB / 2.874 GB, free: 252.5 MB / 0.9792 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.000687/4.539, allocations: 429 kB / 2.875 GB, free: 252.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/4.539, allocations: 113.9 kB / 2.875 GB, free: 252.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/4.541, allocations: 1.393 MB / 2.876 GB, free: 252.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/4.541, allocations: 14.75 kB / 2.876 GB, free: 252.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/4.541, allocations: 3.281 kB / 2.876 GB, free: 252.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/4.541, allocations: 3.188 kB / 2.876 GB, free: 252.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/4.545, allocations: 2.73 MB / 2.879 GB, free: 251.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/4.545, allocations: 3.688 kB / 2.879 GB, free: 251.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/4.546, allocations: 195.5 kB / 2.879 GB, free: 251.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007299/4.546, allocations: 207.9 kB / 2.879 GB, free: 251.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/4.547, allocations: 34.41 kB / 2.879 GB, free: 251.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/4.548, allocations: 1.832 MB / 2.881 GB, free: 250.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/4.548, allocations: 7.438 kB / 2.881 GB, free: 250.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/4.55, allocations: 1.398 MB / 2.882 GB, free: 250 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/4.551, allocations: 357 kB / 2.883 GB, free: 249.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/4.551, allocations: 23.38 kB / 2.883 GB, free: 249.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/4.552, allocations: 97.83 kB / 2.883 GB, free: 249.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/4.552, allocations: 83.34 kB / 2.883 GB, free: 249.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/4.552, allocations: 40.36 kB / 2.883 GB, free: 249.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009234/4.553, allocations: 0.7106 MB / 2.884 GB, free: 249.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.2e-07/4.553, allocations: 0 / 2.884 GB, free: 249.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001721/4.555, allocations: 0.5305 MB / 2.884 GB, free: 249.8 MB / 0.9792 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.001499/4.556, allocations: 0.7044 MB / 2.885 GB, free: 249.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00253/4.559, allocations: 1.538 MB / 2.886 GB, free: 249.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/4.559, allocations: 5.219 kB / 2.886 GB, free: 249.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009917/4.56, allocations: 0.6498 MB / 2.887 GB, free: 249.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/4.562, allocations: 311.3 kB / 2.887 GB, free: 249.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/4.566, allocations: 2.878 MB / 2.89 GB, free: 248.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/4.566, allocations: 1.189 MB / 2.891 GB, free: 247.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001598/4.568, allocations: 460.5 kB / 2.892 GB, free: 247.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/4.568, allocations: 122.6 kB / 2.892 GB, free: 247.3 MB / 0.9792 GB Notification: Performance of SimCode: time 1.042e-06/4.568, allocations: 0 / 2.892 GB, free: 247.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.02947/4.598, allocations: 17.82 MB / 2.909 GB, free: 246.3 MB / 0.9792 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 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)