Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 90.98 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006052/0.006052, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003596, allocations: 12.91 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02439/0.3588, allocations: 20.81 MB / 1.094 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2043/0.5631, allocations: 154.6 MB / 1.245 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003357/0.5665, allocations: 59.75 kB / 1.246 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.5684, allocations: 0.5472 MB / 1.246 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.5746, allocations: 1.707 MB / 1.248 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.5799, allocations: 1.765 MB / 1.249 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8294/1.409, allocations: 6.614 MB / 1.256 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/1.42, allocations: 6.595 MB / 1.262 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/1.423, allocations: 1.514 MB / 1.264 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/1.427, allocations: 2.002 MB / 1.266 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006658/1.427, allocations: 171.1 kB / 1.266 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/1.43, allocations: 1.002 MB / 1.267 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001934/1.432, allocations: 1.296 MB / 1.268 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003575/1.435, allocations: 1.699 MB / 1.27 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/1.447, allocations: 6.551 MB / 1.276 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.447, allocations: 0 / 1.276 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.835e-06/1.447, allocations: 0 / 1.276 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003197/1.447, allocations: 0 / 1.276 GB, free: 10.71 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.01104/1.458, allocations: 3.299 MB / 1.279 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.458, allocations: 8.281 kB / 1.279 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/1.463, allocations: 0.833 MB / 1.28 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/1.469, allocations: 2.288 MB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/1.469, allocations: 233.8 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/1.47, allocations: 307 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/1.481, allocations: 4.766 MB / 1.288 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.363e-05/1.481, allocations: 5.094 kB / 1.288 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004235/1.481, allocations: 138.4 kB / 1.288 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004416/1.482, allocations: 215.2 kB / 1.288 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008645/1.49, allocations: 4.362 MB / 1.292 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02539/1.516, allocations: 18.82 MB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/1.519, allocations: 2.231 MB / 1.313 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/1.521, allocations: 1.14 MB / 1.314 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/1.521, allocations: 136.2 kB / 1.314 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/1.522, allocations: 1.245 MB / 1.315 GB, free: 13.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=166): time 2.986e-06/1.522, allocations: 0 / 1.315 GB, free: 13.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=201): time 0.03149/1.554, allocations: 10.61 MB / 1.326 GB, free: 12.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/1.554, allocations: 363.5 kB / 1.326 GB, free: 11.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/1.557, allocations: 1.944 MB / 1.328 GB, free: 11.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004817/1.558, allocations: 63.33 kB / 1.328 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/1.559, allocations: 1.467 MB / 1.329 GB, free: 10.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007746/1.56, allocations: 0.665 MB / 1.33 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/1.56, allocations: 178.8 kB / 1.33 GB, free: 9.711 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/1.56, allocations: 305.1 kB / 1.331 GB, free: 9.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.562, allocations: 1.183 MB / 1.332 GB, free: 9.223 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/1.564, allocations: 1.699 MB / 1.333 GB, free: 8.484 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/1.568, allocations: 2.978 MB / 1.336 GB, free: 7.711 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.568, allocations: 2.906 kB / 1.336 GB, free: 7.711 MB / 1.014 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01139/1.58, allocations: 4.739 MB / 1.341 GB, free: 5.965 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003246/1.58, allocations: 474.4 kB / 1.341 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.58, allocations: 11.34 kB / 1.341 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007876/1.588, allocations: 1.845 MB / 1.343 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/1.59, allocations: 487.9 kB / 1.344 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.605, allocations: 9.107 MB / 1.352 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/1.608, allocations: 217.5 kB / 1.353 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/1.608, allocations: 97.27 kB / 1.353 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.608, allocations: 2.875 kB / 1.353 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/1.619, allocations: 3.931 MB / 1.357 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.719e-05/1.619, allocations: 11.19 kB / 1.357 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005137/1.624, allocations: 1.197 MB / 1.358 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.627, allocations: 0.4994 MB / 1.358 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.637, allocations: 5.667 MB / 1.364 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/1.64, allocations: 193.8 kB / 1.364 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/1.641, allocations: 91.84 kB / 1.364 GB, free: 7.062 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 242 * 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 {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.003772/1.644, allocations: 1.243 MB / 1.365 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006955/1.645, allocations: 227.5 kB / 1.366 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.657, allocations: 4.609 MB / 1.37 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/1.657, allocations: 20 kB / 1.37 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.657, allocations: 8 kB / 1.37 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/1.657, allocations: 11.95 kB / 1.37 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/1.677, allocations: 9.772 MB / 1.38 GB, free: 8.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.677, allocations: 8 kB / 1.38 GB, free: 8.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.679, allocations: 368.9 kB / 1.38 GB, free: 7.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00793/1.687, allocations: 1.701 MB / 1.382 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000349/1.687, allocations: 55.98 kB / 1.382 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/1.702, allocations: 9.046 MB / 1.391 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.702, allocations: 10.91 kB / 1.391 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/1.714, allocations: 4.656 MB / 1.395 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/1.717, allocations: 0.6464 MB / 1.396 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005115/1.717, allocations: 55.98 kB / 1.396 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/1.719, allocations: 222.6 kB / 1.396 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005969/1.72, allocations: 175.5 kB / 1.396 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.72, allocations: 75.98 kB / 1.396 GB, free: 6.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002618/1.723, allocations: 1.353 MB / 1.398 GB, free: 5.332 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.723, allocations: 0 / 1.398 GB, free: 5.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005394/1.728, allocations: 1.289 MB / 1.399 GB, free: 4.043 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002141/1.73, allocations: 0.8043 MB / 1.4 GB, free: 3.539 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.742, allocations: 5.482 MB / 1.405 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.166e-05/1.742, allocations: 4 kB / 1.405 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004726/1.747, allocations: 2.095 MB / 1.407 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/1.753, allocations: 0.6187 MB / 1.408 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.767, allocations: 8.205 MB / 1.416 GB, free: 3.152 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.77, allocations: 2.438 MB / 1.418 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003698/1.774, allocations: 1.029 MB / 1.419 GB, free: 15.65 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/1.775, allocations: 207.4 kB / 1.419 GB, free: 15.45 MB / 1.092 GB Notification: Performance of SimCode: time 1.142e-06/1.775, allocations: 0 / 1.419 GB, free: 15.45 MB / 1.092 GB Notification: Performance of Templates: time 0.08998/1.865, allocations: 48.69 MB / 1.467 GB, free: 15.3 MB / 1.139 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)