Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001108/0.001109, allocations: 183.5 kB / 371.6 MB, free: 3.395 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.55/1.55, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.000859/0.000859, allocations: 92.28 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.187e-05/5.197e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2507, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/6.069, allocations: 2.133 GB / 3.113 GB, free: 63.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/6.069, allocations: 112.5 kB / 3.113 GB, free: 63.78 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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 1.058/7.128, allocations: 153.1 MB / 3.262 GB, free: 235.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.206e-06/7.128, allocations: 0 / 3.262 GB, free: 235.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002412/7.128, allocations: 90.38 kB / 3.262 GB, free: 235.4 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.007681/7.136, allocations: 2.997 MB / 3.265 GB, free: 233.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/7.136, allocations: 9.719 kB / 3.265 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/7.141, allocations: 0.8307 MB / 3.266 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005428/7.146, allocations: 2.125 MB / 3.268 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/7.147, allocations: 229.5 kB / 3.268 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006268/7.147, allocations: 304.4 kB / 3.269 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007653/7.155, allocations: 4.286 MB / 3.273 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.395e-05/7.155, allocations: 0 / 3.273 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/7.155, allocations: 130 kB / 3.273 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002542/7.156, allocations: 170 kB / 3.273 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007447/7.163, allocations: 3.883 MB / 3.277 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02859/7.192, allocations: 18.58 MB / 3.295 GB, free: 215.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/7.195, allocations: 1.757 MB / 3.297 GB, free: 214.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/7.197, allocations: 0.9299 MB / 3.298 GB, free: 214.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/7.197, allocations: 127.7 kB / 3.298 GB, free: 214.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/7.199, allocations: 1.065 MB / 3.299 GB, free: 214 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 8.416e-06/7.199, allocations: 112 / 3.299 GB, free: 214 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.02926/7.229, allocations: 12.02 MB / 3.311 GB, free: 208 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/7.229, allocations: 0.5814 MB / 3.311 GB, free: 207.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/7.233, allocations: 1.845 MB / 3.313 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000525/7.233, allocations: 58.8 kB / 3.313 GB, free: 206.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/7.235, allocations: 1.477 MB / 3.315 GB, free: 205.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007257/7.236, allocations: 0.6065 MB / 3.315 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/7.236, allocations: 40.78 kB / 3.315 GB, free: 204.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001545/7.236, allocations: 395.7 kB / 3.316 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/7.238, allocations: 1.063 MB / 3.317 GB, free: 204.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/7.24, allocations: 1.662 MB / 3.318 GB, free: 203 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/7.241, allocations: 1.361 MB / 3.32 GB, free: 202.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/7.241, allocations: 7.562 kB / 3.32 GB, free: 202.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008354/7.25, allocations: 4.183 MB / 3.324 GB, free: 201.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001182/7.251, allocations: 5.871 MB / 3.329 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/7.251, allocations: 13.34 kB / 3.329 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/7.256, allocations: 1.441 MB / 3.331 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/7.258, allocations: 487.8 kB / 3.331 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007272/7.265, allocations: 5.851 MB / 3.337 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/7.268, allocations: 209 kB / 3.337 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/7.268, allocations: 93.78 kB / 3.337 GB, free: 190.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/7.269, allocations: 3.906 kB / 3.337 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007058/7.276, allocations: 3.459 MB / 3.341 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.534e-05/7.276, allocations: 23.48 kB / 3.341 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/7.279, allocations: 0.8868 MB / 3.342 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/7.28, allocations: 0.4967 MB / 3.342 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006238/7.287, allocations: 4.858 MB / 3.347 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/7.289, allocations: 178.8 kB / 3.347 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/7.29, allocations: 96.06 kB / 3.347 GB, free: 186.6 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.0007204/7.29, allocations: 244.8 kB / 3.347 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/7.291, allocations: 230.3 kB / 3.347 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007898/7.299, allocations: 3.748 MB / 3.351 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/7.299, allocations: 21.91 kB / 3.351 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/7.299, allocations: 3.594 kB / 3.351 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/7.299, allocations: 15.02 kB / 3.351 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/7.314, allocations: 9.259 MB / 3.36 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/7.314, allocations: 15.95 kB / 3.36 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/7.316, allocations: 335.5 kB / 3.361 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004535/7.32, allocations: 1.393 MB / 3.362 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/7.321, allocations: 56.31 kB / 3.362 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/7.331, allocations: 8.221 MB / 3.37 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/7.331, allocations: 11.25 kB / 3.37 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008577/7.34, allocations: 4.38 MB / 3.374 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/7.342, allocations: 0.6426 MB / 3.375 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000412/7.342, allocations: 47.3 kB / 3.375 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/7.344, allocations: 183.2 kB / 3.375 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/7.344, allocations: 149.1 kB / 3.375 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/7.344, allocations: 62.31 kB / 3.375 GB, free: 173 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002169/7.347, allocations: 1.425 MB / 3.377 GB, free: 172.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/7.347, allocations: 0 / 3.377 GB, free: 172.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004513/7.351, allocations: 1.274 MB / 3.378 GB, free: 172.2 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.001591/7.353, allocations: 0.6835 MB / 3.379 GB, free: 171.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008068/7.361, allocations: 4.834 MB / 3.383 GB, free: 167.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/7.361, allocations: 0 / 3.383 GB, free: 167.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003042/7.364, allocations: 1.844 MB / 3.385 GB, free: 165.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/7.367, allocations: 0.5569 MB / 3.386 GB, free: 165.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009807/7.377, allocations: 5.222 MB / 3.391 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/7.379, allocations: 2.47 MB / 3.393 GB, free: 157.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004016/7.383, allocations: 1.297 MB / 3.394 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/7.383, allocations: 155.4 kB / 3.395 GB, free: 156.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.733e-06/7.383, allocations: 0 / 3.395 GB, free: 156.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06809/7.452, allocations: 45.94 MB / 3.439 GB, free: 110.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)