Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01516/0.01516, allocations: 106.8 kB / 15.05 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001773/0.001773, allocations: 181.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.462/2.462, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.357/2.357, allocations: 236.2 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004834, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.671, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.111/7.782, allocations: 2.235 GB / 2.919 GB, free: 157.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005761/7.783, allocations: 118.3 kB / 2.919 GB, free: 157 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.5562/8.339, allocations: 145.2 MB / 3.061 GB, free: 20.51 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.036e-06/8.339, allocations: 0 / 3.061 GB, free: 20.51 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003486/8.339, allocations: 76 kB / 3.061 GB, free: 20.43 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: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.01284/8.352, allocations: 3.395 MB / 3.064 GB, free: 16.95 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/8.352, allocations: 12.03 kB / 3.064 GB, free: 16.93 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002225/8.354, allocations: 462.5 kB / 3.064 GB, free: 16.47 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009752/8.364, allocations: 0.9516 MB / 3.065 GB, free: 15.51 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007065/8.371, allocations: 2.043 MB / 3.067 GB, free: 13.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/8.372, allocations: 230.1 kB / 3.068 GB, free: 13.19 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/8.373, allocations: 304 kB / 3.068 GB, free: 12.89 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/8.388, allocations: 4.394 MB / 3.072 GB, free: 8.359 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/8.388, allocations: 7.844 kB / 3.072 GB, free: 8.352 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007243/8.389, allocations: 132 kB / 3.072 GB, free: 8.223 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/8.389, allocations: 165.9 kB / 3.072 GB, free: 8.059 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/8.403, allocations: 4.122 MB / 3.076 GB, free: 3.926 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6377/9.04, allocations: 18.65 MB / 3.095 GB, free: 197.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007595/9.048, allocations: 1.965 MB / 3.097 GB, free: 197.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/9.049, allocations: 0.5586 MB / 3.097 GB, free: 197.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003953/9.053, allocations: 1.163 MB / 3.098 GB, free: 197.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 6.542e-06/9.053, allocations: 0 / 3.098 GB, free: 197.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.05853/9.112, allocations: 13.75 MB / 3.112 GB, free: 192.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/9.112, allocations: 0.5579 MB / 3.112 GB, free: 191.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/9.116, allocations: 1.799 MB / 3.114 GB, free: 191.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006058/9.117, allocations: 61.8 kB / 3.114 GB, free: 191.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/9.119, allocations: 1.423 MB / 3.115 GB, free: 191.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/9.12, allocations: 0.6127 MB / 3.116 GB, free: 190.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/9.12, allocations: 46.41 kB / 3.116 GB, free: 190.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001735/9.12, allocations: 391.9 kB / 3.116 GB, free: 190.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/9.124, allocations: 1.19 MB / 3.118 GB, free: 190.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/9.129, allocations: 1.776 MB / 3.119 GB, free: 190 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/9.133, allocations: 1.578 MB / 3.121 GB, free: 189.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.912e-05/9.133, allocations: 4.25 kB / 3.121 GB, free: 189.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01911/9.153, allocations: 4.674 MB / 3.125 GB, free: 189.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001368/9.154, allocations: 5.923 MB / 3.131 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.349e-05/9.154, allocations: 19.38 kB / 3.131 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/9.165, allocations: 1.58 MB / 3.133 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/9.169, allocations: 0.491 MB / 3.133 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/9.183, allocations: 6.157 MB / 3.139 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/9.187, allocations: 226.3 kB / 3.139 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006928/9.188, allocations: 99.53 kB / 3.14 GB, free: 181.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/9.188, allocations: 3.969 kB / 3.14 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01519/9.203, allocations: 3.97 MB / 3.143 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.591e-05/9.203, allocations: 13.84 kB / 3.143 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007135/9.211, allocations: 1.031 MB / 3.144 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/9.215, allocations: 0.509 MB / 3.145 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/9.227, allocations: 5.105 MB / 3.15 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/9.231, allocations: 196.9 kB / 3.15 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/9.231, allocations: 95.77 kB / 3.15 GB, free: 179.9 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 = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.003405/9.235, allocations: 1.229 MB / 3.151 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008432/9.235, allocations: 211.8 kB / 3.152 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/9.252, allocations: 4.027 MB / 3.156 GB, free: 179.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/9.252, allocations: 21.69 kB / 3.156 GB, free: 179.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/9.252, allocations: 7.719 kB / 3.156 GB, free: 179.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.836e-05/9.252, allocations: 13.8 kB / 3.156 GB, free: 179.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/9.281, allocations: 9.548 MB / 3.165 GB, free: 175.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/9.281, allocations: 11.41 kB / 3.165 GB, free: 175.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/9.284, allocations: 348.9 kB / 3.165 GB, free: 175.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0124/9.296, allocations: 1.511 MB / 3.167 GB, free: 175.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000749/9.297, allocations: 53.62 kB / 3.167 GB, free: 175.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03106/9.328, allocations: 8.645 MB / 3.175 GB, free: 170.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/9.328, allocations: 12.66 kB / 3.175 GB, free: 170.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/9.346, allocations: 4.633 MB / 3.18 GB, free: 167.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002266/9.348, allocations: 0.645 MB / 3.18 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007674/9.349, allocations: 42.33 kB / 3.18 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003384/9.352, allocations: 199.6 kB / 3.181 GB, free: 167.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/9.353, allocations: 149 kB / 3.181 GB, free: 167.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/9.353, allocations: 67.02 kB / 3.181 GB, free: 167.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003101/9.356, allocations: 1.391 MB / 3.182 GB, free: 166.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.052e-06/9.357, allocations: 0 / 3.182 GB, free: 166.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006563/9.363, allocations: 1.33 MB / 3.184 GB, free: 166.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0194/9.383, allocations: 7.674 MB / 3.191 GB, free: 162.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01649/9.399, allocations: 5.577 MB / 3.196 GB, free: 159.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/9.399, allocations: 1.719 kB / 3.196 GB, free: 159.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006258/9.405, allocations: 1.952 MB / 3.198 GB, free: 159.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/9.41, allocations: 0.4893 MB / 3.199 GB, free: 158.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/9.433, allocations: 19.41 MB / 3.218 GB, free: 143.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/9.437, allocations: 2.43 MB / 3.22 GB, free: 142.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005874/9.443, allocations: 1.042 MB / 3.221 GB, free: 142.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003178/9.446, allocations: 1.195 MB / 3.222 GB, free: 141.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.332e-06/9.446, allocations: 0 / 3.222 GB, free: 141.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1667/9.613, allocations: 65.71 MB / 3.287 GB, free: 101.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/9.613, allocations: 287.8 kB / 3.287 GB, free: 101 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.98/14.59, allocations: 64 / 3.287 GB, free: 101 MB / 0.823 GB