Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.286/2.286, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 194.7 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 0.7948 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 107.6 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 56.95 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3133, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02152/0.3349, allocations: 20.7 MB / 1.238 GB, free: 96.42 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1752/0.5101, allocations: 156.2 MB / 1.391 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.5137, allocations: 63.69 kB / 1.391 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.004641/0.5185, allocations: 1.463 MB / 1.392 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.5251, allocations: 1.651 MB / 1.394 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00646/0.5316, allocations: 1.953 MB / 1.396 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.008638/0.5402, allocations: 6.454 MB / 1.402 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/0.5513, allocations: 6.019 MB / 1.408 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003931/0.5553, allocations: 1.779 MB / 1.41 GB, free: 220 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005841/0.5611, allocations: 2.32 MB / 1.412 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002447/0.5636, allocations: 284 kB / 1.412 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/0.5691, allocations: 1.12 MB / 1.413 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.003767/0.5729, allocations: 1.473 MB / 1.415 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.004939/0.5778, allocations: 1.85 MB / 1.417 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.5885, allocations: 6.617 MB / 1.423 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.5886, allocations: 4 kB / 1.423 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5886, allocations: 0 / 1.423 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002859/0.5889, allocations: 0 / 1.423 GB, free: 2.512 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 812 * Number of variables: 812 Notification: Performance of Generate backend data structure: time 0.6535/1.242, allocations: 3.922 MB / 1.427 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.242, allocations: 14.34 kB / 1.427 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/1.247, allocations: 0.8162 MB / 1.428 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/1.252, allocations: 2.247 MB / 1.43 GB, free: 200.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/1.252, allocations: 233.3 kB / 1.43 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005164/1.253, allocations: 294.1 kB / 1.43 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/1.262, allocations: 4.7 MB / 1.435 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.347e-05/1.262, allocations: 9.875 kB / 1.435 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/1.262, allocations: 126.1 kB / 1.435 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005816/1.263, allocations: 222.1 kB / 1.435 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008948/1.272, allocations: 4.3 MB / 1.44 GB, free: 196.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/1.294, allocations: 18.45 MB / 1.458 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/1.297, allocations: 2.105 MB / 1.46 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.299, allocations: 1.114 MB / 1.461 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/1.299, allocations: 133 kB / 1.461 GB, free: 181 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/1.301, allocations: 1.171 MB / 1.462 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 4.138e-06/1.301, allocations: 3.75 kB / 1.462 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=192): time 0.02675/1.328, allocations: 10.24 MB / 1.472 GB, free: 171 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.328, allocations: 360.1 kB / 1.472 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/1.33, allocations: 1.909 MB / 1.474 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003188/1.331, allocations: 57.7 kB / 1.474 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/1.332, allocations: 1.448 MB / 1.476 GB, free: 167.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/1.332, allocations: 0.6503 MB / 1.476 GB, free: 166.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005785/1.333, allocations: 414 kB / 1.477 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.509e-05/1.333, allocations: 305.1 kB / 1.477 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/1.334, allocations: 1.153 MB / 1.478 GB, free: 164.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/1.336, allocations: 1.664 MB / 1.48 GB, free: 162.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/1.339, allocations: 2.911 MB / 1.483 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.339, allocations: 4 kB / 1.483 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009554/1.349, allocations: 4.598 MB / 1.487 GB, free: 155 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.349, allocations: 12 kB / 1.487 GB, free: 155 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.349, allocations: 12.66 kB / 1.487 GB, free: 155 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006435/1.355, allocations: 1.738 MB / 1.489 GB, free: 153.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.357, allocations: 471.2 kB / 1.489 GB, free: 152.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.368, allocations: 9.009 MB / 1.498 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/1.371, allocations: 188.5 kB / 1.498 GB, free: 143.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/1.371, allocations: 95.97 kB / 1.498 GB, free: 143.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003585/1.375, allocations: 2.104 MB / 1.5 GB, free: 141.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001635/1.376, allocations: 1.59 MB / 1.502 GB, free: 139.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002947/1.379, allocations: 2.767 MB / 1.505 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.264e-06/1.379, allocations: 4 kB / 1.505 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=262) (initialization_lambda0): time 0.008/1.387, allocations: 4.001 MB / 1.509 GB, free: 132.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.387, allocations: 19.88 kB / 1.509 GB, free: 132.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.387, allocations: 15.75 kB / 1.509 GB, free: 132.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/1.392, allocations: 1.093 MB / 1.51 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.393, allocations: 495.2 kB / 1.51 GB, free: 130.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/1.401, allocations: 5.279 MB / 1.515 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/1.403, allocations: 181 kB / 1.515 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/1.404, allocations: 91.97 kB / 1.516 GB, free: 125.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0007276/1.404, allocations: 312.3 kB / 1.516 GB, free: 124.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006073/1.405, allocations: 221.3 kB / 1.516 GB, free: 124.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.416, allocations: 4.456 MB / 1.52 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/1.416, allocations: 20 kB / 1.52 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/1.416, allocations: 4 kB / 1.52 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/1.416, allocations: 7.969 kB / 1.52 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.434, allocations: 9.523 MB / 1.53 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.434, allocations: 8.156 kB / 1.53 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.435, allocations: 367.4 kB / 1.53 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00561/1.441, allocations: 1.592 MB / 1.532 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/1.441, allocations: 59.97 kB / 1.532 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.453, allocations: 8.931 MB / 1.54 GB, free: 99.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.453, allocations: 15.97 kB / 1.54 GB, free: 99.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.466, allocations: 7.06 MB / 1.547 GB, free: 91.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.468, allocations: 0.5919 MB / 1.548 GB, free: 91.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/1.468, allocations: 55.92 kB / 1.548 GB, free: 91.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.47, allocations: 191.7 kB / 1.548 GB, free: 91.14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/1.471, allocations: 161.6 kB / 1.548 GB, free: 90.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.471, allocations: 71.97 kB / 1.548 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002239/1.473, allocations: 1.325 MB / 1.55 GB, free: 89.56 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/1.473, allocations: 0 / 1.55 GB, free: 89.56 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005173/1.479, allocations: 1.249 MB / 1.551 GB, free: 88.33 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/1.481, allocations: 0.7919 MB / 1.552 GB, free: 87.85 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008533/1.489, allocations: 5.168 MB / 1.557 GB, free: 82.65 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.489, allocations: 4.125 kB / 1.557 GB, free: 82.65 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/1.493, allocations: 2.017 MB / 1.559 GB, free: 80.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/1.498, allocations: 0.5962 MB / 1.559 GB, free: 80.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.513, allocations: 9.11 MB / 1.568 GB, free: 70.78 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003222/1.516, allocations: 2.473 MB / 1.571 GB, free: 68.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003716/1.52, allocations: 1.017 MB / 1.572 GB, free: 67.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008354/1.521, allocations: 195.4 kB / 1.572 GB, free: 67.06 MB / 0.9167 GB Notification: Performance of SimCode: time 9.52e-07/1.521, allocations: 3.938 kB / 1.572 GB, free: 67.05 MB / 0.9167 GB Notification: Performance of Templates: time 0.07656/1.597, allocations: 48.92 MB / 1.62 GB, free: 18.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)