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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.897/1.897, allocations: 285.4 MB / 298 MB, free: 5.926 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.001137/0.001137, allocations: 176.8 kB / 366.4 MB, free: 2.086 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.718/1.718, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008589/0.0008589, allocations: 99.67 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.737e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8511/0.8511, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.469/7.32, allocations: 2.132 GB / 3.103 GB, free: 342.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/7.32, allocations: 102 kB / 3.103 GB, free: 342.7 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.339/7.659, allocations: 146.2 MB / 3.246 GB, free: 230.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/7.66, allocations: 0 / 3.246 GB, free: 230.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00028/7.66, allocations: 83.92 kB / 3.246 GB, free: 230.3 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.009997/7.67, allocations: 2.985 MB / 3.249 GB, free: 227.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/7.67, allocations: 12.03 kB / 3.249 GB, free: 227.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/7.671, allocations: 454.6 kB / 3.249 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005097/7.677, allocations: 0.8384 MB / 3.25 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005273/7.682, allocations: 2.122 MB / 3.252 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/7.682, allocations: 234 kB / 3.252 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007918/7.683, allocations: 296 kB / 3.253 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008146/7.691, allocations: 4.28 MB / 3.257 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-05/7.691, allocations: 15.83 kB / 3.257 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003888/7.692, allocations: 124 kB / 3.257 GB, free: 218.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/7.692, allocations: 165.9 kB / 3.257 GB, free: 218.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00645/7.698, allocations: 3.884 MB / 3.261 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/7.721, allocations: 18.59 MB / 3.279 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/7.723, allocations: 1.748 MB / 3.281 GB, free: 192.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/7.724, allocations: 0.9195 MB / 3.282 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/7.724, allocations: 130.4 kB / 3.282 GB, free: 191.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/7.726, allocations: 1.068 MB / 3.283 GB, free: 190.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 3.797e-06/7.726, allocations: 0 / 3.283 GB, free: 190.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.03417/7.76, allocations: 12.01 MB / 3.294 GB, free: 178.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002455/7.76, allocations: 0.5808 MB / 3.295 GB, free: 177.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004903/7.765, allocations: 1.843 MB / 3.297 GB, free: 175.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006639/7.766, allocations: 57.7 kB / 3.297 GB, free: 175.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/7.768, allocations: 1.471 MB / 3.298 GB, free: 174.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009501/7.769, allocations: 0.6201 MB / 3.299 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/7.769, allocations: 40 kB / 3.299 GB, free: 173.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002054/7.769, allocations: 386.1 kB / 3.299 GB, free: 173.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/7.772, allocations: 1.07 MB / 3.3 GB, free: 172.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/7.774, allocations: 1.66 MB / 3.302 GB, free: 170.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/7.777, allocations: 1.359 MB / 3.303 GB, free: 169 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/7.777, allocations: 4 kB / 3.303 GB, free: 169 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.0122/7.789, allocations: 4.181 MB / 3.307 GB, free: 164.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001918/7.791, allocations: 5.875 MB / 3.313 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-05/7.791, allocations: 16 kB / 3.313 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00706/7.798, allocations: 1.44 MB / 3.315 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/7.802, allocations: 483.2 kB / 3.315 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009807/7.811, allocations: 5.845 MB / 3.321 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/7.815, allocations: 211.5 kB / 3.321 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/7.816, allocations: 95.91 kB / 3.321 GB, free: 150.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/7.816, allocations: 4 kB / 3.321 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01003/7.826, allocations: 3.459 MB / 3.324 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.147e-05/7.826, allocations: 16.66 kB / 3.324 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004192/7.83, allocations: 0.8887 MB / 3.325 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/7.833, allocations: 0.4953 MB / 3.326 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00935/7.843, allocations: 4.863 MB / 3.331 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/7.846, allocations: 175.7 kB / 3.331 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006706/7.847, allocations: 95.97 kB / 3.331 GB, free: 140 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.0009218/7.848, allocations: 249.4 kB / 3.331 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/7.849, allocations: 217.4 kB / 3.331 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/7.86, allocations: 3.752 MB / 3.335 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/7.86, allocations: 24 kB / 3.335 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/7.86, allocations: 11.98 kB / 3.335 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/7.86, allocations: 11.97 kB / 3.335 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/7.876, allocations: 9.26 MB / 3.344 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/7.876, allocations: 8 kB / 3.344 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/7.877, allocations: 331.7 kB / 3.344 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004367/7.881, allocations: 1.397 MB / 3.346 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/7.881, allocations: 51.97 kB / 3.346 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009761/7.891, allocations: 8.215 MB / 3.354 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/7.891, allocations: 15.88 kB / 3.354 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007804/7.899, allocations: 4.383 MB / 3.358 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/7.901, allocations: 0.6464 MB / 3.359 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/7.901, allocations: 44 kB / 3.359 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/7.903, allocations: 179.8 kB / 3.359 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/7.903, allocations: 149.7 kB / 3.359 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/7.903, allocations: 67.98 kB / 3.359 GB, free: 110.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002013/7.905, allocations: 1.42 MB / 3.36 GB, free: 108.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/7.905, allocations: 4 kB / 3.36 GB, free: 108.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00409/7.909, allocations: 1.265 MB / 3.362 GB, free: 107.5 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.00912/7.918, allocations: 7.117 MB / 3.369 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008163/7.927, allocations: 4.831 MB / 3.373 GB, free: 95.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/7.927, allocations: 1.938 kB / 3.373 GB, free: 95.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003082/7.93, allocations: 1.84 MB / 3.375 GB, free: 93.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/7.933, allocations: 0.5504 MB / 3.376 GB, free: 93.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/7.946, allocations: 6.106 MB / 3.382 GB, free: 86.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/7.948, allocations: 2.453 MB / 3.384 GB, free: 84.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003755/7.952, allocations: 1.301 MB / 3.385 GB, free: 83 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/7.953, allocations: 1.201 MB / 3.387 GB, free: 81.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.565e-06/7.953, allocations: 0 / 3.387 GB, free: 81.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/8.066, allocations: 69.63 MB / 3.455 GB, free: 12.58 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/8.067, allocations: 266.7 kB / 3.455 GB, free: 12.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.421/12.49, allocations: 0 / 3.455 GB, free: 12.24 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)