Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009047/0.0009048, allocations: 183.5 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 0.5785 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008441/0.000844, allocations: 99.59 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003908, allocations: 12.88 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2075, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.848/5.056, allocations: 2.248 GB / 3.15 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/5.056, allocations: 115 kB / 3.15 GB, free: 320.7 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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.3254/5.382, allocations: 156.7 MB / 3.303 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/5.382, allocations: 0 / 3.303 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003344/5.382, allocations: 83.94 kB / 3.303 GB, free: 194.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.008919/5.391, allocations: 3.396 MB / 3.306 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/5.391, allocations: 8.031 kB / 3.306 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/5.396, allocations: 0.833 MB / 3.307 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005466/5.401, allocations: 2.365 MB / 3.309 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/5.402, allocations: 230.2 kB / 3.309 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/5.403, allocations: 307.8 kB / 3.31 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/5.413, allocations: 4.447 MB / 3.314 GB, free: 183 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/5.414, allocations: 7.938 kB / 3.314 GB, free: 183 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008684/5.414, allocations: 132 kB / 3.314 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/5.415, allocations: 178 kB / 3.314 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007431/5.422, allocations: 4.017 MB / 3.318 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/5.446, allocations: 19.87 MB / 3.338 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/5.449, allocations: 1.861 MB / 3.34 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/5.45, allocations: 0.9694 MB / 3.341 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/5.451, allocations: 130.4 kB / 3.341 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/5.452, allocations: 1.112 MB / 3.342 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=150): time 5.951e-06/5.452, allocations: 0 / 3.342 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=187): time 0.03533/5.487, allocations: 14.12 MB / 3.356 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/5.488, allocations: 0.5139 MB / 3.356 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/5.491, allocations: 2.285 MB / 3.358 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004482/5.492, allocations: 57.7 kB / 3.358 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/5.493, allocations: 1.512 MB / 3.36 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007188/5.494, allocations: 0.62 MB / 3.36 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/5.494, allocations: 40 kB / 3.36 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001424/5.494, allocations: 385.9 kB / 3.361 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/5.496, allocations: 1.124 MB / 3.362 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/5.498, allocations: 1.671 MB / 3.364 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05067/5.548, allocations: 14.53 MB / 3.378 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/5.548, allocations: 4 kB / 3.378 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01201/5.561, allocations: 5.07 MB / 3.383 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/5.561, allocations: 432.1 kB / 3.383 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/5.561, allocations: 12 kB / 3.383 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00873/5.569, allocations: 2.42 MB / 3.385 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/5.571, allocations: 467.3 kB / 3.386 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/5.587, allocations: 14.03 MB / 3.4 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/5.589, allocations: 219.6 kB / 3.4 GB, free: 91.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/5.589, allocations: 87.97 kB / 3.4 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/5.589, allocations: 4 kB / 3.4 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009161/5.598, allocations: 4.116 MB / 3.404 GB, free: 87.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/5.598, allocations: 12 kB / 3.404 GB, free: 87.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005699/5.604, allocations: 1.606 MB / 3.406 GB, free: 86.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/5.606, allocations: 487.2 kB / 3.406 GB, free: 85.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009199/5.615, allocations: 7.971 MB / 3.414 GB, free: 77.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/5.617, allocations: 183.8 kB / 3.414 GB, free: 76.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004018/5.618, allocations: 79.98 kB / 3.414 GB, free: 76.91 MB / 0.8855 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: 51 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002451/5.62, allocations: 1.272 MB / 3.415 GB, free: 75.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005954/5.621, allocations: 229.2 kB / 3.415 GB, free: 75.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/5.632, allocations: 4.757 MB / 3.42 GB, free: 70.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/5.632, allocations: 20 kB / 3.42 GB, free: 70.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/5.632, allocations: 8 kB / 3.42 GB, free: 70.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/5.632, allocations: 15.89 kB / 3.42 GB, free: 70.56 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/5.649, allocations: 9.838 MB / 3.43 GB, free: 60.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/5.649, allocations: 4 kB / 3.43 GB, free: 60.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/5.65, allocations: 356.1 kB / 3.43 GB, free: 60.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007885/5.658, allocations: 2.225 MB / 3.432 GB, free: 57.96 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/5.658, allocations: 43.98 kB / 3.432 GB, free: 57.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/5.672, allocations: 13.61 MB / 3.446 GB, free: 43.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/5.672, allocations: 11.94 kB / 3.446 GB, free: 43.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/5.683, allocations: 4.75 MB / 3.45 GB, free: 38.65 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/5.685, allocations: 0.6894 MB / 3.451 GB, free: 37.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/5.685, allocations: 40 kB / 3.451 GB, free: 37.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/5.687, allocations: 211.7 kB / 3.451 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/5.688, allocations: 161.7 kB / 3.451 GB, free: 37.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/5.688, allocations: 59.98 kB / 3.451 GB, free: 37.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002565/5.69, allocations: 1.602 MB / 3.453 GB, free: 35.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/5.691, allocations: 0 / 3.453 GB, free: 35.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004588/5.695, allocations: 1.316 MB / 3.454 GB, free: 34.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 176 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/5.697, allocations: 0.7472 MB / 3.455 GB, free: 33.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009562/5.706, allocations: 5.909 MB / 3.461 GB, free: 27.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/5.706, allocations: 4.375 kB / 3.461 GB, free: 27.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003892/5.71, allocations: 2.425 MB / 3.463 GB, free: 25.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/5.715, allocations: 0.6047 MB / 3.464 GB, free: 24.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/5.727, allocations: 7.894 MB / 3.471 GB, free: 16.84 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003336/5.731, allocations: 2.472 MB / 3.474 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003575/5.734, allocations: 1.006 MB / 3.475 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008318/5.735, allocations: 203.3 kB / 3.475 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of SimCode: time 8.32e-07/5.735, allocations: 7.938 kB / 3.475 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of Templates: time 0.484/6.219, allocations: 49.77 MB / 3.524 GB, free: 231.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)