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.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadModel(Buildings): time 3.928/3.928, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.509e-05, allocations: 5.25 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.179, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.768/5.947, allocations: 2.244 GB / 2.878 GB, free: 118.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/5.948, allocations: 106.7 kB / 2.878 GB, free: 118.7 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.9992/6.947, allocations: 154.7 MB / 3.03 GB, free: 227.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.378e-06/6.947, allocations: 3.812 kB / 3.03 GB, free: 227.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003278/6.947, allocations: 79.69 kB / 3.03 GB, free: 227.7 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.009594/6.957, allocations: 3.217 MB / 3.033 GB, free: 226.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/6.957, allocations: 7.75 kB / 3.033 GB, free: 226.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00748/6.965, allocations: 0.9393 MB / 3.034 GB, free: 225.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/6.971, allocations: 2.185 MB / 3.036 GB, free: 225.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/6.971, allocations: 231.7 kB / 3.036 GB, free: 225.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/6.972, allocations: 308.4 kB / 3.036 GB, free: 225.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/6.985, allocations: 4.388 MB / 3.041 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/6.985, allocations: 9.406 kB / 3.041 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009911/6.986, allocations: 137.6 kB / 3.041 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/6.986, allocations: 176.3 kB / 3.041 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00998/6.996, allocations: 4.01 MB / 3.045 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03082/7.027, allocations: 19.94 MB / 3.064 GB, free: 214.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/7.031, allocations: 1.906 MB / 3.066 GB, free: 214.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/7.033, allocations: 0.968 MB / 3.067 GB, free: 214.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/7.034, allocations: 0.5619 MB / 3.068 GB, free: 213.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/7.036, allocations: 1.134 MB / 3.069 GB, free: 213.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=150): time 6.329e-06/7.036, allocations: 0 / 3.069 GB, free: 213.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=187): time 0.03796/7.074, allocations: 12.03 MB / 3.081 GB, free: 207.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/7.074, allocations: 491.3 kB / 3.081 GB, free: 207.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/7.078, allocations: 1.96 MB / 3.083 GB, free: 206.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004507/7.079, allocations: 63.27 kB / 3.083 GB, free: 206.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/7.08, allocations: 1.47 MB / 3.084 GB, free: 205.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/7.081, allocations: 0.6288 MB / 3.085 GB, free: 204.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/7.081, allocations: 40.69 kB / 3.085 GB, free: 204.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001541/7.081, allocations: 386.1 kB / 3.085 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/7.084, allocations: 1.158 MB / 3.087 GB, free: 204 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/7.087, allocations: 1.678 MB / 3.088 GB, free: 202.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/7.09, allocations: 1.537 MB / 3.09 GB, free: 202.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/7.09, allocations: 3.5 kB / 3.09 GB, free: 202.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01422/7.104, allocations: 4.869 MB / 3.094 GB, free: 200.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009702/7.105, allocations: 4.751 MB / 3.099 GB, free: 195.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/7.105, allocations: 11.62 kB / 3.099 GB, free: 195.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008348/7.114, allocations: 1.855 MB / 3.101 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/7.117, allocations: 494.6 kB / 3.101 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/7.13, allocations: 9.524 MB / 3.111 GB, free: 187.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/7.134, allocations: 212.6 kB / 3.111 GB, free: 187.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/7.135, allocations: 94.14 kB / 3.111 GB, free: 187.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/7.135, allocations: 3.906 kB / 3.111 GB, free: 187.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0109/7.146, allocations: 4.043 MB / 3.115 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/7.146, allocations: 11.62 kB / 3.115 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/7.151, allocations: 1.182 MB / 3.116 GB, free: 186.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/7.154, allocations: 0.4933 MB / 3.117 GB, free: 185.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/7.166, allocations: 7.521 MB / 3.124 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/7.171, allocations: 186 kB / 3.124 GB, free: 178.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007668/7.172, allocations: 91.41 kB / 3.124 GB, free: 178.5 MB / 0.823 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001191/7.173, allocations: 239.5 kB / 3.124 GB, free: 178.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/7.174, allocations: 225.2 kB / 3.125 GB, free: 178 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02475/7.199, allocations: 4.444 MB / 3.129 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-05/7.199, allocations: 20 kB / 3.129 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.964e-05/7.199, allocations: 4 kB / 3.129 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.162e-05/7.199, allocations: 11.45 kB / 3.129 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03934/7.239, allocations: 9.526 MB / 3.138 GB, free: 166.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/7.239, allocations: 8 kB / 3.138 GB, free: 166.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004509/7.243, allocations: 372.6 kB / 3.139 GB, free: 166.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/7.258, allocations: 1.812 MB / 3.14 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006003/7.259, allocations: 51.69 kB / 3.141 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03069/7.29, allocations: 13.16 MB / 3.153 GB, free: 152.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/7.29, allocations: 14.28 kB / 3.153 GB, free: 152.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/7.312, allocations: 4.741 MB / 3.158 GB, free: 148.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/7.315, allocations: 0.691 MB / 3.159 GB, free: 147.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/7.317, allocations: 44 kB / 3.159 GB, free: 147.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005101/7.322, allocations: 202.9 kB / 3.159 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009207/7.323, allocations: 155.4 kB / 3.159 GB, free: 147.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004265/7.323, allocations: 66.75 kB / 3.159 GB, free: 147.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005148/7.328, allocations: 1.52 MB / 3.161 GB, free: 146 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.745e-06/7.328, allocations: 0 / 3.161 GB, free: 146 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01012/7.339, allocations: 1.36 MB / 3.162 GB, free: 144.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (180): * Single equations (assignments): 172 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005546/7.344, allocations: 1.014 MB / 3.163 GB, free: 144 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02231/7.367, allocations: 6.085 MB / 3.169 GB, free: 138.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.832e-05/7.367, allocations: 4.125 kB / 3.169 GB, free: 138.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008695/7.375, allocations: 2.331 MB / 3.171 GB, free: 136.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01034/7.386, allocations: 0.504 MB / 3.172 GB, free: 135.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/7.407, allocations: 5.281 MB / 3.177 GB, free: 130.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003575/7.411, allocations: 2.518 MB / 3.179 GB, free: 128.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006501/7.417, allocations: 1.384 MB / 3.181 GB, free: 127.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008749/7.418, allocations: 159.4 kB / 3.181 GB, free: 127.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.192e-06/7.418, allocations: 0 / 3.181 GB, free: 127.4 MB / 0.823 GB Notification: Performance of Templates: time 0.1018/7.52, allocations: 49.76 MB / 3.229 GB, free: 78.35 MB / 0.823 GB