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.OnePhase.Sources.Examples.WindTurbine.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadModel(Buildings): time 3.999/3.999, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.982e-05, allocations: 5.984 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1791, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.968/6.148, allocations: 2.216 GB / 2.851 GB, free: 148.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/6.148, allocations: 105.7 kB / 2.851 GB, free: 148.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1961/6.344, allocations: 57.06 MB / 2.907 GB, free: 90.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.981e-06/6.344, allocations: 0 / 2.907 GB, free: 90.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.506e-05/6.344, allocations: 28 kB / 2.907 GB, free: 90.78 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.002845/6.347, allocations: 1.451 MB / 2.908 GB, free: 89.25 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/6.347, allocations: 12.03 kB / 2.908 GB, free: 89.24 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/6.351, allocations: 417.7 kB / 2.908 GB, free: 88.83 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/6.352, allocations: 0.7677 MB / 2.909 GB, free: 88.02 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/6.352, allocations: 78.09 kB / 2.909 GB, free: 87.94 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/6.353, allocations: 100 kB / 2.909 GB, free: 87.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/6.355, allocations: 1.293 MB / 2.911 GB, free: 86.46 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/6.355, allocations: 0 / 2.911 GB, free: 86.46 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/6.356, allocations: 51.94 kB / 2.911 GB, free: 86.41 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/6.356, allocations: 53.98 kB / 2.911 GB, free: 86.36 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/6.359, allocations: 1.503 MB / 2.912 GB, free: 84.85 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008178/6.367, allocations: 4.78 MB / 2.917 GB, free: 79.83 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/6.369, allocations: 1.043 MB / 2.918 GB, free: 78.76 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/6.37, allocations: 440 kB / 2.918 GB, free: 78.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007346/6.371, allocations: 0.5502 MB / 2.919 GB, free: 77.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/6.372, allocations: 0.6004 MB / 2.919 GB, free: 77.04 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 5.082e-06/6.372, allocations: 3.984 kB / 2.919 GB, free: 77.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.003484/6.376, allocations: 1.474 MB / 2.921 GB, free: 75.54 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/6.376, allocations: 265.8 kB / 2.921 GB, free: 75.22 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/6.377, allocations: 0.817 MB / 2.922 GB, free: 74.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/6.377, allocations: 41.7 kB / 2.922 GB, free: 74.36 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/6.377, allocations: 0.5 MB / 2.922 GB, free: 73.85 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/6.378, allocations: 327.3 kB / 2.923 GB, free: 73.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/6.378, allocations: 16 kB / 2.923 GB, free: 73.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/6.378, allocations: 338 kB / 2.923 GB, free: 73.17 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/6.379, allocations: 373.9 kB / 2.923 GB, free: 72.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009244/6.38, allocations: 0.5522 MB / 2.924 GB, free: 72.19 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/6.381, allocations: 0.5112 MB / 2.925 GB, free: 71.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/6.381, allocations: 0 / 2.925 GB, free: 71.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003049/6.384, allocations: 1.361 MB / 2.926 GB, free: 70.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002705/6.384, allocations: 1.213 MB / 2.927 GB, free: 68.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/6.384, allocations: 4 kB / 2.927 GB, free: 68.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009889/6.385, allocations: 216.6 kB / 2.927 GB, free: 68.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/6.386, allocations: 227.6 kB / 2.927 GB, free: 68.51 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006082/6.387, allocations: 0.6421 MB / 2.928 GB, free: 67.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/6.388, allocations: 107.4 kB / 2.928 GB, free: 67.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/6.388, allocations: 44.08 kB / 2.928 GB, free: 67.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/6.388, allocations: 4 kB / 2.928 GB, free: 67.69 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002129/6.391, allocations: 1.086 MB / 2.929 GB, free: 66.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.38e-06/6.391, allocations: 112 / 2.929 GB, free: 66.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/6.391, allocations: 11.94 kB / 2.929 GB, free: 66.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/6.392, allocations: 232 kB / 2.93 GB, free: 66.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/6.392, allocations: 7.984 kB / 2.93 GB, free: 66.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/6.393, allocations: 107.4 kB / 2.93 GB, free: 66.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/6.393, allocations: 43.97 kB / 2.93 GB, free: 66.19 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.0002932/6.394, allocations: 164.7 kB / 2.93 GB, free: 66.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/6.394, allocations: 106.7 kB / 2.93 GB, free: 65.92 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/6.398, allocations: 1.403 MB / 2.931 GB, free: 64.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/6.398, allocations: 11.95 kB / 2.931 GB, free: 64.49 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.841e-06/6.398, allocations: 4 kB / 2.931 GB, free: 64.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/6.398, allocations: 3.984 kB / 2.931 GB, free: 64.48 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/6.403, allocations: 2.712 MB / 2.934 GB, free: 61.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.984e-06/6.403, allocations: 0 / 2.934 GB, free: 61.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/6.404, allocations: 207.7 kB / 2.934 GB, free: 61.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/6.405, allocations: 208.8 kB / 2.934 GB, free: 61.28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/6.405, allocations: 35.94 kB / 2.934 GB, free: 61.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/6.408, allocations: 1.827 MB / 2.936 GB, free: 59.28 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.807e-06/6.408, allocations: 4 kB / 2.936 GB, free: 59.28 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/6.411, allocations: 1.466 MB / 2.938 GB, free: 57.73 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/6.412, allocations: 375.3 kB / 2.938 GB, free: 57.34 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/6.412, allocations: 20 kB / 2.938 GB, free: 57.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/6.413, allocations: 111.8 kB / 2.938 GB, free: 57.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/6.414, allocations: 80.56 kB / 2.938 GB, free: 57.13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/6.414, allocations: 39.98 kB / 2.938 GB, free: 57.09 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001074/6.415, allocations: 0.6397 MB / 2.939 GB, free: 56.46 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.75e-07/6.415, allocations: 0 / 2.939 GB, free: 56.46 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002161/6.417, allocations: 0.5389 MB / 2.939 GB, free: 55.92 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.002031/6.419, allocations: 0.6813 MB / 2.94 GB, free: 55.39 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003555/6.423, allocations: 1.834 MB / 2.942 GB, free: 53.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.814e-06/6.423, allocations: 0 / 2.942 GB, free: 53.48 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/6.424, allocations: 0.6485 MB / 2.942 GB, free: 52.82 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/6.426, allocations: 233.1 kB / 2.943 GB, free: 52.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/6.43, allocations: 1.764 MB / 2.944 GB, free: 50.78 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/6.43, allocations: 1.196 MB / 2.946 GB, free: 49.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002776/6.433, allocations: 0.5964 MB / 2.946 GB, free: 48.95 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/6.434, allocations: 87.41 kB / 2.946 GB, free: 48.87 MB / 0.823 GB Notification: Performance of SimCode: time 1.797e-06/6.434, allocations: 3.938 kB / 2.946 GB, free: 48.86 MB / 0.823 GB Notification: Performance of Templates: time 0.03954/6.473, allocations: 17.87 MB / 2.964 GB, free: 31.12 MB / 0.823 GB