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.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,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.2 MB / 303.2 MB, free: 8.051 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.001441/0.001441, allocations: 185 kB / 371.8 MB, free: 10.3 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.61/1.61, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.001322/0.001322, allocations: 97.2 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005456, allocations: 15.34 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3336, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02678/0.3604, allocations: 18.66 MB / 0.9977 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7302/1.091, allocations: 134.4 MB / 1.129 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/1.093, allocations: 56.41 kB / 1.129 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/1.095, allocations: 0.5351 MB / 1.13 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006426/1.102, allocations: 1.563 MB / 1.131 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005458/1.107, allocations: 1.558 MB / 1.133 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005675/1.113, allocations: 2.649 MB / 1.135 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009094/1.122, allocations: 5.735 MB / 1.141 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/1.125, allocations: 1.333 MB / 1.142 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/1.129, allocations: 1.419 MB / 1.143 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/1.13, allocations: 165.8 kB / 1.144 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/1.132, allocations: 0.5668 MB / 1.144 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00181/1.134, allocations: 1.242 MB / 1.145 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/1.136, allocations: 0.6963 MB / 1.146 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008737/1.145, allocations: 5.654 MB / 1.152 GB, free: 13.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/1.145, allocations: 1.469 kB / 1.152 GB, free: 13.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.017e-06/1.145, allocations: 3.938 kB / 1.152 GB, free: 13.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002518/1.145, allocations: 3.938 kB / 1.152 GB, free: 13.21 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.01191/1.157, allocations: 3.304 MB / 1.155 GB, free: 10.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.157, allocations: 8.75 kB / 1.155 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002432/1.159, allocations: 462.8 kB / 1.155 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/1.164, allocations: 0.8399 MB / 1.156 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005667/1.17, allocations: 2.34 MB / 1.158 GB, free: 8.676 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/1.17, allocations: 232.3 kB / 1.159 GB, free: 8.574 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007896/1.171, allocations: 315.6 kB / 1.159 GB, free: 8.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/1.182, allocations: 4.692 MB / 1.163 GB, free: 5.605 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.527e-05/1.182, allocations: 10.78 kB / 1.163 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/1.183, allocations: 136.5 kB / 1.164 GB, free: 5.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003818/1.183, allocations: 221.5 kB / 1.164 GB, free: 5.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008168/1.191, allocations: 4.296 MB / 1.168 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02842/1.22, allocations: 19.52 MB / 1.187 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/1.223, allocations: 2.003 MB / 1.189 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/1.224, allocations: 136.5 kB / 1.189 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/1.225, allocations: 1.196 MB / 1.19 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=160): time 3.336e-06/1.225, allocations: 0 / 1.19 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197): time 0.03752/1.263, allocations: 11.17 MB / 1.201 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/1.263, allocations: 312.7 kB / 1.202 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/1.267, allocations: 2.064 MB / 1.204 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005478/1.267, allocations: 65.7 kB / 1.204 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/1.269, allocations: 1.479 MB / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.27, allocations: 0.6629 MB / 1.206 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.27, allocations: 36 kB / 1.206 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.271, allocations: 381.9 kB / 1.206 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/1.273, allocations: 1.156 MB / 1.207 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/1.275, allocations: 1.602 MB / 1.209 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/1.277, allocations: 1.396 MB / 1.21 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.277, allocations: 0 / 1.21 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.0144/1.292, allocations: 5.117 MB / 1.215 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002214/1.294, allocations: 3.745 MB / 1.219 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/1.294, allocations: 12 kB / 1.219 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.305, allocations: 2.445 MB / 1.221 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.307, allocations: 459.2 kB / 1.222 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/1.328, allocations: 14.66 MB / 1.236 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/1.331, allocations: 195.7 kB / 1.236 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/1.332, allocations: 83.97 kB / 1.236 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.332, allocations: 7.984 kB / 1.236 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01114/1.343, allocations: 4.136 MB / 1.24 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/1.343, allocations: 8 kB / 1.24 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00702/1.35, allocations: 1.628 MB / 1.242 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.352, allocations: 475.3 kB / 1.242 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/1.366, allocations: 8.618 MB / 1.251 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/1.369, allocations: 175.8 kB / 1.251 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/1.369, allocations: 83.97 kB / 1.251 GB, free: 15.06 MB / 0.7917 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.003009/1.372, allocations: 1.247 MB / 1.252 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007421/1.373, allocations: 241.1 kB / 1.252 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.387, allocations: 5.196 MB / 1.257 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.387, allocations: 20 kB / 1.258 GB, free: 8.316 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/1.387, allocations: 4.266 kB / 1.258 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.206e-05/1.387, allocations: 11.97 kB / 1.258 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/1.411, allocations: 9.88 MB / 1.267 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/1.411, allocations: 4 kB / 1.267 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/1.413, allocations: 391.4 kB / 1.268 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009427/1.423, allocations: 2.262 MB / 1.27 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005091/1.423, allocations: 51.98 kB / 1.27 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/1.443, allocations: 14.26 MB / 1.284 GB, free: 12.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.582e-05/1.443, allocations: 15.89 kB / 1.284 GB, free: 12.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.457, allocations: 5.491 MB / 1.289 GB, free: 6.688 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.46, allocations: 0.6931 MB / 1.29 GB, free: 5.973 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/1.46, allocations: 44 kB / 1.29 GB, free: 5.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.462, allocations: 223.7 kB / 1.29 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/1.463, allocations: 161.7 kB / 1.29 GB, free: 5.555 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.463, allocations: 63.98 kB / 1.29 GB, free: 5.492 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002291/1.465, allocations: 1.457 MB / 1.292 GB, free: 4.016 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.465, allocations: 4 kB / 1.292 GB, free: 4.012 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004251/1.469, allocations: 1.199 MB / 1.293 GB, free: 2.812 MB / 0.823 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.01506/1.485, allocations: 8.214 MB / 1.301 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.497, allocations: 5.896 MB / 1.307 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.497, allocations: 0 / 1.307 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003908/1.501, allocations: 2.317 MB / 1.309 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.504, allocations: 0.5869 MB / 1.309 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05045/1.555, allocations: 27.58 MB / 1.336 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/1.557, allocations: 2.539 MB / 1.339 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003509/1.561, allocations: 1.006 MB / 1.34 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/1.563, allocations: 1.315 MB / 1.341 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of SimCode: time 1.443e-06/1.563, allocations: 0 / 1.341 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.691, allocations: 75.08 MB / 1.414 GB, free: 5.211 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.691, allocations: 294.5 kB / 1.415 GB, free: 4.855 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/5.909, allocations: 0 / 1.415 GB, free: 4.855 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)