Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 180.2 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008982/0.0008981, allocations: 87.94 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.854e-05, allocations: 4 kB / 0.8518 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6168, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.689/5.306, allocations: 2.131 GB / 3.096 GB, free: 27.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/5.306, allocations: 114 kB / 3.096 GB, free: 27.55 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.927/6.233, allocations: 139.2 MB / 3.232 GB, free: 282.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/6.233, allocations: 0 / 3.232 GB, free: 282.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002395/6.233, allocations: 80 kB / 3.232 GB, free: 282.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.007979/6.241, allocations: 2.997 MB / 3.235 GB, free: 279.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/6.241, allocations: 12.03 kB / 3.235 GB, free: 279.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/6.247, allocations: 0.8268 MB / 3.235 GB, free: 278.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/6.251, allocations: 2.129 MB / 3.237 GB, free: 276.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/6.251, allocations: 96 kB / 3.238 GB, free: 276.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008467/6.252, allocations: 180 kB / 3.238 GB, free: 276.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006618/6.259, allocations: 3.479 MB / 3.241 GB, free: 272.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007424/6.266, allocations: 3.836 MB / 3.245 GB, free: 268.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.042e-05/6.267, allocations: 7.938 kB / 3.245 GB, free: 268.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/6.267, allocations: 7.984 kB / 3.245 GB, free: 268.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/6.267, allocations: 165.9 kB / 3.245 GB, free: 268.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/6.287, allocations: 17.83 MB / 3.262 GB, free: 249.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/6.289, allocations: 1.685 MB / 3.264 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008819/6.29, allocations: 0.8883 MB / 3.265 GB, free: 246.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/6.29, allocations: 126 kB / 3.265 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/6.291, allocations: 1.023 MB / 3.266 GB, free: 245.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 4.278e-06/6.291, allocations: 0 / 3.266 GB, free: 245.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.01589/6.307, allocations: 10.39 MB / 3.276 GB, free: 235.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/6.307, allocations: 0.5886 MB / 3.277 GB, free: 234.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/6.31, allocations: 1.675 MB / 3.278 GB, free: 232.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005175/6.311, allocations: 29.7 kB / 3.278 GB, free: 232.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/6.312, allocations: 1.47 MB / 3.28 GB, free: 231.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006148/6.313, allocations: 0.5889 MB / 3.281 GB, free: 230.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/6.313, allocations: 0 / 3.281 GB, free: 230.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001489/6.313, allocations: 394 kB / 3.281 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/6.315, allocations: 1.027 MB / 3.282 GB, free: 229.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/6.316, allocations: 1.605 MB / 3.283 GB, free: 227.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/6.318, allocations: 1.411 MB / 3.285 GB, free: 226 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/6.318, allocations: 4 kB / 3.285 GB, free: 226 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007264/6.325, allocations: 3.905 MB / 3.289 GB, free: 222.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001023/6.326, allocations: 5.839 MB / 3.294 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/6.326, allocations: 12 kB / 3.294 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/6.33, allocations: 1.097 MB / 3.295 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/6.332, allocations: 483.2 kB / 3.296 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006384/6.338, allocations: 5.596 MB / 3.301 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/6.341, allocations: 167.7 kB / 3.302 GB, free: 208.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/6.341, allocations: 95.97 kB / 3.302 GB, free: 208.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/6.341, allocations: 7.938 kB / 3.302 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003155/6.344, allocations: 2.328 MB / 3.304 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/6.344, allocations: 16.03 kB / 3.304 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/6.344, allocations: 28 kB / 3.304 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/6.346, allocations: 0.5187 MB / 3.304 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/6.346, allocations: 35.86 kB / 3.304 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/6.348, allocations: 119.7 kB / 3.305 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/6.348, allocations: 87.98 kB / 3.305 GB, free: 205 MB / 0.948 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004688/6.348, allocations: 173.6 kB / 3.305 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/6.349, allocations: 221.4 kB / 3.305 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007204/6.356, allocations: 3.646 MB / 3.309 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/6.356, allocations: 20 kB / 3.309 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/6.356, allocations: 12 kB / 3.309 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/6.356, allocations: 7.969 kB / 3.309 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/6.369, allocations: 8.558 MB / 3.317 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/6.369, allocations: 4 kB / 3.317 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/6.37, allocations: 335.5 kB / 3.317 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004238/6.374, allocations: 1.382 MB / 3.319 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/6.374, allocations: 31.97 kB / 3.319 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009458/6.384, allocations: 7.845 MB / 3.326 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/6.384, allocations: 15.92 kB / 3.326 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/6.391, allocations: 4.29 MB / 3.331 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/6.393, allocations: 0.631 MB / 3.331 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/6.393, allocations: 11.98 kB / 3.331 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/6.395, allocations: 191.7 kB / 3.331 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/6.395, allocations: 161.6 kB / 3.332 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/6.395, allocations: 64.22 kB / 3.332 GB, free: 176.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001562/6.397, allocations: 1.272 MB / 3.333 GB, free: 175.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.397, allocations: 4 kB / 3.333 GB, free: 175.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003432/6.4, allocations: 1.113 MB / 3.334 GB, free: 174.4 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 162 * 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 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/6.401, allocations: 0.6407 MB / 3.335 GB, free: 173.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005526/6.407, allocations: 4.118 MB / 3.339 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/6.407, allocations: 8.125 kB / 3.339 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/6.409, allocations: 1.768 MB / 3.34 GB, free: 168 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/6.412, allocations: 0.5044 MB / 3.341 GB, free: 167.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/6.42, allocations: 5.095 MB / 3.346 GB, free: 162.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/6.422, allocations: 2.454 MB / 3.348 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003581/6.426, allocations: 1.297 MB / 3.349 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/6.426, allocations: 151.3 kB / 3.35 GB, free: 158.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.332e-06/6.426, allocations: 0 / 3.35 GB, free: 158.3 MB / 0.948 GB Notification: Performance of Templates: time 0.05229/6.478, allocations: 40.03 MB / 3.389 GB, free: 118.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)