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/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.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.158/4.158, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.116e-05, allocations: 3.547 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1761, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/5.919, allocations: 2.22 GB / 2.855 GB, free: 144.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/5.919, allocations: 103.9 kB / 2.855 GB, free: 144.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2479/6.167, allocations: 61.58 MB / 2.915 GB, free: 82.37 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.328e-06/6.167, allocations: 0 / 2.915 GB, free: 82.37 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001033/6.168, allocations: 35.98 kB / 2.915 GB, free: 82.34 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.002566/6.17, allocations: 1.444 MB / 2.917 GB, free: 80.82 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/6.17, allocations: 8.031 kB / 2.917 GB, free: 80.81 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/6.173, allocations: 413.7 kB / 2.917 GB, free: 80.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/6.175, allocations: 0.7639 MB / 2.918 GB, free: 79.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/6.175, allocations: 82.08 kB / 2.918 GB, free: 79.51 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/6.176, allocations: 100 kB / 2.918 GB, free: 79.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/6.178, allocations: 1.293 MB / 2.919 GB, free: 78.04 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/6.178, allocations: 4 kB / 2.919 GB, free: 78.03 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/6.178, allocations: 40 kB / 2.919 GB, free: 77.99 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/6.178, allocations: 61.97 kB / 2.919 GB, free: 77.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/6.181, allocations: 1.491 MB / 2.921 GB, free: 76.44 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007427/6.189, allocations: 4.792 MB / 2.925 GB, free: 71.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/6.191, allocations: 1.05 MB / 2.926 GB, free: 70.33 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/6.192, allocations: 440.9 kB / 2.927 GB, free: 69.89 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/6.192, allocations: 0.5501 MB / 2.927 GB, free: 69.23 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/6.194, allocations: 0.6004 MB / 2.928 GB, free: 68.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 4.28e-06/6.194, allocations: 0 / 2.928 GB, free: 68.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.003524/6.197, allocations: 1.47 MB / 2.929 GB, free: 67.12 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/6.197, allocations: 273.8 kB / 2.93 GB, free: 66.79 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/6.199, allocations: 0.8053 MB / 2.93 GB, free: 65.98 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/6.199, allocations: 49.64 kB / 2.93 GB, free: 65.93 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/6.199, allocations: 0.4962 MB / 2.931 GB, free: 65.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/6.199, allocations: 319.4 kB / 2.931 GB, free: 65.11 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/6.2, allocations: 16 kB / 2.931 GB, free: 65.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/6.2, allocations: 345.9 kB / 2.932 GB, free: 64.75 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008097/6.2, allocations: 373.9 kB / 2.932 GB, free: 64.38 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/6.201, allocations: 0.5468 MB / 2.932 GB, free: 63.78 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009143/6.202, allocations: 0.5151 MB / 2.933 GB, free: 63.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/6.202, allocations: 0 / 2.933 GB, free: 63.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003074/6.205, allocations: 1.361 MB / 2.934 GB, free: 61.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002722/6.206, allocations: 1.222 MB / 2.935 GB, free: 60.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/6.206, allocations: 4 kB / 2.936 GB, free: 60.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/6.207, allocations: 212.6 kB / 2.936 GB, free: 60.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/6.208, allocations: 223.7 kB / 2.936 GB, free: 60.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006331/6.209, allocations: 0.6421 MB / 2.937 GB, free: 59.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/6.21, allocations: 119.3 kB / 2.937 GB, free: 59.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/6.21, allocations: 39.98 kB / 2.937 GB, free: 59.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/6.21, allocations: 4 kB / 2.937 GB, free: 59.27 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002181/6.213, allocations: 1.082 MB / 2.938 GB, free: 58.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.425e-06/6.213, allocations: 4 kB / 2.938 GB, free: 58.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/6.213, allocations: 8 kB / 2.938 GB, free: 58.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/6.214, allocations: 228 kB / 2.938 GB, free: 57.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/6.214, allocations: 12 kB / 2.938 GB, free: 57.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/6.215, allocations: 103.5 kB / 2.938 GB, free: 57.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/6.215, allocations: 39.98 kB / 2.938 GB, free: 57.78 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.0003035/6.216, allocations: 171.5 kB / 2.938 GB, free: 57.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/6.216, allocations: 110.7 kB / 2.938 GB, free: 57.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/6.219, allocations: 1.403 MB / 2.94 GB, free: 56.08 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/6.219, allocations: 12 kB / 2.94 GB, free: 56.07 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/6.22, allocations: 0 / 2.94 GB, free: 56.07 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/6.22, allocations: 7.922 kB / 2.94 GB, free: 56.06 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/6.225, allocations: 2.701 MB / 2.942 GB, free: 53.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/6.225, allocations: 12.02 kB / 2.942 GB, free: 53.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/6.226, allocations: 203.7 kB / 2.943 GB, free: 53.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009343/6.227, allocations: 212.6 kB / 2.943 GB, free: 52.86 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/6.227, allocations: 27.97 kB / 2.943 GB, free: 52.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/6.23, allocations: 1.839 MB / 2.945 GB, free: 50.86 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/6.23, allocations: 0 / 2.945 GB, free: 50.86 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/6.233, allocations: 1.477 MB / 2.946 GB, free: 49.29 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007958/6.234, allocations: 363.4 kB / 2.946 GB, free: 48.92 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/6.234, allocations: 20 kB / 2.946 GB, free: 48.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/6.235, allocations: 115.8 kB / 2.947 GB, free: 48.79 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/6.235, allocations: 76.58 kB / 2.947 GB, free: 48.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/6.235, allocations: 43.97 kB / 2.947 GB, free: 48.67 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001071/6.236, allocations: 0.6397 MB / 2.947 GB, free: 48.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.38e-07/6.236, allocations: 0 / 2.947 GB, free: 48.04 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002121/6.239, allocations: 0.5466 MB / 2.948 GB, free: 47.49 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.00208/6.241, allocations: 0.6641 MB / 2.949 GB, free: 46.96 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003515/6.244, allocations: 1.835 MB / 2.95 GB, free: 45.06 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.331e-06/6.244, allocations: 4.062 kB / 2.95 GB, free: 45.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/6.246, allocations: 0.6549 MB / 2.951 GB, free: 44.39 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/6.247, allocations: 233.5 kB / 2.951 GB, free: 44.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/6.251, allocations: 1.758 MB / 2.953 GB, free: 42.35 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/6.252, allocations: 1.194 MB / 2.954 GB, free: 41.13 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002849/6.255, allocations: 0.5926 MB / 2.955 GB, free: 40.53 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/6.255, allocations: 91.39 kB / 2.955 GB, free: 40.44 MB / 0.823 GB Notification: Performance of SimCode: time 1.823e-06/6.255, allocations: 0 / 2.955 GB, free: 40.44 MB / 0.823 GB Notification: Performance of Templates: time 0.03908/6.295, allocations: 17.88 MB / 2.972 GB, free: 22.69 MB / 0.823 GB