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/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.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.947/3.947, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.121e-05, allocations: 4 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5644, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.615/6.18, allocations: 2.215 GB / 2.844 GB, free: 103.3 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/6.18, allocations: 106.7 kB / 2.844 GB, free: 103.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.1893/6.37, allocations: 55.81 MB / 2.899 GB, free: 47.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.92e-06/6.37, allocations: 0 / 2.899 GB, free: 47.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.872e-05/6.37, allocations: 39.92 kB / 2.899 GB, free: 47.01 MB / 0.8073 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.002668/6.372, allocations: 1.444 MB / 2.9 GB, free: 45.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/6.373, allocations: 8.031 kB / 2.9 GB, free: 45.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/6.376, allocations: 413.7 kB / 2.901 GB, free: 45.08 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/6.378, allocations: 0.7717 MB / 2.902 GB, free: 44.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/6.378, allocations: 36 kB / 2.902 GB, free: 44.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/6.378, allocations: 60 kB / 2.902 GB, free: 44.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002822/6.381, allocations: 1.363 MB / 2.903 GB, free: 42.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/6.383, allocations: 1.146 MB / 2.904 GB, free: 41.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/6.383, allocations: 7.938 kB / 2.904 GB, free: 41.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/6.384, allocations: 0 / 2.904 GB, free: 41.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-05/6.384, allocations: 61.92 kB / 2.904 GB, free: 41.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/6.391, allocations: 4.582 MB / 2.909 GB, free: 36.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/6.393, allocations: 0.9928 MB / 2.91 GB, free: 35.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/6.394, allocations: 415.9 kB / 2.91 GB, free: 35.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000735/6.395, allocations: 0.5424 MB / 2.911 GB, free: 34.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/6.396, allocations: 0.5754 MB / 2.911 GB, free: 34.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=94): time 4.358e-06/6.396, allocations: 0 / 2.911 GB, free: 34.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=95): time 0.007662/6.404, allocations: 1.774 MB / 2.913 GB, free: 32.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/6.404, allocations: 273.8 kB / 2.913 GB, free: 31.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/6.405, allocations: 0.7268 MB / 2.914 GB, free: 31.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/6.405, allocations: 29.7 kB / 2.914 GB, free: 31.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/6.405, allocations: 0.5078 MB / 2.914 GB, free: 30.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/6.406, allocations: 311.5 kB / 2.915 GB, free: 30.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/6.406, allocations: 3.938 kB / 2.915 GB, free: 30.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001384/6.406, allocations: 398.7 kB / 2.915 GB, free: 29.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/6.407, allocations: 354.5 kB / 2.915 GB, free: 29.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/6.408, allocations: 0.5279 MB / 2.916 GB, free: 28.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/6.413, allocations: 0.8341 MB / 2.917 GB, free: 28.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/6.413, allocations: 0 / 2.917 GB, free: 28.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.008262/6.421, allocations: 1.582 MB / 2.918 GB, free: 26.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002671/6.421, allocations: 1.218 MB / 2.919 GB, free: 25.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/6.421, allocations: 4 kB / 2.919 GB, free: 25.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/6.422, allocations: 124.7 kB / 2.92 GB, free: 25.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/6.424, allocations: 227.6 kB / 2.92 GB, free: 24.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006061/6.424, allocations: 0.646 MB / 2.92 GB, free: 24.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/6.425, allocations: 95.34 kB / 2.92 GB, free: 24.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/6.426, allocations: 39.98 kB / 2.92 GB, free: 24.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/6.426, allocations: 8.062 kB / 2.92 GB, free: 24.05 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006677/6.432, allocations: 1.33 MB / 2.922 GB, free: 22.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/6.432, allocations: 0 / 2.922 GB, free: 22.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/6.432, allocations: 8 kB / 2.922 GB, free: 22.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/6.434, allocations: 232 kB / 2.922 GB, free: 22.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/6.434, allocations: 12 kB / 2.922 GB, free: 22.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/6.435, allocations: 87.39 kB / 2.922 GB, free: 22.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/6.435, allocations: 39.98 kB / 2.922 GB, free: 22.34 MB / 0.8073 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.0002994/6.435, allocations: 128.8 kB / 2.922 GB, free: 22.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/6.435, allocations: 102.8 kB / 2.922 GB, free: 22.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007357/6.443, allocations: 1.745 MB / 2.924 GB, free: 20.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/6.443, allocations: 12 kB / 2.924 GB, free: 20.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.612e-06/6.443, allocations: 3.953 kB / 2.924 GB, free: 20.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/6.443, allocations: 7.969 kB / 2.924 GB, free: 20.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009052/6.452, allocations: 2.904 MB / 2.927 GB, free: 17.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/6.452, allocations: 7.984 kB / 2.927 GB, free: 17.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/6.453, allocations: 207.9 kB / 2.927 GB, free: 17.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009143/6.454, allocations: 204.6 kB / 2.927 GB, free: 16.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/6.454, allocations: 23.97 kB / 2.927 GB, free: 16.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/6.456, allocations: 1.756 MB / 2.929 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/6.456, allocations: 11.94 kB / 2.929 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/6.463, allocations: 1.826 MB / 2.931 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006744/6.464, allocations: 363.3 kB / 2.931 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/6.464, allocations: 4 kB / 2.931 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/6.465, allocations: 87.89 kB / 2.931 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/6.466, allocations: 76.61 kB / 2.931 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/6.466, allocations: 39.98 kB / 2.931 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00087/6.467, allocations: 0.5772 MB / 2.932 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.16e-07/6.467, allocations: 0 / 2.932 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00202/6.469, allocations: 499.7 kB / 2.932 GB, free: 11.49 MB / 0.8073 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.001831/6.471, allocations: 0.6004 MB / 2.933 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003045/6.474, allocations: 1.762 MB / 2.935 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.237e-06/6.474, allocations: 4 kB / 2.935 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/6.475, allocations: 0.6232 MB / 2.935 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/6.476, allocations: 214.7 kB / 2.936 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/6.48, allocations: 1.692 MB / 2.937 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/6.481, allocations: 1.194 MB / 2.938 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002727/6.484, allocations: 0.5922 MB / 2.939 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/6.484, allocations: 91.39 kB / 2.939 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of SimCode: time 1.666e-06/6.484, allocations: 0 / 2.939 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of Templates: time 0.5297/7.014, allocations: 16.7 MB / 2.955 GB, free: 260.4 MB / 0.8073 GB