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.728/1.728, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001695/0.001695, allocations: 182 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.6305 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009021, allocations: 93.16 kB / 0.7439 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004528, allocations: 11.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.285, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.924/6.209, allocations: 2.132 GB / 3.111 GB, free: 133.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/6.209, allocations: 119.7 kB / 3.112 GB, free: 133.6 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.8121/7.022, allocations: 146.8 MB / 3.255 GB, free: 264.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.727e-06/7.022, allocations: 0.9375 kB / 3.255 GB, free: 264.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003357/7.022, allocations: 79.48 kB / 3.255 GB, free: 264.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.01102/7.033, allocations: 3.317 MB / 3.258 GB, free: 262.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/7.033, allocations: 8.969 kB / 3.258 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002127/7.035, allocations: 454.5 kB / 3.259 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00683/7.042, allocations: 0.8371 MB / 3.259 GB, free: 262.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009186/7.051, allocations: 2.136 MB / 3.262 GB, free: 261.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/7.052, allocations: 230 kB / 3.262 GB, free: 261.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/7.054, allocations: 299.7 kB / 3.262 GB, free: 261.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/7.066, allocations: 4.343 MB / 3.266 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.86e-05/7.067, allocations: 10.81 kB / 3.266 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00049/7.067, allocations: 128.1 kB / 3.266 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/7.067, allocations: 174.1 kB / 3.267 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/7.078, allocations: 3.98 MB / 3.27 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02631/7.104, allocations: 18.58 MB / 3.289 GB, free: 251.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/7.108, allocations: 1.801 MB / 3.29 GB, free: 251.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/7.108, allocations: 138.6 kB / 3.291 GB, free: 251.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/7.11, allocations: 1.094 MB / 3.292 GB, free: 251.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 4.779e-06/7.11, allocations: 0 / 3.292 GB, free: 251.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.03059/7.14, allocations: 13.45 MB / 3.305 GB, free: 246.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/7.141, allocations: 0.5799 MB / 3.305 GB, free: 246.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/7.144, allocations: 1.86 MB / 3.307 GB, free: 245.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005329/7.145, allocations: 62.67 kB / 3.307 GB, free: 245.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/7.146, allocations: 1.469 MB / 3.309 GB, free: 245.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007595/7.147, allocations: 0.6126 MB / 3.309 GB, free: 244.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/7.147, allocations: 38.75 kB / 3.309 GB, free: 244.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001295/7.147, allocations: 393.3 kB / 3.31 GB, free: 244.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/7.149, allocations: 1.1 MB / 3.311 GB, free: 244.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/7.15, allocations: 1.692 MB / 3.312 GB, free: 243.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/7.152, allocations: 1.389 MB / 3.314 GB, free: 243.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/7.152, allocations: 3.969 kB / 3.314 GB, free: 243.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009347/7.162, allocations: 4.328 MB / 3.318 GB, free: 242.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/7.163, allocations: 5.867 MB / 3.324 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/7.163, allocations: 14.53 kB / 3.324 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005978/7.169, allocations: 1.582 MB / 3.325 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/7.171, allocations: 482 kB / 3.326 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/7.179, allocations: 6.125 MB / 3.332 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/7.182, allocations: 213.9 kB / 3.332 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004341/7.183, allocations: 93.77 kB / 3.332 GB, free: 232.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/7.183, allocations: 4.594 kB / 3.332 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007399/7.19, allocations: 3.599 MB / 3.335 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.948e-05/7.19, allocations: 11.66 kB / 3.335 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/7.194, allocations: 1.032 MB / 3.336 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/7.196, allocations: 0.4937 MB / 3.337 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/7.203, allocations: 5.147 MB / 3.342 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/7.205, allocations: 171.9 kB / 3.342 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/7.205, allocations: 89.56 kB / 3.342 GB, free: 228.3 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 = 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.002122/7.208, allocations: 1.232 MB / 3.343 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005036/7.208, allocations: 225.4 kB / 3.344 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008146/7.216, allocations: 3.871 MB / 3.347 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/7.216, allocations: 25.03 kB / 3.347 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/7.216, allocations: 3.969 kB / 3.347 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/7.216, allocations: 11.83 kB / 3.347 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/7.232, allocations: 9.417 MB / 3.357 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/7.232, allocations: 3.75 kB / 3.357 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/7.233, allocations: 336.9 kB / 3.357 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005544/7.239, allocations: 1.518 MB / 3.358 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002618/7.239, allocations: 53.58 kB / 3.359 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/7.25, allocations: 8.658 MB / 3.367 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/7.25, allocations: 11.5 kB / 3.367 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008838/7.259, allocations: 4.517 MB / 3.371 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/7.261, allocations: 0.6441 MB / 3.372 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/7.261, allocations: 37.56 kB / 3.372 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/7.263, allocations: 185.2 kB / 3.372 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/7.263, allocations: 148.5 kB / 3.372 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/7.263, allocations: 69.39 kB / 3.372 GB, free: 214.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001958/7.265, allocations: 1.449 MB / 3.374 GB, free: 213.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.265, allocations: 4 kB / 3.374 GB, free: 213.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004555/7.27, allocations: 1.26 MB / 3.375 GB, free: 213.3 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) * 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/7.28, allocations: 7.291 MB / 3.382 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00956/7.29, allocations: 4.877 MB / 3.387 GB, free: 207.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.558e-05/7.29, allocations: 4.812 kB / 3.387 GB, free: 207.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003643/7.293, allocations: 1.879 MB / 3.389 GB, free: 206.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/7.297, allocations: 0.5571 MB / 3.389 GB, free: 206.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/7.314, allocations: 19.46 MB / 3.408 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/7.316, allocations: 2.453 MB / 3.411 GB, free: 189.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00283/7.318, allocations: 1.008 MB / 3.412 GB, free: 189.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/7.32, allocations: 1.23 MB / 3.413 GB, free: 188.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/7.32, allocations: 0 / 3.413 GB, free: 188.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08347/7.403, allocations: 66.29 MB / 3.478 GB, free: 135.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/7.403, allocations: 297.7 kB / 3.478 GB, free: 135 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/11.48, allocations: 0 / 3.478 GB, free: 135 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)