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.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00123/0.00123, allocations: 180 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009082/0.0009082, allocations: 88.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 10.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2595, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.618/6.878, allocations: 2.248 GB / 3.148 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/6.878, allocations: 119.7 kB / 3.149 GB, free: 229.1 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.3487/7.227, allocations: 156.2 MB / 3.301 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.657e-06/7.227, allocations: 0 / 3.301 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004403/7.227, allocations: 91.92 kB / 3.301 GB, free: 117.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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01295/7.24, allocations: 3.431 MB / 3.305 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/7.24, allocations: 8.031 kB / 3.305 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002192/7.243, allocations: 466.9 kB / 3.305 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0057/7.248, allocations: 0.8304 MB / 3.306 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/7.255, allocations: 2.289 MB / 3.308 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/7.256, allocations: 230.2 kB / 3.308 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/7.257, allocations: 307.9 kB / 3.309 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/7.271, allocations: 4.422 MB / 3.313 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/7.272, allocations: 11.92 kB / 3.313 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/7.273, allocations: 128 kB / 3.313 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/7.273, allocations: 178 kB / 3.313 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009625/7.283, allocations: 4.021 MB / 3.317 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/7.314, allocations: 19.86 MB / 3.336 GB, free: 79.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/7.317, allocations: 1.878 MB / 3.338 GB, free: 77.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/7.318, allocations: 134.4 kB / 3.338 GB, free: 77.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/7.319, allocations: 1.109 MB / 3.34 GB, free: 75.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=150): time 6.442e-06/7.32, allocations: 3.984 kB / 3.34 GB, free: 75.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=187): time 0.03512/7.355, allocations: 13.43 MB / 3.353 GB, free: 62.33 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/7.355, allocations: 0.5061 MB / 3.353 GB, free: 61.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/7.358, allocations: 2.056 MB / 3.355 GB, free: 59.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005785/7.359, allocations: 57.7 kB / 3.355 GB, free: 59.55 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/7.36, allocations: 1.519 MB / 3.357 GB, free: 58.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000729/7.361, allocations: 0.6161 MB / 3.357 GB, free: 57.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/7.361, allocations: 40 kB / 3.357 GB, free: 57.35 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001241/7.361, allocations: 393.8 kB / 3.358 GB, free: 56.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/7.363, allocations: 1.124 MB / 3.359 GB, free: 55.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/7.365, allocations: 1.652 MB / 3.36 GB, free: 53.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/7.366, allocations: 1.383 MB / 3.362 GB, free: 52.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/7.366, allocations: 8 kB / 3.362 GB, free: 52.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01062/7.377, allocations: 4.731 MB / 3.366 GB, free: 47.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00106/7.378, allocations: 4.662 MB / 3.371 GB, free: 42.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/7.378, allocations: 12 kB / 3.371 GB, free: 42.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008135/7.386, allocations: 2.053 MB / 3.373 GB, free: 40.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/7.389, allocations: 475.3 kB / 3.373 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/7.399, allocations: 9.848 MB / 3.383 GB, free: 29.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/7.402, allocations: 195.6 kB / 3.383 GB, free: 29.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005013/7.402, allocations: 87.97 kB / 3.383 GB, free: 29.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/7.402, allocations: 4 kB / 3.383 GB, free: 29.66 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008667/7.411, allocations: 3.874 MB / 3.387 GB, free: 25.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/7.411, allocations: 15.94 kB / 3.387 GB, free: 25.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/7.416, allocations: 1.38 MB / 3.388 GB, free: 24.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/7.418, allocations: 495.2 kB / 3.389 GB, free: 23.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/7.427, allocations: 7.833 MB / 3.397 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/7.43, allocations: 167.8 kB / 3.397 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/7.43, allocations: 87.97 kB / 3.397 GB, free: 15.41 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: 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 () * Number of clocked 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.002877/7.433, allocations: 1.272 MB / 3.398 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/7.434, allocations: 237.1 kB / 3.398 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/7.444, allocations: 4.51 MB / 3.403 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/7.444, allocations: 20 kB / 3.403 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/7.444, allocations: 7.938 kB / 3.403 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.855e-05/7.444, allocations: 15.95 kB / 3.403 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4642/7.909, allocations: 9.578 MB / 3.412 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/7.909, allocations: 7.344 kB / 3.412 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/7.911, allocations: 364.8 kB / 3.412 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00772/7.918, allocations: 2 MB / 3.414 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004153/7.919, allocations: 47.16 kB / 3.414 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/7.935, allocations: 13.65 MB / 3.428 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/7.935, allocations: 10.86 kB / 3.428 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/7.95, allocations: 4.855 MB / 3.433 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00312/7.953, allocations: 0.6831 MB / 3.433 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/7.955, allocations: 48.39 kB / 3.433 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/7.957, allocations: 189.3 kB / 3.433 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006635/7.958, allocations: 152.3 kB / 3.434 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00031/7.958, allocations: 69.05 kB / 3.434 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003677/7.962, allocations: 1.6 MB / 3.435 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.61e-07/7.962, allocations: 0 / 3.435 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006507/7.968, allocations: 1.282 MB / 3.436 GB, free: 223.6 MB / 0.8855 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) * Number of clocked states: 0 () * 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.01253/7.981, allocations: 7.242 MB / 3.444 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01098/7.992, allocations: 5.419 MB / 3.449 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/7.992, allocations: 1.719 kB / 3.449 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003773/7.996, allocations: 2.334 MB / 3.451 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/7.999, allocations: 0.5869 MB / 3.452 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/8.016, allocations: 17.65 MB / 3.469 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/8.018, allocations: 2.536 MB / 3.471 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003132/8.021, allocations: 1.005 MB / 3.472 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/8.023, allocations: 1.32 MB / 3.474 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of SimCode: time 6.52e-07/8.023, allocations: 0 / 3.474 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/8.125, allocations: 71.01 MB / 3.543 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/8.125, allocations: 292.1 kB / 3.543 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/12.02, allocations: 0 / 3.543 GB, free: 196.8 MB / 0.8855 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)