Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.796/1.796, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001256/0.001256, allocations: 187.5 kB / 371.9 MB, free: 10.27 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.732/1.732, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001028/0.001028, allocations: 86.22 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004577, allocations: 10.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.007179/0.2966, allocations: 6.996 MB / 0.9863 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8294/1.126, allocations: 128.7 MB / 1.112 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/1.127, allocations: 21.62 kB / 1.112 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006964/1.128, allocations: 190 kB / 1.112 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/1.13, allocations: 0.6579 MB / 1.113 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/1.133, allocations: 0.8378 MB / 1.114 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002083/1.135, allocations: 1.019 MB / 1.115 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/1.138, allocations: 1.266 MB / 1.116 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/1.138, allocations: 437.8 kB / 1.116 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/1.139, allocations: 477.4 kB / 1.117 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/1.139, allocations: 40.72 kB / 1.117 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/1.141, allocations: 359.4 kB / 1.117 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00036/1.141, allocations: 299.4 kB / 1.117 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/1.141, allocations: 248.8 kB / 1.118 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/1.143, allocations: 1.529 MB / 1.119 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/1.143, allocations: 0 / 1.119 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/1.143, allocations: 3.938 kB / 1.119 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.644e-05/1.143, allocations: 0.875 kB / 1.119 GB, free: 2.094 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.002663/1.146, allocations: 1.476 MB / 1.121 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.146, allocations: 13.86 kB / 1.121 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/1.147, allocations: 304.1 kB / 1.121 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/1.15, allocations: 0.9134 MB / 1.122 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/1.15, allocations: 81.72 kB / 1.122 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/1.15, allocations: 102.8 kB / 1.122 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/1.153, allocations: 1.302 MB / 1.123 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/1.153, allocations: 3.938 kB / 1.123 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/1.153, allocations: 46.73 kB / 1.123 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/1.153, allocations: 66.22 kB / 1.123 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/1.155, allocations: 1.461 MB / 1.125 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006523/1.162, allocations: 4.71 MB / 1.129 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/1.164, allocations: 1.017 MB / 1.13 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/1.164, allocations: 118.2 kB / 1.13 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/1.165, allocations: 0.5781 MB / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 3.066e-06/1.165, allocations: 0 / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.004908/1.17, allocations: 2.111 MB / 1.133 GB, free: 12.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/1.17, allocations: 247.5 kB / 1.133 GB, free: 12.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/1.171, allocations: 0.9045 MB / 1.134 GB, free: 11.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.068e-05/1.171, allocations: 47.08 kB / 1.134 GB, free: 11.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/1.172, allocations: 0.5433 MB / 1.135 GB, free: 11.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/1.172, allocations: 321.9 kB / 1.135 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/1.172, allocations: 15.66 kB / 1.135 GB, free: 11.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.172, allocations: 340.5 kB / 1.135 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/1.173, allocations: 350.7 kB / 1.136 GB, free: 10.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008093/1.174, allocations: 0.533 MB / 1.136 GB, free: 10.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/1.174, allocations: 429 kB / 1.137 GB, free: 10.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.175, allocations: 1.25 kB / 1.137 GB, free: 10.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002796/1.177, allocations: 1.224 MB / 1.138 GB, free: 10.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005503/1.178, allocations: 1.223 MB / 1.139 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.178, allocations: 2.812 kB / 1.139 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.179, allocations: 262.4 kB / 1.139 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/1.18, allocations: 211.8 kB / 1.14 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/1.183, allocations: 2.03 MB / 1.142 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.184, allocations: 118.8 kB / 1.142 GB, free: 7.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/1.184, allocations: 36.14 kB / 1.142 GB, free: 7.246 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.184, allocations: 3.875 kB / 1.142 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001703/1.186, allocations: 0.8938 MB / 1.143 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.186, allocations: 2.594 kB / 1.143 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.186, allocations: 7.906 kB / 1.143 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/1.187, allocations: 216.5 kB / 1.143 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/1.187, allocations: 11.19 kB / 1.143 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/1.188, allocations: 97.78 kB / 1.143 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/1.188, allocations: 39.58 kB / 1.143 GB, free: 7 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.0008896/1.189, allocations: 425.7 kB / 1.143 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/1.189, allocations: 116.5 kB / 1.143 GB, free: 6.711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/1.193, allocations: 1.382 MB / 1.145 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.193, allocations: 15.47 kB / 1.145 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.193, allocations: 0 / 1.145 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/1.193, allocations: 9 kB / 1.145 GB, free: 6.316 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/1.199, allocations: 2.672 MB / 1.147 GB, free: 5.305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/1.199, allocations: 6.344 kB / 1.147 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/1.2, allocations: 190.7 kB / 1.148 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008766/1.201, allocations: 208.4 kB / 1.148 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-05/1.201, allocations: 29.02 kB / 1.148 GB, free: 5.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/1.203, allocations: 1.865 MB / 1.15 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.203, allocations: 11.58 kB / 1.15 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.207, allocations: 1.48 MB / 1.151 GB, free: 3.102 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/1.208, allocations: 347.9 kB / 1.151 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/1.208, allocations: 30.7 kB / 1.151 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.209, allocations: 92.75 kB / 1.152 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/1.21, allocations: 79.89 kB / 1.152 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.21, allocations: 36.17 kB / 1.152 GB, free: 2.812 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001507/1.211, allocations: 0.6346 MB / 1.152 GB, free: 2.605 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.211, allocations: 0 / 1.152 GB, free: 2.605 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002572/1.214, allocations: 462.4 kB / 1.153 GB, free: 2.582 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.001658/1.216, allocations: 0.5723 MB / 1.153 GB, free: 2.316 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003197/1.219, allocations: 1.544 MB / 1.155 GB, free: 1.949 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.219, allocations: 0 / 1.155 GB, free: 1.949 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/1.22, allocations: 0.6477 MB / 1.155 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/1.222, allocations: 301.9 kB / 1.156 GB, free: 1.645 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/1.227, allocations: 2.804 MB / 1.158 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/1.229, allocations: 1.229 MB / 1.16 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001659/1.23, allocations: 466.9 kB / 1.16 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/1.231, allocations: 124.7 kB / 1.16 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.313e-06/1.231, allocations: 1.859 kB / 1.16 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.03513/1.266, allocations: 16.71 MB / 1.177 GB, free: 5.148 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)