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.66/1.66, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.001177/0.001177, allocations: 188.8 kB / 321.3 MB, free: 14.66 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.79/1.79, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008533/0.0008533, allocations: 90.55 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.729e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.761/6.998, allocations: 2.25 GB / 3.142 GB, free: 79.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/6.998, allocations: 110.7 kB / 3.142 GB, free: 79.84 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 0.9964/7.995, allocations: 146.2 MB / 3.285 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.888e-06/7.995, allocations: 0 / 3.285 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002943/7.995, allocations: 83.59 kB / 3.285 GB, free: 254.9 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01026/8.005, allocations: 3.001 MB / 3.288 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/8.005, allocations: 11.84 kB / 3.288 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001716/8.007, allocations: 450.9 kB / 3.288 GB, free: 253 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/8.013, allocations: 0.8259 MB / 3.289 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007124/8.02, allocations: 2.125 MB / 3.291 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/8.02, allocations: 231.5 kB / 3.291 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/8.022, allocations: 300.3 kB / 3.291 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/8.037, allocations: 4.275 MB / 3.296 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002121/8.038, allocations: 7.469 kB / 3.296 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/8.039, allocations: 131.6 kB / 3.296 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002626/8.039, allocations: 173.7 kB / 3.296 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009595/8.049, allocations: 3.88 MB / 3.3 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/8.081, allocations: 18.58 MB / 3.318 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/8.084, allocations: 1.764 MB / 3.32 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/8.086, allocations: 0.918 MB / 3.32 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/8.086, allocations: 129.6 kB / 3.321 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/8.088, allocations: 1.07 MB / 3.322 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 7.694e-06/8.088, allocations: 0 / 3.322 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.03134/8.119, allocations: 12.01 MB / 3.333 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/8.119, allocations: 0.5862 MB / 3.334 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/8.122, allocations: 1.84 MB / 3.336 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004878/8.123, allocations: 61.05 kB / 3.336 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/8.124, allocations: 1.462 MB / 3.337 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006106/8.125, allocations: 0.6126 MB / 3.338 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/8.125, allocations: 39.19 kB / 3.338 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001353/8.125, allocations: 393.7 kB / 3.338 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/8.127, allocations: 1.071 MB / 3.339 GB, free: 223 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/8.128, allocations: 1.651 MB / 3.341 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/8.13, allocations: 1.37 MB / 3.342 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.537e-06/8.13, allocations: 4 kB / 3.342 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008041/8.138, allocations: 4.193 MB / 3.346 GB, free: 216 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001325/8.139, allocations: 5.866 MB / 3.352 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/8.139, allocations: 12 kB / 3.352 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004562/8.144, allocations: 1.44 MB / 3.353 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/8.146, allocations: 483.2 kB / 3.354 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/8.153, allocations: 5.855 MB / 3.36 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/8.156, allocations: 211.6 kB / 3.36 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003491/8.156, allocations: 91.97 kB / 3.36 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/8.156, allocations: 4 kB / 3.36 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006267/8.163, allocations: 3.467 MB / 3.363 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.031e-05/8.163, allocations: 16 kB / 3.363 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/8.166, allocations: 0.8909 MB / 3.364 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/8.168, allocations: 0.4914 MB / 3.365 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/8.174, allocations: 4.859 MB / 3.369 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/8.177, allocations: 183.6 kB / 3.37 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005063/8.178, allocations: 91.97 kB / 3.37 GB, free: 191.2 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: 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.0008493/8.178, allocations: 241.5 kB / 3.37 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007694/8.179, allocations: 225.4 kB / 3.37 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008088/8.187, allocations: 3.748 MB / 3.374 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/8.187, allocations: 24 kB / 3.374 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/8.187, allocations: 4 kB / 3.374 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/8.187, allocations: 15.95 kB / 3.374 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/8.203, allocations: 9.268 MB / 3.383 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/8.203, allocations: 8 kB / 3.383 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/8.204, allocations: 331.5 kB / 3.383 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004694/8.209, allocations: 1.407 MB / 3.385 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/8.209, allocations: 47.98 kB / 3.385 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/8.221, allocations: 8.207 MB / 3.393 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/8.222, allocations: 11.94 kB / 3.393 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/8.232, allocations: 4.387 MB / 3.397 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/8.235, allocations: 0.6386 MB / 3.398 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/8.235, allocations: 47.98 kB / 3.398 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/8.237, allocations: 179.8 kB / 3.398 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003824/8.237, allocations: 153.6 kB / 3.398 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/8.237, allocations: 71.91 kB / 3.398 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001982/8.239, allocations: 1.424 MB / 3.399 GB, free: 160 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.31e-07/8.239, allocations: 0 / 3.399 GB, free: 160 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004699/8.244, allocations: 1.261 MB / 3.401 GB, free: 158.8 MB / 0.8698 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.009171/8.253, allocations: 7.116 MB / 3.408 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007858/8.261, allocations: 4.828 MB / 3.412 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/8.261, allocations: 4 kB / 3.412 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003135/8.264, allocations: 1.841 MB / 3.414 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/8.268, allocations: 0.5485 MB / 3.415 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/8.281, allocations: 6.113 MB / 3.421 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/8.283, allocations: 2.47 MB / 3.423 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003791/8.286, allocations: 1.313 MB / 3.424 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/8.288, allocations: 1.19 MB / 3.425 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.302e-06/8.288, allocations: 0 / 3.425 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/8.42, allocations: 69.61 MB / 3.493 GB, free: 63.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/8.421, allocations: 266.6 kB / 3.494 GB, free: 63.49 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.151/12.57, allocations: 3.438 kB / 3.494 GB, free: 63.49 MB / 0.8698 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)