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.467/1.467, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001074/0.001074, allocations: 180.5 kB / 326.5 MB, free: 2.25 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.842/1.842, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008811/0.0008811, allocations: 103.9 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2384, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.01658/0.255, allocations: 18.66 MB / 0.9184 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.4263, allocations: 134.4 MB / 1.05 GB, free: 6.398 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.4291, allocations: 59.69 kB / 1.05 GB, free: 6.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.4311, allocations: 0.54 MB / 1.05 GB, free: 5.797 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.4371, allocations: 1.566 MB / 1.052 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005249/0.4424, allocations: 1.554 MB / 1.053 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00576/0.4482, allocations: 2.646 MB / 1.056 GB, free: 36 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6039/1.052, allocations: 5.721 MB / 1.061 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/1.055, allocations: 1.336 MB / 1.063 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/1.059, allocations: 1.422 MB / 1.064 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/1.061, allocations: 165.7 kB / 1.064 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/1.063, allocations: 0.5645 MB / 1.065 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002425/1.066, allocations: 1.243 MB / 1.066 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002113/1.068, allocations: 0.6969 MB / 1.067 GB, free: 6.719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.079, allocations: 5.659 MB / 1.072 GB, free: 6.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.079, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/1.079, allocations: 4 kB / 1.072 GB, free: 6.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003508/1.079, allocations: 1.531 kB / 1.072 GB, free: 6.426 MB / 0.698 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.01257/1.092, allocations: 3.303 MB / 1.075 GB, free: 4.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.092, allocations: 13.91 kB / 1.075 GB, free: 4.832 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002112/1.094, allocations: 456.2 kB / 1.076 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/1.099, allocations: 0.8426 MB / 1.077 GB, free: 4.566 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/1.107, allocations: 2.34 MB / 1.079 GB, free: 4.086 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/1.107, allocations: 231 kB / 1.079 GB, free: 4.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001853/1.109, allocations: 303.6 kB / 1.08 GB, free: 4.078 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/1.12, allocations: 4.698 MB / 1.084 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.793e-05/1.12, allocations: 7.984 kB / 1.084 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003848/1.121, allocations: 133 kB / 1.084 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/1.121, allocations: 212.9 kB / 1.084 GB, free: 3.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008107/1.129, allocations: 4.297 MB / 1.089 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/1.157, allocations: 19.53 MB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/1.161, allocations: 2 MB / 1.11 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/1.161, allocations: 135.5 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/1.163, allocations: 1.192 MB / 1.111 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 3.757e-06/1.163, allocations: 3.25 kB / 1.111 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.03844/1.201, allocations: 11.18 MB / 1.122 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/1.201, allocations: 314 kB / 1.122 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/1.206, allocations: 2.055 MB / 1.124 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005639/1.206, allocations: 64.11 kB / 1.124 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001847/1.208, allocations: 1.487 MB / 1.126 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.209, allocations: 0.6572 MB / 1.126 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/1.21, allocations: 40.44 kB / 1.126 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00025/1.21, allocations: 381.7 kB / 1.127 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/1.212, allocations: 1.152 MB / 1.128 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/1.215, allocations: 1.607 MB / 1.129 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/1.217, allocations: 1.392 MB / 1.131 GB, free: 472 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/1.217, allocations: 3.125 kB / 1.131 GB, free: 472 kB / 0.7136 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01591/1.233, allocations: 5.13 MB / 1.136 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001636/1.235, allocations: 3.748 MB / 1.139 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.235, allocations: 8.188 kB / 1.14 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/1.246, allocations: 2.448 MB / 1.142 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/1.248, allocations: 452.9 kB / 1.142 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/1.272, allocations: 14.66 MB / 1.157 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/1.276, allocations: 192.2 kB / 1.157 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006603/1.276, allocations: 80.16 kB / 1.157 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.276, allocations: 10.25 kB / 1.157 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/1.289, allocations: 4.137 MB / 1.161 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/1.289, allocations: 8 kB / 1.161 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007064/1.296, allocations: 1.633 MB / 1.163 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.298, allocations: 470.9 kB / 1.163 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.312, allocations: 8.618 MB / 1.171 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.315, allocations: 176.8 kB / 1.172 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005531/1.315, allocations: 84.72 kB / 1.172 GB, free: 2.641 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (227): * Single equations (assignments): 221 * 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.003798/1.319, allocations: 1.253 MB / 1.173 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.32, allocations: 231 kB / 1.173 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.336, allocations: 5.207 MB / 1.178 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/1.336, allocations: 24 kB / 1.178 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/1.336, allocations: 0 / 1.178 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.561e-05/1.336, allocations: 7.969 kB / 1.178 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.361, allocations: 9.877 MB / 1.188 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/1.361, allocations: 12.78 kB / 1.188 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.363, allocations: 393.2 kB / 1.188 GB, free: 6.355 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009626/1.373, allocations: 2.26 MB / 1.19 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006606/1.373, allocations: 51.8 kB / 1.191 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/1.393, allocations: 14.26 MB / 1.204 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/1.393, allocations: 10.91 kB / 1.204 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.408, allocations: 5.504 MB / 1.21 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.411, allocations: 0.6793 MB / 1.21 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.412, allocations: 48.2 kB / 1.211 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/1.415, allocations: 230.7 kB / 1.211 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007274/1.415, allocations: 169.4 kB / 1.211 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/1.416, allocations: 65.05 kB / 1.211 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003725/1.42, allocations: 1.455 MB / 1.212 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.61e-07/1.42, allocations: 0 / 1.212 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007878/1.427, allocations: 1.193 MB / 1.214 GB, free: 484 kB / 0.7761 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 (194): * Single equations (assignments): 186 * 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.01723/1.445, allocations: 8.21 MB / 1.222 GB, free: 9.551 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.457, allocations: 5.892 MB / 1.227 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/1.457, allocations: 0 / 1.227 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004061/1.462, allocations: 2.314 MB / 1.23 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/1.465, allocations: 0.585 MB / 1.23 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06015/1.525, allocations: 27.57 MB / 1.257 GB, free: 10.29 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003917/1.529, allocations: 2.548 MB / 1.26 GB, free: 7.992 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004278/1.534, allocations: 1.005 MB / 1.261 GB, free: 6.988 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/1.536, allocations: 1.316 MB / 1.262 GB, free: 6.707 MB / 0.823 GB Notification: Performance of SimCode: time 8.82e-07/1.536, allocations: 4 kB / 1.262 GB, free: 6.703 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/1.667, allocations: 75.08 MB / 1.335 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/1.667, allocations: 298 kB / 1.335 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.04/5.707, allocations: 7.938 kB / 1.335 GB, free: 11.97 MB / 0.9011 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)