Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadModel(Buildings): time 4.021/4.021, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.024e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5028, allocations: 98.7 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.624/6.127, allocations: 2.214 GB / 2.843 GB, free: 99.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/6.128, allocations: 91.02 kB / 2.843 GB, free: 99.16 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.162/6.29, allocations: 48.64 MB / 2.891 GB, free: 56.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.354e-06/6.29, allocations: 11.94 kB / 2.891 GB, free: 56.58 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.018e-05/6.29, allocations: 31.98 kB / 2.891 GB, free: 56.55 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002231/6.292, allocations: 1.357 MB / 2.892 GB, free: 55.12 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/6.292, allocations: 12.02 kB / 2.892 GB, free: 55.11 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/6.295, allocations: 393.8 kB / 2.892 GB, free: 54.72 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/6.297, allocations: 0.7288 MB / 2.893 GB, free: 53.95 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/6.297, allocations: 32 kB / 2.893 GB, free: 53.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/6.297, allocations: 56 kB / 2.893 GB, free: 53.86 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002391/6.299, allocations: 1.253 MB / 2.894 GB, free: 52.61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/6.301, allocations: 1.008 MB / 2.895 GB, free: 51.55 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/6.301, allocations: 3.938 kB / 2.895 GB, free: 51.54 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/6.301, allocations: 4 kB / 2.895 GB, free: 51.54 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.404e-05/6.302, allocations: 49.98 kB / 2.895 GB, free: 51.49 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007689/6.309, allocations: 4.237 MB / 2.9 GB, free: 47.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/6.311, allocations: 0.8053 MB / 2.9 GB, free: 46.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/6.312, allocations: 327.1 kB / 2.901 GB, free: 45.91 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/6.312, allocations: 470.3 kB / 2.901 GB, free: 45.36 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/6.313, allocations: 478.2 kB / 2.902 GB, free: 44.87 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 4.462e-06/6.313, allocations: 0 / 2.902 GB, free: 44.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.005788/6.319, allocations: 1.093 MB / 2.903 GB, free: 43.76 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/6.319, allocations: 321.2 kB / 2.903 GB, free: 43.38 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/6.321, allocations: 0.715 MB / 2.904 GB, free: 42.65 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/6.321, allocations: 25.7 kB / 2.904 GB, free: 42.62 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/6.321, allocations: 0.5036 MB / 2.904 GB, free: 42.11 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/6.321, allocations: 248.2 kB / 2.904 GB, free: 41.86 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/6.321, allocations: 0 / 2.904 GB, free: 41.86 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001302/6.322, allocations: 390.8 kB / 2.905 GB, free: 41.47 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/6.322, allocations: 253.5 kB / 2.905 GB, free: 41.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/6.323, allocations: 435 kB / 2.905 GB, free: 40.74 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/6.327, allocations: 0.6796 MB / 2.906 GB, free: 40.06 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/6.328, allocations: 0 / 2.906 GB, free: 40.06 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006278/6.334, allocations: 1.23 MB / 2.907 GB, free: 38.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/6.334, allocations: 1.046 MB / 2.908 GB, free: 37.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/6.334, allocations: 11.83 kB / 2.908 GB, free: 37.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/6.334, allocations: 32.84 kB / 2.908 GB, free: 37.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/6.336, allocations: 183.8 kB / 2.909 GB, free: 37.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003505/6.336, allocations: 0.5446 MB / 2.909 GB, free: 36.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/6.337, allocations: 95.27 kB / 2.909 GB, free: 36.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/6.337, allocations: 39.97 kB / 2.909 GB, free: 36.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/6.337, allocations: 6.5 kB / 2.909 GB, free: 36.75 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005586/6.343, allocations: 1.103 MB / 2.91 GB, free: 35.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/6.343, allocations: 4 kB / 2.91 GB, free: 35.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/6.343, allocations: 8 kB / 2.91 GB, free: 35.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/6.344, allocations: 192 kB / 2.91 GB, free: 35.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/6.344, allocations: 7.953 kB / 2.911 GB, free: 35.44 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/6.345, allocations: 83.39 kB / 2.911 GB, free: 35.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/6.345, allocations: 43.97 kB / 2.911 GB, free: 35.31 MB / 0.823 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.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 3 * 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.0002678/6.345, allocations: 128.7 kB / 2.911 GB, free: 35.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/6.346, allocations: 90.88 kB / 2.911 GB, free: 35.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006181/6.352, allocations: 1.299 MB / 2.912 GB, free: 33.78 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/6.352, allocations: 12 kB / 2.912 GB, free: 33.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.928e-06/6.352, allocations: 0 / 2.912 GB, free: 33.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/6.352, allocations: 7.969 kB / 2.912 GB, free: 33.76 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007638/6.36, allocations: 2.512 MB / 2.915 GB, free: 31.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/6.36, allocations: 8.031 kB / 2.915 GB, free: 31.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009604/6.361, allocations: 167.8 kB / 2.915 GB, free: 31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/6.361, allocations: 28.78 kB / 2.915 GB, free: 30.96 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/6.361, allocations: 15.98 kB / 2.915 GB, free: 30.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008437/6.362, allocations: 1.236 MB / 2.916 GB, free: 29.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.375e-06/6.362, allocations: 4.188 kB / 2.916 GB, free: 29.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/6.367, allocations: 1.323 MB / 2.917 GB, free: 28.21 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/6.368, allocations: 331.5 kB / 2.918 GB, free: 27.87 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/6.368, allocations: 7.984 kB / 2.918 GB, free: 27.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/6.369, allocations: 63.94 kB / 2.918 GB, free: 27.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/6.37, allocations: 60.69 kB / 2.918 GB, free: 27.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/6.37, allocations: 31.98 kB / 2.918 GB, free: 27.71 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000868/6.371, allocations: 0.5616 MB / 2.918 GB, free: 27.15 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.059e-06/6.371, allocations: 0 / 2.918 GB, free: 27.15 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001837/6.372, allocations: 0.5488 MB / 2.919 GB, free: 26.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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.001764/6.374, allocations: 0.603 MB / 2.919 GB, free: 26.06 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002372/6.377, allocations: 1.387 MB / 2.921 GB, free: 24.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.099e-06/6.377, allocations: 9.188 kB / 2.921 GB, free: 24.59 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008158/6.377, allocations: 464.8 kB / 2.921 GB, free: 24.13 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/6.379, allocations: 210.9 kB / 2.921 GB, free: 23.93 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/6.382, allocations: 1.485 MB / 2.923 GB, free: 22.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/6.383, allocations: 1.135 MB / 2.924 GB, free: 21.24 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002578/6.385, allocations: 0.5409 MB / 2.925 GB, free: 20.69 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/6.386, allocations: 87.39 kB / 2.925 GB, free: 20.61 MB / 0.823 GB Notification: Performance of SimCode: time 1.645e-06/6.386, allocations: 0 / 2.925 GB, free: 20.61 MB / 0.823 GB Notification: Performance of Templates: time 0.03328/6.419, allocations: 14.57 MB / 2.939 GB, free: 6.156 MB / 0.823 GB