Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.982/2.982, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001555/0.001555, allocations: 193.4 kB / 370.8 MB, free: 10.84 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.313/2.313, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00115/0.00115, allocations: 90.55 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004842, allocations: 12.36 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01103/0.2369, allocations: 7 MB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8619/1.099, allocations: 128.8 MB / 1.111 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/1.1, allocations: 23.23 kB / 1.111 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008963/1.101, allocations: 194.8 kB / 1.111 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/1.104, allocations: 0.6581 MB / 1.112 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004082/1.108, allocations: 0.8401 MB / 1.112 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003045/1.112, allocations: 1.02 MB / 1.113 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/1.115, allocations: 1.261 MB / 1.115 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/1.117, allocations: 441.6 kB / 1.115 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/1.119, allocations: 480 kB / 1.116 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004501/1.119, allocations: 36.94 kB / 1.116 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/1.122, allocations: 354.5 kB / 1.116 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008215/1.122, allocations: 303.7 kB / 1.116 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006302/1.123, allocations: 255.7 kB / 1.116 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004007/1.127, allocations: 1.529 MB / 1.118 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.127, allocations: 0 / 1.118 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.566e-06/1.127, allocations: 4 kB / 1.118 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.554e-05/1.127, allocations: 0 / 1.118 GB, free: 1.414 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004917/1.132, allocations: 1.473 MB / 1.119 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.132, allocations: 11.7 kB / 1.119 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/1.135, allocations: 303.2 kB / 1.12 GB, free: 472 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/1.138, allocations: 0.919 MB / 1.121 GB, free: 120 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/1.138, allocations: 74.33 kB / 1.121 GB, free: 116 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/1.138, allocations: 103.1 kB / 1.121 GB, free: 116 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/1.143, allocations: 1.305 MB / 1.122 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/1.143, allocations: 2.156 kB / 1.122 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/1.143, allocations: 43.09 kB / 1.122 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/1.143, allocations: 64.5 kB / 1.122 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006054/1.149, allocations: 1.458 MB / 1.124 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/1.16, allocations: 4.712 MB / 1.128 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/1.164, allocations: 1.015 MB / 1.129 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/1.164, allocations: 120.9 kB / 1.129 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/1.166, allocations: 0.5773 MB / 1.13 GB, free: 13.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 4.318e-06/1.166, allocations: 0 / 1.13 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.009283/1.175, allocations: 2.125 MB / 1.132 GB, free: 12.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/1.175, allocations: 243.9 kB / 1.132 GB, free: 12.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/1.178, allocations: 0.8968 MB / 1.133 GB, free: 11.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000338/1.178, allocations: 41.64 kB / 1.133 GB, free: 11.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/1.179, allocations: 0.5401 MB / 1.134 GB, free: 11.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/1.179, allocations: 326.3 kB / 1.134 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/1.179, allocations: 14.53 kB / 1.134 GB, free: 11.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.18, allocations: 342.7 kB / 1.134 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.181, allocations: 349 kB / 1.135 GB, free: 10.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/1.182, allocations: 0.5334 MB / 1.135 GB, free: 10.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/1.184, allocations: 435.2 kB / 1.136 GB, free: 10.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.184, allocations: 1.281 kB / 1.136 GB, free: 10.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005252/1.189, allocations: 1.217 MB / 1.137 GB, free: 10.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005935/1.19, allocations: 1.221 MB / 1.138 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.19, allocations: 7.141 kB / 1.138 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/1.193, allocations: 267.9 kB / 1.138 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/1.195, allocations: 202.9 kB / 1.138 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/1.202, allocations: 2.047 MB / 1.14 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.205, allocations: 98.62 kB / 1.14 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/1.205, allocations: 44.03 kB / 1.14 GB, free: 7.352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.205, allocations: 8.312 kB / 1.14 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00448/1.21, allocations: 0.8904 MB / 1.141 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.21, allocations: 3.469 kB / 1.141 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/1.21, allocations: 7.531 kB / 1.141 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/1.212, allocations: 210.5 kB / 1.142 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-05/1.212, allocations: 13.25 kB / 1.142 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.214, allocations: 101.2 kB / 1.142 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/1.215, allocations: 42.16 kB / 1.142 GB, free: 7.105 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001863/1.217, allocations: 425.7 kB / 1.142 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/1.217, allocations: 112.4 kB / 1.142 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008086/1.225, allocations: 1.387 MB / 1.144 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/1.226, allocations: 11.09 kB / 1.144 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.226, allocations: 7.938 kB / 1.144 GB, free: 6.422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/1.226, allocations: 4.953 kB / 1.144 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.238, allocations: 2.67 MB / 1.146 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/1.239, allocations: 2.469 kB / 1.146 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/1.241, allocations: 194.7 kB / 1.146 GB, free: 5.371 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/1.243, allocations: 215.2 kB / 1.147 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003597/1.244, allocations: 26.83 kB / 1.147 GB, free: 5.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/1.249, allocations: 1.873 MB / 1.148 GB, free: 3.852 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.249, allocations: 6.297 kB / 1.148 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/1.256, allocations: 1.477 MB / 1.15 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.257, allocations: 348.3 kB / 1.15 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/1.258, allocations: 20.25 kB / 1.15 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.26, allocations: 108.4 kB / 1.15 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/1.261, allocations: 74.22 kB / 1.15 GB, free: 2.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/1.261, allocations: 36.83 kB / 1.15 GB, free: 2.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002413/1.264, allocations: 0.6404 MB / 1.151 GB, free: 2.699 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.423e-06/1.264, allocations: 1.156 kB / 1.151 GB, free: 2.699 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004378/1.268, allocations: 463 kB / 1.152 GB, free: 2.676 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (105): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003836/1.272, allocations: 0.5676 MB / 1.152 GB, free: 2.434 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007398/1.279, allocations: 1.539 MB / 1.154 GB, free: 2.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.279, allocations: 0 / 1.154 GB, free: 2.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/1.282, allocations: 0.66 MB / 1.154 GB, free: 1.852 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/1.286, allocations: 295.7 kB / 1.155 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.296, allocations: 2.806 MB / 1.157 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.298, allocations: 1.213 MB / 1.158 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003884/1.302, allocations: 457.7 kB / 1.159 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008789/1.303, allocations: 120.2 kB / 1.159 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.382e-06/1.303, allocations: 0 / 1.159 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.0604/1.363, allocations: 16.71 MB / 1.175 GB, free: 5.477 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)