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_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00111/0.00111, allocations: 186 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.000961/0.0009609, allocations: 90.34 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003853, allocations: 11.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3025, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.977/6.279, allocations: 2.25 GB / 3.15 GB, free: 322 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/6.28, allocations: 114.3 kB / 3.15 GB, free: 322 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.3157/6.596, allocations: 146.8 MB / 3.294 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.054e-06/6.596, allocations: 0 / 3.294 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002031/6.596, allocations: 87.92 kB / 3.294 GB, free: 185.1 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.006061/6.602, allocations: 3.318 MB / 3.297 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/6.602, allocations: 8.031 kB / 3.297 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007154/6.603, allocations: 454.6 kB / 3.297 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/6.607, allocations: 0.8307 MB / 3.298 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/6.611, allocations: 2.146 MB / 3.3 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/6.611, allocations: 234 kB / 3.301 GB, free: 178 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/6.611, allocations: 295.9 kB / 3.301 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/6.618, allocations: 4.349 MB / 3.305 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.865e-05/6.618, allocations: 7.938 kB / 3.305 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/6.618, allocations: 128 kB / 3.305 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/6.618, allocations: 169.9 kB / 3.305 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006403/6.625, allocations: 3.985 MB / 3.309 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01798/6.643, allocations: 18.57 MB / 3.327 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/6.645, allocations: 1.81 MB / 3.329 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/6.645, allocations: 126.4 kB / 3.329 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/6.646, allocations: 1.095 MB / 3.33 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=147): time 3.777e-06/6.646, allocations: 0 / 3.33 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=182): time 0.02647/6.673, allocations: 13.44 MB / 3.343 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/6.673, allocations: 0.5886 MB / 3.344 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/6.676, allocations: 1.862 MB / 3.346 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000338/6.676, allocations: 57.7 kB / 3.346 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009604/6.677, allocations: 1.467 MB / 3.347 GB, free: 128 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004271/6.678, allocations: 0.6123 MB / 3.348 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/6.678, allocations: 44 kB / 3.348 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/6.678, allocations: 386 kB / 3.348 GB, free: 127 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/6.679, allocations: 1.101 MB / 3.349 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/6.681, allocations: 1.69 MB / 3.351 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/6.682, allocations: 1.395 MB / 3.352 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/6.683, allocations: 4 kB / 3.352 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008499/6.691, allocations: 4.329 MB / 3.357 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008486/6.692, allocations: 5.866 MB / 3.362 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/6.692, allocations: 20 kB / 3.362 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006012/6.698, allocations: 1.577 MB / 3.364 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/6.7, allocations: 483.2 kB / 3.364 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007653/6.708, allocations: 6.12 MB / 3.37 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/6.71, allocations: 203.5 kB / 3.371 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/6.711, allocations: 104 kB / 3.371 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/6.711, allocations: 8 kB / 3.371 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006818/6.718, allocations: 3.6 MB / 3.374 GB, free: 99.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/6.718, allocations: 16 kB / 3.374 GB, free: 99.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/6.721, allocations: 1.03 MB / 3.375 GB, free: 98.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/6.723, allocations: 0.4914 MB / 3.376 GB, free: 98.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/6.73, allocations: 5.14 MB / 3.381 GB, free: 92.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/6.732, allocations: 175.8 kB / 3.381 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/6.733, allocations: 91.97 kB / 3.381 GB, free: 92.48 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: 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.002605/6.735, allocations: 1.238 MB / 3.382 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005513/6.736, allocations: 225.3 kB / 3.382 GB, free: 91.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008312/6.744, allocations: 3.873 MB / 3.386 GB, free: 87.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/6.744, allocations: 20 kB / 3.386 GB, free: 87.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/6.744, allocations: 4 kB / 3.386 GB, free: 87.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/6.744, allocations: 15.97 kB / 3.386 GB, free: 87.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/6.762, allocations: 9.408 MB / 3.395 GB, free: 77.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-05/6.762, allocations: 4 kB / 3.395 GB, free: 77.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/6.763, allocations: 335.5 kB / 3.396 GB, free: 77.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005504/6.769, allocations: 1.521 MB / 3.397 GB, free: 75.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/6.769, allocations: 47.98 kB / 3.397 GB, free: 75.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/6.779, allocations: 8.663 MB / 3.406 GB, free: 66.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/6.779, allocations: 11.94 kB / 3.406 GB, free: 66.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/6.787, allocations: 4.515 MB / 3.41 GB, free: 61.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/6.789, allocations: 0.6387 MB / 3.411 GB, free: 61.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/6.79, allocations: 43.98 kB / 3.411 GB, free: 61.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/6.792, allocations: 179.8 kB / 3.411 GB, free: 60.94 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004374/6.792, allocations: 149.7 kB / 3.411 GB, free: 60.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/6.792, allocations: 63.98 kB / 3.411 GB, free: 60.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00218/6.795, allocations: 1.45 MB / 3.413 GB, free: 59.26 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/6.795, allocations: 0 / 3.413 GB, free: 59.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004866/6.799, allocations: 1.269 MB / 3.414 GB, free: 57.99 MB / 0.8855 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.01026/6.81, allocations: 7.296 MB / 3.421 GB, free: 50.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008653/6.818, allocations: 4.889 MB / 3.426 GB, free: 45.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/6.819, allocations: 320 / 3.426 GB, free: 45.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/6.822, allocations: 1.884 MB / 3.428 GB, free: 43.84 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/6.825, allocations: 0.5349 MB / 3.428 GB, free: 43.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/6.842, allocations: 19.45 MB / 3.447 GB, free: 23.19 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/6.844, allocations: 2.465 MB / 3.449 GB, free: 20.69 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003101/6.847, allocations: 1.009 MB / 3.45 GB, free: 19.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/6.849, allocations: 1.23 MB / 3.452 GB, free: 18.45 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/6.849, allocations: 4 kB / 3.452 GB, free: 18.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5142/7.363, allocations: 66.28 MB / 3.516 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/7.363, allocations: 295.2 kB / 3.517 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.999/11.36, allocations: 0 / 3.517 GB, free: 234.6 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)