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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadModel(Buildings): time 3.947/3.947, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.161e-05, allocations: 3.625 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1779, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.872/6.05, allocations: 2.245 GB / 2.88 GB, free: 72.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/6.05, allocations: 107.7 kB / 2.88 GB, free: 72.53 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 1/7.05, allocations: 145.6 MB / 3.022 GB, free: 246.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.174e-06/7.051, allocations: 0 / 3.022 GB, free: 246.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002539/7.051, allocations: 80.62 kB / 3.022 GB, free: 246.2 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.007704/7.058, allocations: 3.097 MB / 3.025 GB, free: 244.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/7.059, allocations: 14.33 kB / 3.025 GB, free: 244.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00722/7.066, allocations: 0.9407 MB / 3.026 GB, free: 244.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/7.071, allocations: 2.044 MB / 3.028 GB, free: 243.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/7.071, allocations: 234.4 kB / 3.029 GB, free: 243.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007716/7.072, allocations: 292.6 kB / 3.029 GB, free: 243.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/7.082, allocations: 4.308 MB / 3.033 GB, free: 242.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.608e-05/7.083, allocations: 0 / 3.033 GB, free: 242.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004944/7.083, allocations: 136.5 kB / 3.033 GB, free: 242.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/7.083, allocations: 174.2 kB / 3.033 GB, free: 242.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009571/7.093, allocations: 3.968 MB / 3.037 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02858/7.121, allocations: 18.66 MB / 3.055 GB, free: 227.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/7.125, allocations: 1.834 MB / 3.057 GB, free: 225.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/7.127, allocations: 0.9565 MB / 3.058 GB, free: 225 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/7.127, allocations: 0.5625 MB / 3.059 GB, free: 224.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/7.129, allocations: 1.117 MB / 3.06 GB, free: 223.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 5.89e-06/7.129, allocations: 0 / 3.06 GB, free: 223.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.032/7.161, allocations: 12.18 MB / 3.072 GB, free: 211.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/7.161, allocations: 0.5596 MB / 3.072 GB, free: 211.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/7.165, allocations: 1.773 MB / 3.074 GB, free: 209.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/7.165, allocations: 65.64 kB / 3.074 GB, free: 209.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/7.166, allocations: 1.423 MB / 3.075 GB, free: 207.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/7.167, allocations: 0.6104 MB / 3.076 GB, free: 207.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/7.167, allocations: 40 kB / 3.076 GB, free: 207.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001726/7.168, allocations: 394 kB / 3.076 GB, free: 206.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/7.17, allocations: 1.133 MB / 3.078 GB, free: 205.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/7.172, allocations: 1.71 MB / 3.079 GB, free: 203.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/7.175, allocations: 1.516 MB / 3.081 GB, free: 202.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/7.175, allocations: 4 kB / 3.081 GB, free: 202.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01187/7.187, allocations: 4.481 MB / 3.085 GB, free: 197.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001206/7.188, allocations: 5.924 MB / 3.091 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/7.188, allocations: 16 kB / 3.091 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006023/7.194, allocations: 1.436 MB / 3.092 GB, free: 189.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/7.197, allocations: 0.4914 MB / 3.093 GB, free: 189.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009455/7.207, allocations: 5.883 MB / 3.098 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/7.21, allocations: 223.6 kB / 3.099 GB, free: 182.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005255/7.21, allocations: 95.97 kB / 3.099 GB, free: 182.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/7.21, allocations: 8 kB / 3.099 GB, free: 182.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009937/7.22, allocations: 3.775 MB / 3.102 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/7.22, allocations: 19.94 kB / 3.102 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003567/7.224, allocations: 0.8866 MB / 3.103 GB, free: 178.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/7.227, allocations: 0.5109 MB / 3.104 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008309/7.236, allocations: 4.838 MB / 3.109 GB, free: 172.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/7.238, allocations: 195.7 kB / 3.109 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/7.239, allocations: 95.97 kB / 3.109 GB, free: 172.4 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: 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 () * 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.000691/7.24, allocations: 244.4 kB / 3.109 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005747/7.24, allocations: 217.4 kB / 3.109 GB, free: 171.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/7.251, allocations: 3.83 MB / 3.113 GB, free: 168.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/7.251, allocations: 24 kB / 3.113 GB, free: 168 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/7.251, allocations: 11.94 kB / 3.113 GB, free: 168 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-05/7.251, allocations: 11.97 kB / 3.113 GB, free: 168 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/7.271, allocations: 9.359 MB / 3.122 GB, free: 158.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/7.271, allocations: 4 kB / 3.122 GB, free: 158.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/7.273, allocations: 351.6 kB / 3.123 GB, free: 158.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005835/7.279, allocations: 1.398 MB / 3.124 GB, free: 156.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000406/7.279, allocations: 51.97 kB / 3.124 GB, free: 156.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/7.293, allocations: 8.2 MB / 3.132 GB, free: 148.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.907e-06/7.293, allocations: 11.94 kB / 3.132 GB, free: 148.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/7.303, allocations: 4.435 MB / 3.136 GB, free: 143.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/7.305, allocations: 0.6465 MB / 3.137 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/7.306, allocations: 47.98 kB / 3.137 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/7.308, allocations: 191.8 kB / 3.137 GB, free: 142.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/7.309, allocations: 145 kB / 3.137 GB, free: 142.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/7.309, allocations: 71.97 kB / 3.137 GB, free: 142.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002702/7.312, allocations: 1.367 MB / 3.139 GB, free: 141 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.106e-06/7.312, allocations: 0 / 3.139 GB, free: 141 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006041/7.318, allocations: 1.328 MB / 3.14 GB, free: 139.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) * 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.003048/7.321, allocations: 0.9448 MB / 3.141 GB, free: 139 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01147/7.332, allocations: 5.427 MB / 3.146 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/7.332, allocations: 4 kB / 3.146 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/7.337, allocations: 1.868 MB / 3.148 GB, free: 131.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/7.34, allocations: 487.9 kB / 3.149 GB, free: 131.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/7.353, allocations: 5.177 MB / 3.154 GB, free: 125.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003378/7.356, allocations: 2.436 MB / 3.156 GB, free: 123.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006477/7.363, allocations: 1.312 MB / 3.157 GB, free: 122 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009054/7.364, allocations: 147.4 kB / 3.157 GB, free: 121.8 MB / 0.823 GB Notification: Performance of SimCode: time 3.043e-06/7.364, allocations: 0 / 3.157 GB, free: 121.8 MB / 0.823 GB Notification: Performance of Templates: time 0.09536/7.459, allocations: 45.72 MB / 3.202 GB, free: 76.35 MB / 0.823 GB