Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.795/2.795, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001481/0.001481, allocations: 186.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001093/0.001093, allocations: 97.14 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007105/0.0007108, allocations: 12 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.225, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02674/0.2518, allocations: 18.39 MB / 0.9962 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9256/1.177, allocations: 134.5 MB / 1.127 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/1.18, allocations: 55.09 kB / 1.128 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/1.183, allocations: 0.5276 MB / 1.128 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008005/1.191, allocations: 1.586 MB / 1.13 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007987/1.199, allocations: 1.577 MB / 1.131 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007076/1.206, allocations: 2.514 MB / 1.134 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/1.221, allocations: 5.701 MB / 1.139 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/1.225, allocations: 1.292 MB / 1.14 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004602/1.23, allocations: 1.365 MB / 1.142 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001663/1.232, allocations: 163 kB / 1.142 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/1.235, allocations: 0.5578 MB / 1.142 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003091/1.239, allocations: 1.178 MB / 1.144 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002319/1.241, allocations: 0.6658 MB / 1.144 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.251, allocations: 5.395 MB / 1.15 GB, free: 14.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.251, allocations: 0 / 1.15 GB, free: 14.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.075e-06/1.251, allocations: 3.938 kB / 1.15 GB, free: 14.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002569/1.251, allocations: 1.156 kB / 1.15 GB, free: 14.43 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.01353/1.265, allocations: 3.205 MB / 1.153 GB, free: 12.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.265, allocations: 16.61 kB / 1.153 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007929/1.273, allocations: 0.8644 MB / 1.154 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00821/1.281, allocations: 2.183 MB / 1.156 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/1.282, allocations: 227.7 kB / 1.156 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/1.283, allocations: 303.4 kB / 1.156 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/1.3, allocations: 4.633 MB / 1.161 GB, free: 7.398 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/1.3, allocations: 6.469 kB / 1.161 GB, free: 7.395 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007992/1.301, allocations: 133.7 kB / 1.161 GB, free: 7.297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00065/1.301, allocations: 210.7 kB / 1.161 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/1.316, allocations: 4.282 MB / 1.165 GB, free: 5.082 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04367/1.36, allocations: 18.47 MB / 1.183 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/1.366, allocations: 2.125 MB / 1.185 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/1.366, allocations: 133.3 kB / 1.185 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003467/1.37, allocations: 1.161 MB / 1.187 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 5.902e-06/1.37, allocations: 0 / 1.187 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.06047/1.43, allocations: 10.37 MB / 1.197 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002586/1.431, allocations: 360.1 kB / 1.197 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/1.435, allocations: 1.873 MB / 1.199 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006194/1.436, allocations: 61.7 kB / 1.199 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002131/1.438, allocations: 1.442 MB / 1.2 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.44, allocations: 0.6452 MB / 1.201 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/1.44, allocations: 40 kB / 1.201 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002777/1.44, allocations: 385.9 kB / 1.201 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003636/1.444, allocations: 1.12 MB / 1.202 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00453/1.448, allocations: 1.636 MB / 1.204 GB, free: 216 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004511/1.453, allocations: 1.396 MB / 1.205 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/1.453, allocations: 4 kB / 1.205 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.02234/1.475, allocations: 4.581 MB / 1.21 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002882/1.478, allocations: 4.98 MB / 1.215 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-05/1.478, allocations: 12 kB / 1.215 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01511/1.494, allocations: 1.836 MB / 1.217 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/1.498, allocations: 463.3 kB / 1.217 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02884/1.527, allocations: 9.476 MB / 1.226 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/1.531, allocations: 204.9 kB / 1.226 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000623/1.531, allocations: 83.98 kB / 1.227 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.531, allocations: 4 kB / 1.227 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01747/1.549, allocations: 3.786 MB / 1.23 GB, free: 4.719 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/1.549, allocations: 12 kB / 1.23 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009625/1.559, allocations: 1.195 MB / 1.231 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/1.563, allocations: 491.2 kB / 1.232 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/1.582, allocations: 5.868 MB / 1.238 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/1.586, allocations: 175.8 kB / 1.238 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005368/1.586, allocations: 83.98 kB / 1.238 GB, free: 12.77 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.003929/1.59, allocations: 1.224 MB / 1.239 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008804/1.591, allocations: 217.3 kB / 1.239 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02065/1.612, allocations: 4.512 MB / 1.244 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.221e-05/1.612, allocations: 24 kB / 1.244 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/1.612, allocations: 8 kB / 1.244 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.816e-05/1.612, allocations: 11.95 kB / 1.244 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/1.646, allocations: 9.552 MB / 1.253 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/1.646, allocations: 8 kB / 1.253 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003043/1.649, allocations: 359.4 kB / 1.253 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01298/1.662, allocations: 1.695 MB / 1.255 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004501/1.663, allocations: 59.97 kB / 1.255 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02608/1.689, allocations: 9.41 MB / 1.264 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.689, allocations: 8 kB / 1.264 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/1.708, allocations: 5.065 MB / 1.269 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002409/1.71, allocations: 0.6386 MB / 1.27 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005379/1.711, allocations: 44 kB / 1.27 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.714, allocations: 215.7 kB / 1.27 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006824/1.715, allocations: 161.6 kB / 1.27 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/1.715, allocations: 75.97 kB / 1.27 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00309/1.718, allocations: 1.305 MB / 1.272 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.61e-07/1.718, allocations: 0 / 1.272 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005821/1.724, allocations: 1.184 MB / 1.273 GB, free: 8.141 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.002132/1.726, allocations: 0.6552 MB / 1.273 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01678/1.743, allocations: 5.264 MB / 1.279 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/1.743, allocations: 4 kB / 1.279 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.006938/1.75, allocations: 2.001 MB / 1.281 GB, free: 388 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.755, allocations: 0.5606 MB / 1.281 GB, free: 15.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.773, allocations: 7.733 MB / 1.289 GB, free: 7.957 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003681/1.777, allocations: 2.479 MB / 1.291 GB, free: 5.445 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005318/1.782, allocations: 1.017 MB / 1.292 GB, free: 4.426 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.783, allocations: 191.4 kB / 1.292 GB, free: 4.238 MB / 0.823 GB Notification: Performance of SimCode: time 3.086e-06/1.783, allocations: 0 / 1.292 GB, free: 4.238 MB / 0.823 GB Notification: Performance of Templates: time 0.1428/1.926, allocations: 45.63 MB / 1.337 GB, free: 6.883 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)