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/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.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.126/4.126, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.186e-05, allocations: 4.844 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1789, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.877/6.056, allocations: 2.215 GB / 2.85 GB, free: 104.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/6.057, allocations: 94.88 kB / 2.85 GB, free: 104.4 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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.1705/6.227, allocations: 49.88 MB / 2.898 GB, free: 62.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.059e-06/6.227, allocations: 0 / 2.898 GB, free: 62.59 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.262e-05/6.227, allocations: 28 kB / 2.898 GB, free: 62.56 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.002289/6.23, allocations: 1.363 MB / 2.9 GB, free: 61.21 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/6.23, allocations: 16.03 kB / 2.9 GB, free: 61.19 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/6.233, allocations: 393.7 kB / 2.9 GB, free: 60.81 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/6.234, allocations: 0.7254 MB / 2.901 GB, free: 60.18 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/6.235, allocations: 71.88 kB / 2.901 GB, free: 60.13 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/6.235, allocations: 94.94 kB / 2.901 GB, free: 60.07 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/6.237, allocations: 1.148 MB / 2.902 GB, free: 59.22 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/6.237, allocations: 3.938 kB / 2.902 GB, free: 59.21 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/6.238, allocations: 44.06 kB / 2.902 GB, free: 59.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/6.238, allocations: 49.98 kB / 2.902 GB, free: 59.15 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/6.241, allocations: 1.322 MB / 2.903 GB, free: 58.15 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/6.249, allocations: 4.443 MB / 2.908 GB, free: 54.33 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/6.251, allocations: 0.8586 MB / 2.909 GB, free: 53.46 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007634/6.252, allocations: 347.1 kB / 2.909 GB, free: 53.12 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/6.253, allocations: 470.3 kB / 2.909 GB, free: 52.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009393/6.254, allocations: 495.9 kB / 2.91 GB, free: 52.06 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 4.524e-06/6.254, allocations: 3.938 kB / 2.91 GB, free: 52.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.001996/6.256, allocations: 0.7615 MB / 2.911 GB, free: 51.29 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/6.256, allocations: 325.2 kB / 2.911 GB, free: 50.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/6.257, allocations: 0.8092 MB / 2.912 GB, free: 50.08 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/6.257, allocations: 45.77 kB / 2.912 GB, free: 50.03 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/6.258, allocations: 488 kB / 2.912 GB, free: 49.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/6.258, allocations: 272 kB / 2.912 GB, free: 49.28 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/6.258, allocations: 16 kB / 2.912 GB, free: 49.26 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/6.258, allocations: 334 kB / 2.913 GB, free: 48.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/6.259, allocations: 265.5 kB / 2.913 GB, free: 48.67 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/6.26, allocations: 457.5 kB / 2.914 GB, free: 48.16 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/6.26, allocations: 404.7 kB / 2.914 GB, free: 47.75 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.846e-06/6.26, allocations: 4 kB / 2.914 GB, free: 47.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002218/6.263, allocations: 0.9891 MB / 2.915 GB, free: 46.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002451/6.263, allocations: 1.042 MB / 2.916 GB, free: 45.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/6.263, allocations: 4 kB / 2.916 GB, free: 45.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/6.263, allocations: 36.83 kB / 2.916 GB, free: 45.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/6.264, allocations: 175.8 kB / 2.916 GB, free: 45.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003352/6.265, allocations: 0.5445 MB / 2.917 GB, free: 44.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/6.266, allocations: 123.2 kB / 2.917 GB, free: 44.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/6.266, allocations: 31.98 kB / 2.917 GB, free: 44.65 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/6.266, allocations: 4 kB / 2.917 GB, free: 44.65 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001864/6.268, allocations: 0.8783 MB / 2.918 GB, free: 43.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/6.268, allocations: 0 / 2.918 GB, free: 43.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/6.268, allocations: 11.95 kB / 2.918 GB, free: 43.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/6.269, allocations: 192 kB / 2.918 GB, free: 43.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/6.269, allocations: 11.98 kB / 2.918 GB, free: 43.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/6.27, allocations: 111.2 kB / 2.918 GB, free: 43.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/6.27, allocations: 39.97 kB / 2.918 GB, free: 43.39 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.0002737/6.271, allocations: 153.4 kB / 2.918 GB, free: 43.24 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/6.271, allocations: 102.8 kB / 2.918 GB, free: 43.14 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/6.274, allocations: 0.9873 MB / 2.919 GB, free: 42.14 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/6.274, allocations: 11.94 kB / 2.919 GB, free: 42.12 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.094e-06/6.274, allocations: 7.922 kB / 2.919 GB, free: 42.12 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/6.274, allocations: 3.984 kB / 2.919 GB, free: 42.11 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/6.278, allocations: 2.332 MB / 2.921 GB, free: 39.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.189e-06/6.278, allocations: 3.984 kB / 2.921 GB, free: 39.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/6.279, allocations: 167.9 kB / 2.922 GB, free: 39.53 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/6.279, allocations: 24.84 kB / 2.922 GB, free: 39.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.522e-05/6.279, allocations: 31.97 kB / 2.922 GB, free: 39.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008724/6.28, allocations: 1.272 MB / 2.923 GB, free: 38.06 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/6.28, allocations: 0 / 2.923 GB, free: 38.06 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/6.283, allocations: 0.9952 MB / 2.924 GB, free: 37.01 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007921/6.283, allocations: 331.5 kB / 2.924 GB, free: 36.67 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/6.284, allocations: 24 kB / 2.924 GB, free: 36.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/6.285, allocations: 91.77 kB / 2.924 GB, free: 36.55 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/6.285, allocations: 60.66 kB / 2.924 GB, free: 36.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/6.285, allocations: 35.97 kB / 2.924 GB, free: 36.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001155/6.286, allocations: 0.6358 MB / 2.925 GB, free: 35.82 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.016e-06/6.286, allocations: 0 / 2.925 GB, free: 35.82 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002136/6.289, allocations: 0.588 MB / 2.926 GB, free: 35.23 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.002077/6.291, allocations: 0.6654 MB / 2.926 GB, free: 34.71 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002875/6.294, allocations: 1.455 MB / 2.928 GB, free: 33.18 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/6.294, allocations: 4 kB / 2.928 GB, free: 33.18 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/6.295, allocations: 494.9 kB / 2.928 GB, free: 32.68 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/6.296, allocations: 218.1 kB / 2.928 GB, free: 32.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/6.3, allocations: 1.535 MB / 2.93 GB, free: 30.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/6.3, allocations: 1.143 MB / 2.931 GB, free: 29.73 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0027/6.303, allocations: 0.5529 MB / 2.932 GB, free: 29.17 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/6.304, allocations: 87.39 kB / 2.932 GB, free: 29.09 MB / 0.823 GB Notification: Performance of SimCode: time 1.845e-06/6.304, allocations: 0 / 2.932 GB, free: 29.09 MB / 0.823 GB Notification: Performance of Templates: time 0.03619/6.34, allocations: 15.83 MB / 2.947 GB, free: 13.39 MB / 0.823 GB