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.683/1.683, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001218/0.001218, allocations: 185.1 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.001097/0.001097, allocations: 85.17 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004796, allocations: 15.81 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2472, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.01839/0.2656, allocations: 18.4 MB / 0.9974 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6806/0.9463, allocations: 134.5 MB / 1.129 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.9489, allocations: 63.69 kB / 1.129 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.9508, allocations: 0.5266 MB / 1.129 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.9565, allocations: 1.582 MB / 1.131 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005698/0.9622, allocations: 1.58 MB / 1.132 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.9676, allocations: 2.519 MB / 1.135 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008836/0.9765, allocations: 5.683 MB / 1.14 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.9803, allocations: 1.293 MB / 1.142 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.9838, allocations: 1.366 MB / 1.143 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007077/0.9845, allocations: 167 kB / 1.143 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.9868, allocations: 0.5567 MB / 1.144 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.988, allocations: 1.181 MB / 1.145 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.9892, allocations: 0.6623 MB / 1.146 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006997/0.9962, allocations: 5.396 MB / 1.151 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9962, allocations: 0 / 1.151 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9963, allocations: 0 / 1.151 GB, free: 13.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002454/0.9965, allocations: 0 / 1.151 GB, free: 13.73 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.009414/1.006, allocations: 3.206 MB / 1.154 GB, free: 11.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.006, allocations: 9.625 kB / 1.154 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001743/1.008, allocations: 456.2 kB / 1.154 GB, free: 11.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/1.012, allocations: 0.8687 MB / 1.155 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006368/1.019, allocations: 2.187 MB / 1.157 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/1.019, allocations: 235.9 kB / 1.158 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/1.021, allocations: 293.1 kB / 1.158 GB, free: 9.156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/1.033, allocations: 4.635 MB / 1.162 GB, free: 6.363 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-05/1.033, allocations: 6.344 kB / 1.162 GB, free: 6.359 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004074/1.034, allocations: 134.3 kB / 1.163 GB, free: 6.262 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000413/1.034, allocations: 218.4 kB / 1.163 GB, free: 6.203 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008178/1.042, allocations: 4.274 MB / 1.167 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/1.07, allocations: 18.48 MB / 1.185 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.074, allocations: 2.122 MB / 1.187 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/1.074, allocations: 137.3 kB / 1.187 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/1.076, allocations: 1.157 MB / 1.188 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 3.997e-06/1.076, allocations: 0 / 1.188 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.03162/1.108, allocations: 10.37 MB / 1.198 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/1.108, allocations: 356.1 kB / 1.199 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/1.111, allocations: 1.873 MB / 1.201 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004628/1.111, allocations: 65.64 kB / 1.201 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.113, allocations: 1.438 MB / 1.202 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008479/1.114, allocations: 0.6522 MB / 1.203 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.114, allocations: 40 kB / 1.203 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.114, allocations: 381.9 kB / 1.203 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/1.116, allocations: 1.124 MB / 1.204 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/1.118, allocations: 1.636 MB / 1.206 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/1.12, allocations: 1.392 MB / 1.207 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.12, allocations: 4 kB / 1.207 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01116/1.131, allocations: 4.581 MB / 1.212 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002092/1.133, allocations: 4.978 MB / 1.216 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/1.133, allocations: 12 kB / 1.216 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007767/1.141, allocations: 1.841 MB / 1.218 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/1.143, allocations: 471.2 kB / 1.219 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.158, allocations: 9.469 MB / 1.228 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.161, allocations: 202.6 kB / 1.228 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/1.161, allocations: 87.92 kB / 1.228 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.161, allocations: 4 kB / 1.228 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008753/1.17, allocations: 3.782 MB / 1.232 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/1.17, allocations: 12 kB / 1.232 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004913/1.175, allocations: 1.199 MB / 1.233 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/1.177, allocations: 487.2 kB / 1.234 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.188, allocations: 5.865 MB / 1.239 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/1.19, allocations: 175.9 kB / 1.239 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/1.191, allocations: 83.98 kB / 1.24 GB, free: 11.35 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (224): * Single equations (assignments): 222 * 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,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002883/1.194, allocations: 1.211 MB / 1.241 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008096/1.194, allocations: 221.3 kB / 1.241 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.206, allocations: 4.524 MB / 1.245 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/1.206, allocations: 20 kB / 1.245 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.206, allocations: 4 kB / 1.245 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.169e-05/1.206, allocations: 15.95 kB / 1.245 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.227, allocations: 9.554 MB / 1.255 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.227, allocations: 4 kB / 1.255 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.229, allocations: 371.5 kB / 1.255 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00697/1.236, allocations: 1.697 MB / 1.257 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/1.236, allocations: 59.86 kB / 1.257 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/1.251, allocations: 9.41 MB / 1.266 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/1.251, allocations: 15.94 kB / 1.266 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.264, allocations: 5.061 MB / 1.271 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/1.266, allocations: 0.6347 MB / 1.272 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007848/1.267, allocations: 52 kB / 1.272 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.269, allocations: 204.6 kB / 1.272 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004519/1.27, allocations: 169.6 kB / 1.272 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/1.27, allocations: 67.97 kB / 1.272 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002252/1.272, allocations: 1.305 MB / 1.273 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.4e-07/1.272, allocations: 4 kB / 1.273 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004397/1.277, allocations: 1.18 MB / 1.274 GB, free: 6.715 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (177): * Single equations (assignments): 173 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01302/1.29, allocations: 8.154 MB / 1.282 GB, free: 14.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.3, allocations: 5.257 MB / 1.288 GB, free: 9.207 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/1.3, allocations: 4 kB / 1.288 GB, free: 9.203 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004134/1.304, allocations: 2.011 MB / 1.29 GB, free: 7.172 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/1.308, allocations: 0.5651 MB / 1.29 GB, free: 6.613 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04553/1.353, allocations: 28.06 MB / 1.318 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/1.356, allocations: 2.472 MB / 1.32 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003618/1.36, allocations: 1.009 MB / 1.321 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00234/1.362, allocations: 1.259 MB / 1.322 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/1.362, allocations: 0 / 1.322 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/1.481, allocations: 69.34 MB / 1.39 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.481, allocations: 293.1 kB / 1.39 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.968/5.449, allocations: 0 / 1.39 GB, free: 15.34 MB / 0.9323 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)