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/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.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.796/3.796, allocations: 433.4 MB / 440.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.647e-05, allocations: 3.781 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1955, allocations: 98.72 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.564/5.76, allocations: 2.243 GB / 2.872 GB, free: 108.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/5.76, allocations: 109.2 kB / 2.872 GB, free: 108.7 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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.9543/6.714, allocations: 148 MB / 3.017 GB, free: 233.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.998e-06/6.714, allocations: 3.938 kB / 3.017 GB, free: 233.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003221/6.715, allocations: 79.69 kB / 3.017 GB, free: 233.4 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.009424/6.724, allocations: 3.198 MB / 3.02 GB, free: 231.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/6.724, allocations: 11.28 kB / 3.02 GB, free: 231.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007611/6.732, allocations: 0.9452 MB / 3.021 GB, free: 231.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/6.738, allocations: 2.187 MB / 3.023 GB, free: 231.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/6.738, allocations: 101.2 kB / 3.023 GB, free: 231.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/6.739, allocations: 179.3 kB / 3.023 GB, free: 231.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009264/6.749, allocations: 3.602 MB / 3.027 GB, free: 231.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/6.76, allocations: 3.95 MB / 3.03 GB, free: 230.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/6.76, allocations: 12.47 kB / 3.03 GB, free: 230.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006966/6.761, allocations: 4.844 kB / 3.03 GB, free: 230.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/6.761, allocations: 176.4 kB / 3.031 GB, free: 230.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/6.79, allocations: 19.19 MB / 3.049 GB, free: 220.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/6.793, allocations: 1.831 MB / 3.051 GB, free: 220.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/6.796, allocations: 1.14 MB / 3.052 GB, free: 220.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008003/6.797, allocations: 0.5596 MB / 3.053 GB, free: 219.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002144/6.799, allocations: 1.098 MB / 3.054 GB, free: 219.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=150): time 5.623e-06/6.799, allocations: 0.8438 kB / 3.054 GB, free: 219.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=187): time 0.03231/6.831, allocations: 10.7 MB / 3.064 GB, free: 215.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/6.831, allocations: 497.8 kB / 3.065 GB, free: 215.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/6.835, allocations: 1.788 MB / 3.067 GB, free: 215 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004264/6.835, allocations: 25.7 kB / 3.067 GB, free: 215 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/6.837, allocations: 1.466 MB / 3.068 GB, free: 214.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000701/6.837, allocations: 0.5972 MB / 3.069 GB, free: 213.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/6.838, allocations: 4 kB / 3.069 GB, free: 213.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001388/6.838, allocations: 387.8 kB / 3.069 GB, free: 213.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/6.84, allocations: 1.129 MB / 3.07 GB, free: 213.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/6.843, allocations: 1.634 MB / 3.072 GB, free: 212.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/6.849, allocations: 1.813 MB / 3.073 GB, free: 211.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/6.849, allocations: 3.875 kB / 3.073 GB, free: 211.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01736/6.867, allocations: 4.756 MB / 3.078 GB, free: 210.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009524/6.868, allocations: 4.714 MB / 3.083 GB, free: 205.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/6.868, allocations: 11.19 kB / 3.083 GB, free: 205.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007217/6.875, allocations: 1.357 MB / 3.084 GB, free: 204.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005136/6.88, allocations: 498.3 kB / 3.084 GB, free: 204.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/6.902, allocations: 9.064 MB / 3.093 GB, free: 198 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/6.907, allocations: 179.3 kB / 3.094 GB, free: 198 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008141/6.908, allocations: 93.3 kB / 3.094 GB, free: 198 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/6.908, allocations: 2.156 kB / 3.094 GB, free: 198 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01537/6.923, allocations: 2.775 MB / 3.096 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/6.923, allocations: 10.97 kB / 3.096 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.076e-05/6.924, allocations: 26.73 kB / 3.096 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/6.929, allocations: 0.5266 MB / 3.097 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.331e-05/6.929, allocations: 30.28 kB / 3.097 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/6.933, allocations: 115.4 kB / 3.097 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005935/6.934, allocations: 90.94 kB / 3.097 GB, free: 197.1 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.001123/6.935, allocations: 175.1 kB / 3.097 GB, free: 197 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/6.936, allocations: 219.2 kB / 3.097 GB, free: 196.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0298/6.966, allocations: 4.71 MB / 3.102 GB, free: 195.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/6.966, allocations: 19.56 kB / 3.102 GB, free: 195.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/6.966, allocations: 7.656 kB / 3.102 GB, free: 195.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-05/6.966, allocations: 7.219 kB / 3.102 GB, free: 195.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04441/7.01, allocations: 9.227 MB / 3.111 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/7.011, allocations: 4 kB / 3.111 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005495/7.016, allocations: 373.6 kB / 3.111 GB, free: 187.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00775/7.024, allocations: 1.795 MB / 3.113 GB, free: 186.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/7.024, allocations: 23.7 kB / 3.113 GB, free: 186.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02617/7.05, allocations: 12.51 MB / 3.125 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/7.051, allocations: 7.891 kB / 3.125 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03457/7.085, allocations: 5.038 MB / 3.13 GB, free: 170.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004006/7.089, allocations: 0.6838 MB / 3.131 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009778/7.09, allocations: 8 kB / 3.131 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005803/7.096, allocations: 240.9 kB / 3.131 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009102/7.097, allocations: 151.2 kB / 3.131 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005322/7.098, allocations: 69.19 kB / 3.132 GB, free: 169.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005085/7.103, allocations: 1.362 MB / 3.133 GB, free: 168.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.897e-06/7.103, allocations: 7.469 kB / 3.133 GB, free: 168.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01118/7.114, allocations: 1.216 MB / 3.134 GB, free: 166.9 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.00437/7.118, allocations: 0.9207 MB / 3.135 GB, free: 166.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009454/7.128, allocations: 5.132 MB / 3.14 GB, free: 161.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/7.128, allocations: 8.062 kB / 3.14 GB, free: 161.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004456/7.132, allocations: 2.267 MB / 3.142 GB, free: 159.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/7.135, allocations: 468.1 kB / 3.143 GB, free: 159.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/7.146, allocations: 5.18 MB / 3.148 GB, free: 154.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/7.149, allocations: 2.503 MB / 3.15 GB, free: 152.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005864/7.155, allocations: 1.385 MB / 3.151 GB, free: 151.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000785/7.156, allocations: 153.5 kB / 3.152 GB, free: 151.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.82e-06/7.156, allocations: 4 kB / 3.152 GB, free: 151.3 MB / 0.823 GB Notification: Performance of Templates: time 0.09302/7.249, allocations: 43.32 MB / 3.194 GB, free: 111 MB / 0.823 GB