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/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_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 4.064/4.064, allocations: 433.3 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.092e-05, allocations: 4 kB / 0.5325 GB, free: 1.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5023, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.601/6.103, allocations: 2.245 GB / 2.874 GB, free: 66.87 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/6.104, allocations: 113.9 kB / 2.874 GB, free: 66.81 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 1.042/7.146, allocations: 137.6 MB / 3.008 GB, free: 260.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.331e-06/7.146, allocations: 3.609 kB / 3.008 GB, free: 260.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004244/7.147, allocations: 77.61 kB / 3.008 GB, free: 260.6 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.01058/7.157, allocations: 3.1 MB / 3.011 GB, free: 258.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/7.157, allocations: 10.52 kB / 3.011 GB, free: 258.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007509/7.165, allocations: 0.9454 MB / 3.012 GB, free: 258.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00553/7.17, allocations: 2.048 MB / 3.014 GB, free: 257.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/7.17, allocations: 97.84 kB / 3.014 GB, free: 257.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/7.172, allocations: 179.8 kB / 3.014 GB, free: 257.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008594/7.18, allocations: 3.562 MB / 3.018 GB, free: 255.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00995/7.19, allocations: 3.867 MB / 3.022 GB, free: 251.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.154e-05/7.19, allocations: 7.844 kB / 3.022 GB, free: 251.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/7.191, allocations: 8 kB / 3.022 GB, free: 251.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/7.191, allocations: 173.9 kB / 3.022 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/7.217, allocations: 17.9 MB / 3.039 GB, free: 232.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/7.22, allocations: 1.761 MB / 3.041 GB, free: 230.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/7.222, allocations: 0.9141 MB / 3.042 GB, free: 229.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/7.222, allocations: 0.558 MB / 3.042 GB, free: 228.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/7.224, allocations: 1.066 MB / 3.043 GB, free: 227.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 5.958e-06/7.224, allocations: 0 / 3.043 GB, free: 227.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.03494/7.259, allocations: 11.2 MB / 3.054 GB, free: 216.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/7.259, allocations: 0.5518 MB / 3.055 GB, free: 215.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/7.263, allocations: 1.609 MB / 3.056 GB, free: 214.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003985/7.264, allocations: 33.7 kB / 3.056 GB, free: 214.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/7.265, allocations: 1.435 MB / 3.058 GB, free: 212.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006764/7.266, allocations: 0.5812 MB / 3.058 GB, free: 212.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/7.266, allocations: 0 / 3.058 GB, free: 212.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/7.266, allocations: 394.7 kB / 3.059 GB, free: 211.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/7.268, allocations: 1.086 MB / 3.06 GB, free: 210.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/7.27, allocations: 1.663 MB / 3.062 GB, free: 208.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007143/7.277, allocations: 1.826 MB / 3.063 GB, free: 206.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/7.277, allocations: 8 kB / 3.063 GB, free: 206.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01426/7.292, allocations: 4.463 MB / 3.068 GB, free: 202.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/7.293, allocations: 5.9 MB / 3.073 GB, free: 196.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/7.293, allocations: 16 kB / 3.073 GB, free: 196.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005086/7.298, allocations: 1.098 MB / 3.075 GB, free: 195 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/7.301, allocations: 0.4953 MB / 3.075 GB, free: 194.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/7.311, allocations: 5.622 MB / 3.08 GB, free: 188.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/7.314, allocations: 187.5 kB / 3.081 GB, free: 188.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/7.314, allocations: 100 kB / 3.081 GB, free: 188.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/7.314, allocations: 11.94 kB / 3.081 GB, free: 188.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01009/7.324, allocations: 2.897 MB / 3.084 GB, free: 185.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/7.325, allocations: 12 kB / 3.084 GB, free: 185.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/7.325, allocations: 31.98 kB / 3.084 GB, free: 185.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/7.328, allocations: 0.5428 MB / 3.084 GB, free: 185 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.253e-05/7.328, allocations: 31.88 kB / 3.084 GB, free: 185 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/7.331, allocations: 135.6 kB / 3.084 GB, free: 184.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004602/7.331, allocations: 103.1 kB / 3.084 GB, free: 184.7 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.0006772/7.332, allocations: 175.5 kB / 3.085 GB, free: 184.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/7.332, allocations: 209.5 kB / 3.085 GB, free: 184.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/7.347, allocations: 4.122 MB / 3.089 GB, free: 180.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/7.347, allocations: 23.94 kB / 3.089 GB, free: 180.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/7.347, allocations: 7.984 kB / 3.089 GB, free: 180.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.446e-05/7.347, allocations: 15.92 kB / 3.089 GB, free: 180.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/7.369, allocations: 9.028 MB / 3.098 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/7.369, allocations: 8 kB / 3.098 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/7.371, allocations: 347.9 kB / 3.098 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00568/7.377, allocations: 1.379 MB / 3.099 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/7.377, allocations: 23.98 kB / 3.099 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/7.39, allocations: 7.837 MB / 3.107 GB, free: 161.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/7.39, allocations: 11.94 kB / 3.107 GB, free: 161.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/7.404, allocations: 4.729 MB / 3.112 GB, free: 156.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/7.406, allocations: 0.6387 MB / 3.112 GB, free: 155.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/7.406, allocations: 12 kB / 3.112 GB, free: 155.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/7.408, allocations: 215.6 kB / 3.113 GB, free: 155.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/7.409, allocations: 152.9 kB / 3.113 GB, free: 155.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/7.409, allocations: 63.98 kB / 3.113 GB, free: 155.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00204/7.411, allocations: 1.231 MB / 3.114 GB, free: 153.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.51e-07/7.411, allocations: 0 / 3.114 GB, free: 153.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004917/7.416, allocations: 1.172 MB / 3.115 GB, free: 152.8 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.002595/7.419, allocations: 0.8399 MB / 3.116 GB, free: 152 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008954/7.428, allocations: 4.753 MB / 3.121 GB, free: 147.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/7.428, allocations: 0 / 3.121 GB, free: 147.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/7.432, allocations: 1.817 MB / 3.122 GB, free: 145.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/7.435, allocations: 423.6 kB / 3.123 GB, free: 144.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/7.446, allocations: 5.06 MB / 3.128 GB, free: 139.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002748/7.449, allocations: 2.423 MB / 3.13 GB, free: 137.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00539/7.454, allocations: 1.323 MB / 3.131 GB, free: 136 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006935/7.455, allocations: 151.4 kB / 3.131 GB, free: 135.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.077e-05/7.455, allocations: 0 / 3.131 GB, free: 135.8 MB / 0.823 GB Notification: Performance of Templates: time 0.08299/7.538, allocations: 40.05 MB / 3.171 GB, free: 96.04 MB / 0.823 GB