Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadModel(Buildings): time 4.095/4.095, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.595e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.697/6.197, allocations: 2.219 GB / 2.848 GB, free: 93.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/6.198, allocations: 110.3 kB / 2.848 GB, free: 93.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1985/6.396, allocations: 60.31 MB / 2.907 GB, free: 38.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.047e-06/6.396, allocations: 0 / 2.907 GB, free: 38.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.78e-05/6.396, allocations: 35.92 kB / 2.907 GB, free: 38.54 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.002574/6.399, allocations: 1.444 MB / 2.909 GB, free: 37.02 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/6.399, allocations: 20 kB / 2.909 GB, free: 37 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/6.402, allocations: 417.7 kB / 2.909 GB, free: 36.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/6.404, allocations: 0.7562 MB / 2.91 GB, free: 35.79 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/6.404, allocations: 40 kB / 2.91 GB, free: 35.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/6.404, allocations: 63.98 kB / 2.91 GB, free: 35.69 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002837/6.407, allocations: 1.37 MB / 2.911 GB, free: 34.31 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/6.41, allocations: 1.137 MB / 2.913 GB, free: 33.09 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/6.41, allocations: 3.938 kB / 2.913 GB, free: 33.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/6.41, allocations: 7.984 kB / 2.913 GB, free: 33.08 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/6.41, allocations: 57.97 kB / 2.913 GB, free: 33.02 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007851/6.418, allocations: 4.589 MB / 2.917 GB, free: 28.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/6.42, allocations: 0.9966 MB / 2.918 GB, free: 27.19 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/6.421, allocations: 416.5 kB / 2.918 GB, free: 26.78 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/6.421, allocations: 0.5462 MB / 2.919 GB, free: 26.12 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/6.422, allocations: 0.5676 MB / 2.92 GB, free: 25.53 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 5.191e-06/6.422, allocations: 3.984 kB / 2.92 GB, free: 25.53 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.007465/6.43, allocations: 1.782 MB / 2.921 GB, free: 23.72 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/6.43, allocations: 269.8 kB / 2.922 GB, free: 23.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/6.431, allocations: 0.7268 MB / 2.922 GB, free: 22.67 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/6.431, allocations: 25.7 kB / 2.922 GB, free: 22.64 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/6.432, allocations: 0.5117 MB / 2.923 GB, free: 22.12 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/6.432, allocations: 307.4 kB / 2.923 GB, free: 21.81 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/6.432, allocations: 0 / 2.923 GB, free: 21.81 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001443/6.432, allocations: 398.7 kB / 2.923 GB, free: 21.41 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/6.433, allocations: 350.5 kB / 2.924 GB, free: 21.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008611/6.434, allocations: 0.5451 MB / 2.924 GB, free: 20.46 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/6.439, allocations: 0.8258 MB / 2.925 GB, free: 19.64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/6.439, allocations: 4 kB / 2.925 GB, free: 19.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.006811/6.446, allocations: 1.578 MB / 2.927 GB, free: 18.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00028/6.447, allocations: 1.214 MB / 2.928 GB, free: 16.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/6.447, allocations: 4 kB / 2.928 GB, free: 16.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/6.447, allocations: 128.7 kB / 2.928 GB, free: 16.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/6.449, allocations: 223.8 kB / 2.928 GB, free: 16.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006214/6.449, allocations: 0.6575 MB / 2.929 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/6.451, allocations: 91.36 kB / 2.929 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/6.451, allocations: 48.03 kB / 2.929 GB, free: 15.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/6.451, allocations: 4 kB / 2.929 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005984/6.457, allocations: 1.323 MB / 2.93 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/6.457, allocations: 4 kB / 2.93 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/6.457, allocations: 8 kB / 2.93 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/6.458, allocations: 232 kB / 2.93 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/6.458, allocations: 7.938 kB / 2.93 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/6.459, allocations: 95.3 kB / 2.931 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/6.46, allocations: 47.97 kB / 2.931 GB, free: 13.83 MB / 0.823 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.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 (110): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003096/6.46, allocations: 124.8 kB / 2.931 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/6.46, allocations: 98.78 kB / 2.931 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00772/6.468, allocations: 1.741 MB / 2.933 GB, free: 11.85 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/6.468, allocations: 11.95 kB / 2.933 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/6.468, allocations: 4 kB / 2.933 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/6.468, allocations: 3.984 kB / 2.933 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/6.478, allocations: 2.904 MB / 2.935 GB, free: 8.855 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/6.478, allocations: 4 kB / 2.935 GB, free: 8.852 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/6.48, allocations: 203.9 kB / 2.936 GB, free: 8.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/6.481, allocations: 208.6 kB / 2.936 GB, free: 8.445 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/6.481, allocations: 23.92 kB / 2.936 GB, free: 8.422 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/6.483, allocations: 1.756 MB / 2.938 GB, free: 6.551 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.876e-06/6.483, allocations: 0 / 2.938 GB, free: 6.551 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007846/6.491, allocations: 1.837 MB / 2.939 GB, free: 4.633 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008023/6.492, allocations: 359.4 kB / 2.94 GB, free: 4.262 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/6.492, allocations: 8.141 kB / 2.94 GB, free: 4.254 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/6.493, allocations: 87.88 kB / 2.94 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/6.494, allocations: 76.62 kB / 2.94 GB, free: 4.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/6.494, allocations: 47.91 kB / 2.94 GB, free: 4.043 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009072/6.495, allocations: 0.5655 MB / 2.94 GB, free: 3.484 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.74e-07/6.495, allocations: 0 / 2.94 GB, free: 3.484 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002103/6.497, allocations: 491.8 kB / 2.941 GB, free: 3.004 MB / 0.823 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * 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.001894/6.499, allocations: 0.6115 MB / 2.941 GB, free: 2.449 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003485/6.502, allocations: 1.754 MB / 2.943 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/6.502, allocations: 9.438 kB / 2.943 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.4435/6.946, allocations: 0.6221 MB / 2.944 GB, free: 276.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/6.947, allocations: 202.8 kB / 2.944 GB, free: 276.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/6.952, allocations: 1.699 MB / 2.946 GB, free: 275.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/6.953, allocations: 1.188 MB / 2.947 GB, free: 275 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003052/6.956, allocations: 0.5939 MB / 2.947 GB, free: 275 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/6.957, allocations: 93.89 kB / 2.948 GB, free: 275 MB / 0.823 GB Notification: Performance of SimCode: time 1.802e-06/6.957, allocations: 0 / 2.948 GB, free: 275 MB / 0.823 GB Notification: Performance of Templates: time 0.03879/6.996, allocations: 16.7 MB / 2.964 GB, free: 274.2 MB / 0.823 GB