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.642/1.642, allocations: 285.4 MB / 298 MB, free: 6.008 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.001242/0.001242, allocations: 172.9 kB / 366.4 MB, free: 2.098 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.466/1.466, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0007767/0.0007769, allocations: 93.47 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.02e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5907/0.5908, allocations: 115.3 MB / 0.9709 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.182/5.773, allocations: 2.132 GB / 3.103 GB, free: 342.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/5.773, allocations: 112.8 kB / 3.103 GB, free: 342.3 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.3437/6.117, allocations: 147.3 MB / 3.247 GB, free: 229.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.903e-06/6.117, allocations: 0 / 3.247 GB, free: 229.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002313/6.117, allocations: 83.92 kB / 3.247 GB, free: 229.2 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.008046/6.125, allocations: 2.981 MB / 3.25 GB, free: 226.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/6.125, allocations: 8.031 kB / 3.25 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005405/6.131, allocations: 0.8384 MB / 3.25 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/6.136, allocations: 2.118 MB / 3.253 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/6.137, allocations: 230 kB / 3.253 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000929/6.138, allocations: 296 kB / 3.253 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00892/6.147, allocations: 4.288 MB / 3.257 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.969e-05/6.147, allocations: 15.84 kB / 3.257 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/6.147, allocations: 128 kB / 3.257 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/6.147, allocations: 173.9 kB / 3.258 GB, free: 217.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/6.154, allocations: 3.877 MB / 3.261 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/6.179, allocations: 18.58 MB / 3.279 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/6.181, allocations: 1.748 MB / 3.281 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/6.182, allocations: 0.9223 MB / 3.282 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/6.182, allocations: 134.4 kB / 3.282 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/6.184, allocations: 1.06 MB / 3.283 GB, free: 190.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 3.858e-06/6.184, allocations: 0 / 3.283 GB, free: 190.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.02377/6.207, allocations: 12.02 MB / 3.295 GB, free: 177.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/6.208, allocations: 0.5808 MB / 3.296 GB, free: 177.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/6.21, allocations: 1.839 MB / 3.297 GB, free: 175.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003449/6.211, allocations: 65.7 kB / 3.297 GB, free: 175.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/6.212, allocations: 1.459 MB / 3.299 GB, free: 173.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/6.213, allocations: 0.6201 MB / 3.299 GB, free: 173.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/6.213, allocations: 40 kB / 3.299 GB, free: 173.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001297/6.213, allocations: 394.1 kB / 3.3 GB, free: 172.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/6.214, allocations: 1.066 MB / 3.301 GB, free: 171.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/6.216, allocations: 1.66 MB / 3.302 GB, free: 169.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/6.217, allocations: 1.367 MB / 3.304 GB, free: 168.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/6.217, allocations: 4 kB / 3.304 GB, free: 168.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007826/6.225, allocations: 4.181 MB / 3.308 GB, free: 164.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001092/6.226, allocations: 5.875 MB / 3.314 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/6.226, allocations: 12 kB / 3.314 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004636/6.231, allocations: 1.436 MB / 3.315 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/6.233, allocations: 491.2 kB / 3.316 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006961/6.24, allocations: 5.838 MB / 3.321 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/6.243, allocations: 215.5 kB / 3.321 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/6.243, allocations: 92.06 kB / 3.322 GB, free: 149.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/6.243, allocations: 4 kB / 3.322 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006188/6.249, allocations: 3.463 MB / 3.325 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/6.249, allocations: 20.64 kB / 3.325 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/6.252, allocations: 0.889 MB / 3.326 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/6.254, allocations: 0.4953 MB / 3.326 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/6.26, allocations: 4.859 MB / 3.331 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/6.263, allocations: 183.6 kB / 3.331 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/6.263, allocations: 87.98 kB / 3.331 GB, free: 139.4 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.0006537/6.264, allocations: 241 kB / 3.332 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/6.264, allocations: 217.4 kB / 3.332 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008117/6.272, allocations: 3.748 MB / 3.335 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/6.272, allocations: 27.94 kB / 3.335 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/6.272, allocations: 8.125 kB / 3.335 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/6.272, allocations: 19.91 kB / 3.335 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/6.287, allocations: 9.259 MB / 3.344 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/6.287, allocations: 8.75 kB / 3.344 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/6.288, allocations: 335.5 kB / 3.345 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004517/6.293, allocations: 1.39 MB / 3.346 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/6.293, allocations: 51.97 kB / 3.346 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009728/6.302, allocations: 8.212 MB / 3.354 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/6.303, allocations: 11.94 kB / 3.354 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007722/6.31, allocations: 4.383 MB / 3.359 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/6.312, allocations: 0.6465 MB / 3.359 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/6.312, allocations: 40 kB / 3.359 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/6.314, allocations: 175.8 kB / 3.359 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/6.314, allocations: 157.6 kB / 3.36 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/6.314, allocations: 64.23 kB / 3.36 GB, free: 109.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002086/6.316, allocations: 1.428 MB / 3.361 GB, free: 108.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/6.316, allocations: 4 kB / 3.361 GB, free: 108.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004247/6.321, allocations: 1.261 MB / 3.362 GB, free: 106.9 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.001581/6.322, allocations: 0.694 MB / 3.363 GB, free: 106.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008092/6.33, allocations: 4.825 MB / 3.368 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/6.33, allocations: 8.062 kB / 3.368 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00291/6.333, allocations: 1.844 MB / 3.369 GB, free: 99.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/6.336, allocations: 0.5514 MB / 3.37 GB, free: 99.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008954/6.345, allocations: 5.221 MB / 3.375 GB, free: 93.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/6.347, allocations: 2.462 MB / 3.377 GB, free: 91.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003924/6.351, allocations: 1.309 MB / 3.379 GB, free: 89.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/6.352, allocations: 147.4 kB / 3.379 GB, free: 89.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.674e-06/6.352, allocations: 0 / 3.379 GB, free: 89.79 MB / 0.948 GB Notification: Performance of Templates: time 0.06511/6.417, allocations: 45.75 MB / 3.424 GB, free: 44.22 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)