Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.418/5.418, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002521, allocations: 354.3 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.512/4.512, allocations: 410.7 MB / 1.113 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001835/0.001834, allocations: 185.5 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005274, allocations: 16 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8947/0.8952, allocations: 115.3 MB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01591/0.9112, allocations: 7.153 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.2534/1.165, allocations: 137.8 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/1.166, allocations: 23.88 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/1.168, allocations: 194.7 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004119/1.172, allocations: 0.6528 MB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005048/1.177, allocations: 0.8332 MB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003687/1.181, allocations: 1.612 MB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004674/1.185, allocations: 1.257 MB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/1.187, allocations: 453.9 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/1.189, allocations: 0.5635 MB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004693/1.189, allocations: 36 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/1.191, allocations: 387.4 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008604/1.192, allocations: 314.8 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007102/1.193, allocations: 245 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/1.197, allocations: 1.531 MB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/1.197, allocations: 0 / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.641e-06/1.197, allocations: 0 / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.892e-05/1.197, allocations: 0 / 1.611 GB, free: 131 MB / 0.8542 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.01313/1.21, allocations: 1.471 MB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.21, allocations: 11.62 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/1.214, allocations: 309.9 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/1.217, allocations: 0.9101 MB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/1.217, allocations: 78.09 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/1.218, allocations: 104 kB / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004799/1.222, allocations: 1.306 MB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/1.223, allocations: 7.984 kB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/1.223, allocations: 47.98 kB / 1.615 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/1.223, allocations: 57.98 kB / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005407/1.229, allocations: 1.467 MB / 1.616 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/1.241, allocations: 4.703 MB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/1.245, allocations: 1.003 MB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/1.246, allocations: 436.5 kB / 1.622 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/1.247, allocations: 122.1 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/1.249, allocations: 0.578 MB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=94): time 6.232e-06/1.249, allocations: 0 / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=95): time 0.0106/1.26, allocations: 2.13 MB / 1.625 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.26, allocations: 240.3 kB / 1.625 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/1.262, allocations: 0.8945 MB / 1.626 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002959/1.262, allocations: 45.7 kB / 1.626 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/1.263, allocations: 0.5311 MB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/1.264, allocations: 323.4 kB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.264, allocations: 20 kB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.264, allocations: 345.9 kB / 1.628 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/1.265, allocations: 369.8 kB / 1.628 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/1.267, allocations: 0.5402 MB / 1.628 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/1.269, allocations: 450.8 kB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.269, allocations: 4 kB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006346/1.275, allocations: 1.266 MB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/1.276, allocations: 188.5 kB / 1.63 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.276, allocations: 0 / 1.63 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/1.278, allocations: 264.5 kB / 1.631 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/1.281, allocations: 219.7 kB / 1.631 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/1.287, allocations: 1.984 MB / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.289, allocations: 110.4 kB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/1.289, allocations: 47.97 kB / 1.633 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.289, allocations: 4 kB / 1.633 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003692/1.293, allocations: 0.9368 MB / 1.634 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.293, allocations: 4.578 kB / 1.634 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.293, allocations: 15.94 kB / 1.634 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/1.296, allocations: 227.7 kB / 1.634 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.249e-05/1.296, allocations: 11.98 kB / 1.634 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.298, allocations: 99.38 kB / 1.634 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/1.298, allocations: 43.97 kB / 1.634 GB, free: 106.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.001292/1.299, allocations: 428.6 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/1.3, allocations: 114.5 kB / 1.635 GB, free: 105.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/1.306, allocations: 1.388 MB / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.863e-05/1.306, allocations: 3.984 kB / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.306, allocations: 0 / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.307, allocations: 351.1 kB / 1.636 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/1.308, allocations: 23.95 kB / 1.636 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.31, allocations: 100.5 kB / 1.636 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/1.31, allocations: 68.89 kB / 1.637 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0055/1.316, allocations: 1.302 MB / 1.638 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006117/1.322, allocations: 1.778 MB / 1.64 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001771/1.324, allocations: 451.8 kB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001943/1.326, allocations: 0.6326 MB / 1.641 GB, free: 99.6 MB / 0.8542 GB Notification: Performance of Backend: time 1.684e-06/1.326, allocations: 0 / 1.641 GB, free: 99.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00949/1.336, allocations: 1.914 MB / 1.642 GB, free: 97.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.008805/1.344, allocations: 3.098 MB / 1.645 GB, free: 94.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.07404/1.418, allocations: 22.78 MB / 1.668 GB, free: 72.31 MB / 0.8542 GB