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.75/1.75, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001082/0.001081, allocations: 186 kB / 371.8 MB, free: 10.29 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.852/1.852, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 82.83 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.000431, allocations: 11.03 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3113, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.804/6.115, allocations: 2.132 GB / 3.111 GB, free: 192.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/6.115, allocations: 119.9 kB / 3.111 GB, free: 192.8 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.3172/6.433, allocations: 147.9 MB / 3.256 GB, free: 43.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.194e-06/6.433, allocations: 0 / 3.256 GB, free: 43.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002505/6.433, allocations: 83.98 kB / 3.256 GB, free: 43.55 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.008214/6.441, allocations: 3.31 MB / 3.259 GB, free: 40.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/6.441, allocations: 12.02 kB / 3.259 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/6.446, allocations: 0.8307 MB / 3.26 GB, free: 39.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/6.451, allocations: 2.138 MB / 3.262 GB, free: 37.13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/6.452, allocations: 238 kB / 3.262 GB, free: 36.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/6.453, allocations: 300 kB / 3.263 GB, free: 36.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/6.463, allocations: 4.338 MB / 3.267 GB, free: 32.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/6.464, allocations: 11.92 kB / 3.267 GB, free: 32.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009309/6.465, allocations: 128 kB / 3.267 GB, free: 31.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/6.465, allocations: 173.9 kB / 3.267 GB, free: 31.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007922/6.473, allocations: 3.977 MB / 3.271 GB, free: 27.83 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/6.493, allocations: 18.58 MB / 3.289 GB, free: 7.793 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/6.496, allocations: 1.814 MB / 3.291 GB, free: 5.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/6.496, allocations: 130.4 kB / 3.291 GB, free: 5.836 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/6.497, allocations: 1.095 MB / 3.292 GB, free: 4.691 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 4.959e-06/6.497, allocations: 4 kB / 3.292 GB, free: 4.688 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.4245/6.922, allocations: 13.43 MB / 3.305 GB, free: 252.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/6.922, allocations: 0.5841 MB / 3.306 GB, free: 251.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/6.925, allocations: 1.863 MB / 3.308 GB, free: 251.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/6.926, allocations: 58.77 kB / 3.308 GB, free: 251.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/6.927, allocations: 1.461 MB / 3.309 GB, free: 250.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/6.927, allocations: 0.6149 MB / 3.31 GB, free: 250.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/6.928, allocations: 38.38 kB / 3.31 GB, free: 250.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001306/6.928, allocations: 388.8 kB / 3.31 GB, free: 250.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/6.929, allocations: 1.101 MB / 3.311 GB, free: 250.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/6.932, allocations: 1.695 MB / 3.313 GB, free: 249.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/6.934, allocations: 1.391 MB / 3.314 GB, free: 249.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/6.934, allocations: 4.594 kB / 3.314 GB, free: 249.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009743/6.943, allocations: 4.33 MB / 3.318 GB, free: 249.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009141/6.944, allocations: 5.867 MB / 3.324 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/6.944, allocations: 15.5 kB / 3.324 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006606/6.951, allocations: 1.575 MB / 3.326 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/6.953, allocations: 486.7 kB / 3.326 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00813/6.961, allocations: 6.123 MB / 3.332 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/6.964, allocations: 209.5 kB / 3.332 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/6.964, allocations: 92.83 kB / 3.332 GB, free: 241.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/6.964, allocations: 10.28 kB / 3.332 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007776/6.972, allocations: 3.6 MB / 3.336 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-05/6.972, allocations: 15 kB / 3.336 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/6.976, allocations: 1.03 MB / 3.337 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/6.978, allocations: 499.7 kB / 3.337 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007711/6.986, allocations: 5.142 MB / 3.343 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/6.988, allocations: 175.8 kB / 3.343 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/6.988, allocations: 90.45 kB / 3.343 GB, free: 240 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 = 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: 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 () * Number of clocked 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.002319/6.991, allocations: 1.235 MB / 3.344 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/6.991, allocations: 225.9 kB / 3.344 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008719/7, allocations: 3.877 MB / 3.348 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/7, allocations: 25.36 kB / 3.348 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/7, allocations: 9.047 kB / 3.348 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/7, allocations: 11.02 kB / 3.348 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/7.016, allocations: 9.389 MB / 3.357 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.272e-05/7.016, allocations: 6.031 kB / 3.357 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/7.017, allocations: 334.3 kB / 3.358 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005618/7.023, allocations: 1.524 MB / 3.359 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/7.023, allocations: 52.5 kB / 3.359 GB, free: 238.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/7.034, allocations: 8.659 MB / 3.368 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/7.034, allocations: 8.688 kB / 3.368 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008346/7.042, allocations: 4.518 MB / 3.372 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/7.044, allocations: 0.6337 MB / 3.373 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/7.045, allocations: 44.19 kB / 3.373 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/7.046, allocations: 191 kB / 3.373 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/7.046, allocations: 157 kB / 3.373 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/7.047, allocations: 62.05 kB / 3.373 GB, free: 230.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001831/7.048, allocations: 1.446 MB / 3.374 GB, free: 230.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/7.048, allocations: 0 / 3.374 GB, free: 230.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004583/7.053, allocations: 1.263 MB / 3.376 GB, free: 230.1 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) * Number of clocked states: 0 () * 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.001453/7.054, allocations: 0.7448 MB / 3.376 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00779/7.062, allocations: 4.885 MB / 3.381 GB, free: 228.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/7.062, allocations: 3.656 kB / 3.381 GB, free: 228.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00307/7.065, allocations: 1.879 MB / 3.383 GB, free: 227.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/7.068, allocations: 0.5565 MB / 3.383 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/7.079, allocations: 7.637 MB / 3.391 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/7.081, allocations: 2.459 MB / 3.393 GB, free: 222.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002977/7.084, allocations: 1.012 MB / 3.394 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/7.084, allocations: 182.8 kB / 3.395 GB, free: 222.1 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/7.084, allocations: 0 / 3.395 GB, free: 222.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06244/7.147, allocations: 43.04 MB / 3.437 GB, free: 219.9 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)