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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.3 MB / 303.2 MB, free: 8.094 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.001089/0.001089, allocations: 191.6 kB / 371.9 MB, free: 10.28 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.74/1.74, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0009867/0.0009864, allocations: 98.84 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004319, allocations: 15.28 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2562, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.01697/0.2732, allocations: 18.65 MB / 0.9976 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7901/1.063, allocations: 134.4 MB / 1.129 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/1.066, allocations: 54.25 kB / 1.129 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/1.068, allocations: 0.5411 MB / 1.129 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/1.074, allocations: 1.56 MB / 1.131 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005473/1.08, allocations: 1.55 MB / 1.132 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005976/1.086, allocations: 2.655 MB / 1.135 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/1.097, allocations: 5.718 MB / 1.141 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/1.101, allocations: 1.34 MB / 1.142 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/1.104, allocations: 1.413 MB / 1.143 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007677/1.105, allocations: 165.5 kB / 1.144 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/1.108, allocations: 0.5753 MB / 1.144 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/1.109, allocations: 1.244 MB / 1.145 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/1.11, allocations: 0.6973 MB / 1.146 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007658/1.118, allocations: 5.66 MB / 1.151 GB, free: 13.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.118, allocations: 0 / 1.151 GB, free: 13.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.118, allocations: 0 / 1.151 GB, free: 13.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002666/1.118, allocations: 1.469 kB / 1.151 GB, free: 13.24 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.01065/1.129, allocations: 3.304 MB / 1.155 GB, free: 10.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.129, allocations: 11.73 kB / 1.155 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/1.134, allocations: 0.8394 MB / 1.156 GB, free: 10.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006511/1.14, allocations: 2.338 MB / 1.158 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/1.141, allocations: 235 kB / 1.158 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/1.142, allocations: 303.8 kB / 1.158 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/1.153, allocations: 4.702 MB / 1.163 GB, free: 5.965 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/1.153, allocations: 6.75 kB / 1.163 GB, free: 5.961 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003969/1.153, allocations: 127.2 kB / 1.163 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003974/1.154, allocations: 212.6 kB / 1.163 GB, free: 5.816 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009426/1.163, allocations: 4.299 MB / 1.167 GB, free: 3.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/1.191, allocations: 19.53 MB / 1.187 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/1.194, allocations: 2.01 MB / 1.189 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/1.195, allocations: 133.3 kB / 1.189 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/1.196, allocations: 1.205 MB / 1.19 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=160): time 4.358e-06/1.196, allocations: 0 / 1.19 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197): time 0.03622/1.233, allocations: 11.17 MB / 1.201 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002428/1.233, allocations: 308.7 kB / 1.201 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/1.236, allocations: 2.067 MB / 1.203 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000587/1.237, allocations: 65.7 kB / 1.203 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/1.239, allocations: 1.484 MB / 1.205 GB, free: 260 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007986/1.24, allocations: 0.6546 MB / 1.205 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.24, allocations: 40 kB / 1.205 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.24, allocations: 381.9 kB / 1.206 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/1.242, allocations: 1.156 MB / 1.207 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/1.244, allocations: 1.606 MB / 1.208 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/1.246, allocations: 1.396 MB / 1.21 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/1.246, allocations: 7.953 kB / 1.21 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01395/1.26, allocations: 5.108 MB / 1.215 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001749/1.262, allocations: 3.745 MB / 1.218 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/1.262, allocations: 8 kB / 1.218 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/1.273, allocations: 2.445 MB / 1.221 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/1.275, allocations: 467.2 kB / 1.221 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/1.297, allocations: 14.65 MB / 1.235 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/1.3, allocations: 197.4 kB / 1.236 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005162/1.3, allocations: 83.97 kB / 1.236 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.3, allocations: 4.625 kB / 1.236 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01164/1.312, allocations: 4.155 MB / 1.24 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/1.312, allocations: 15.98 kB / 1.24 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006856/1.319, allocations: 1.612 MB / 1.241 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/1.321, allocations: 475.3 kB / 1.242 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/1.334, allocations: 8.618 MB / 1.25 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.337, allocations: 175.8 kB / 1.25 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004569/1.338, allocations: 79.92 kB / 1.25 GB, free: 15.54 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.003322/1.341, allocations: 1.262 MB / 1.252 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/1.342, allocations: 233.1 kB / 1.252 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.357, allocations: 5.192 MB / 1.257 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/1.357, allocations: 20 kB / 1.257 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/1.357, allocations: 4 kB / 1.257 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.91e-05/1.357, allocations: 11.95 kB / 1.257 GB, free: 8.773 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02467/1.382, allocations: 9.88 MB / 1.267 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/1.382, allocations: 4 kB / 1.267 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/1.383, allocations: 387.4 kB / 1.267 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009409/1.393, allocations: 2.27 MB / 1.269 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004157/1.393, allocations: 55.98 kB / 1.269 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/1.412, allocations: 14.26 MB / 1.283 GB, free: 12.98 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/1.412, allocations: 4 kB / 1.283 GB, free: 12.98 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.427, allocations: 5.507 MB / 1.289 GB, free: 7.152 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/1.429, allocations: 0.6853 MB / 1.289 GB, free: 6.445 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008807/1.43, allocations: 44 kB / 1.289 GB, free: 6.402 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.433, allocations: 226.5 kB / 1.29 GB, free: 6.184 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007502/1.433, allocations: 157.7 kB / 1.29 GB, free: 6.031 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003383/1.434, allocations: 71.97 kB / 1.29 GB, free: 5.961 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003909/1.438, allocations: 1.457 MB / 1.291 GB, free: 4.484 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.81e-07/1.438, allocations: 0 / 1.291 GB, free: 4.484 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005943/1.444, allocations: 1.203 MB / 1.292 GB, free: 3.281 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.001852/1.446, allocations: 0.6597 MB / 1.293 GB, free: 2.793 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.458, allocations: 5.901 MB / 1.299 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/1.458, allocations: 8.25 kB / 1.299 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004217/1.462, allocations: 2.309 MB / 1.301 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/1.466, allocations: 0.5833 MB / 1.302 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.481, allocations: 8.002 MB / 1.309 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.485, allocations: 2.541 MB / 1.312 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003664/1.488, allocations: 1.002 MB / 1.313 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/1.489, allocations: 211.4 kB / 1.313 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of SimCode: time 2.174e-06/1.489, allocations: 0 / 1.313 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.08728/1.577, allocations: 50.34 MB / 1.362 GB, free: 11.84 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)