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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",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.554/1.554, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 174.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0008356/0.0008358, allocations: 88.34 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.023e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2337, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.598/6.832, allocations: 2.248 GB / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/6.832, allocations: 107.9 kB / 3.14 GB, free: 118.6 MB / 0.8698 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 1.021/7.853, allocations: 155.5 MB / 3.292 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.314e-06/7.853, allocations: 0 / 3.292 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000366/7.854, allocations: 85.06 kB / 3.292 GB, free: 231.8 MB / 0.8698 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.01268/7.866, allocations: 3.072 MB / 3.295 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/7.866, allocations: 10.31 kB / 3.295 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001743/7.868, allocations: 466.4 kB / 3.296 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00632/7.875, allocations: 0.8239 MB / 3.296 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007537/7.882, allocations: 2.268 MB / 3.299 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/7.882, allocations: 240 kB / 3.299 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/7.884, allocations: 308.8 kB / 3.299 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/7.894, allocations: 4.351 MB / 3.303 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.402e-05/7.894, allocations: 9.438 kB / 3.303 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004146/7.895, allocations: 136.4 kB / 3.304 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/7.895, allocations: 177.1 kB / 3.304 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/7.903, allocations: 3.923 MB / 3.308 GB, free: 229 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02608/7.929, allocations: 19.86 MB / 3.327 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/7.932, allocations: 1.825 MB / 3.329 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/7.933, allocations: 0.9384 MB / 3.33 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/7.933, allocations: 131 kB / 3.33 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/7.935, allocations: 1.091 MB / 3.331 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 4.438e-06/7.935, allocations: 0 / 3.331 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=187): time 0.03045/7.965, allocations: 11.84 MB / 3.342 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/7.965, allocations: 0.5116 MB / 3.343 GB, free: 210 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/7.969, allocations: 2.035 MB / 3.345 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004695/7.969, allocations: 57.45 kB / 3.345 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/7.971, allocations: 1.521 MB / 3.346 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006294/7.971, allocations: 0.6235 MB / 3.347 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/7.971, allocations: 39.62 kB / 3.347 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001279/7.971, allocations: 385.8 kB / 3.347 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/7.973, allocations: 1.095 MB / 3.348 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/7.975, allocations: 1.616 MB / 3.35 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/7.976, allocations: 1.356 MB / 3.351 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/7.976, allocations: 7.734 kB / 3.351 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009954/7.986, allocations: 4.553 MB / 3.356 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/7.988, allocations: 4.651 MB / 3.36 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/7.988, allocations: 15.73 kB / 3.36 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006375/7.994, allocations: 1.855 MB / 3.362 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/7.996, allocations: 470.2 kB / 3.363 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009817/8.006, allocations: 9.532 MB / 3.372 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/8.009, allocations: 202.3 kB / 3.372 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/8.009, allocations: 83.88 kB / 3.372 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/8.009, allocations: 3.812 kB / 3.372 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007809/8.017, allocations: 3.697 MB / 3.376 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/8.017, allocations: 13.8 kB / 3.376 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/8.021, allocations: 1.174 MB / 3.377 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/8.024, allocations: 493.3 kB / 3.377 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00808/8.032, allocations: 7.511 MB / 3.385 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/8.035, allocations: 163.9 kB / 3.385 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/8.035, allocations: 85.92 kB / 3.385 GB, free: 184.3 MB / 0.8698 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: 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 () * 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.000892/8.036, allocations: 235 kB / 3.385 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007342/8.037, allocations: 240 kB / 3.386 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/8.047, allocations: 4.345 MB / 3.39 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/8.047, allocations: 21.97 kB / 3.39 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/8.047, allocations: 3.5 kB / 3.39 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.896e-05/8.047, allocations: 22.92 kB / 3.39 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02629/8.074, allocations: 9.413 MB / 3.399 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/8.074, allocations: 3.375 kB / 3.399 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/8.076, allocations: 363.5 kB / 3.399 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007197/8.084, allocations: 1.81 MB / 3.401 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004062/8.084, allocations: 49.5 kB / 3.401 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/8.097, allocations: 13.16 MB / 3.414 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/8.097, allocations: 5.969 kB / 3.414 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00966/8.107, allocations: 4.672 MB / 3.419 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/8.109, allocations: 0.6842 MB / 3.419 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/8.109, allocations: 47.95 kB / 3.419 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/8.111, allocations: 203.6 kB / 3.419 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004797/8.111, allocations: 148.5 kB / 3.42 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/8.111, allocations: 63.94 kB / 3.42 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002334/8.114, allocations: 1.578 MB / 3.421 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.6e-07/8.114, allocations: 0 / 3.421 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004484/8.118, allocations: 1.287 MB / 3.422 GB, free: 159 MB / 0.8698 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) * 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.01089/8.129, allocations: 7.015 MB / 3.429 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009415/8.139, allocations: 5.37 MB / 3.435 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/8.139, allocations: 0 / 3.435 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003611/8.142, allocations: 2.284 MB / 3.437 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/8.146, allocations: 0.5823 MB / 3.437 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/8.16, allocations: 6.286 MB / 3.444 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/8.162, allocations: 2.537 MB / 3.446 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00409/8.166, allocations: 1.382 MB / 3.447 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/8.167, allocations: 1.276 MB / 3.449 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/8.167, allocations: 0 / 3.449 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/8.283, allocations: 74.49 MB / 3.521 GB, free: 63.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/8.283, allocations: 268.5 kB / 3.522 GB, free: 63.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.418/12.7, allocations: 0 / 3.522 GB, free: 63.04 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)