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 4.943/4.943, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002398/0.002398, allocations: 358.4 kB / 0.644 GB, free: 185.6 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.168/4.168, allocations: 410.7 MB / 1.112 GB, free: 6.031 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.001752/0.001752, allocations: 172.5 kB / 1.225 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 16 kB / 1.348 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5829, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.008518/0.5915, allocations: 7.16 MB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.7283, allocations: 137.8 MB / 1.602 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.7294, allocations: 27.88 kB / 1.602 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.7301, allocations: 190.7 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.7325, allocations: 0.6557 MB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.7353, allocations: 0.8341 MB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.7374, allocations: 1.608 MB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.7398, allocations: 1.263 MB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007243/0.7406, allocations: 457.8 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008201/0.7414, allocations: 0.5522 MB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.7416, allocations: 36 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.7426, allocations: 383.4 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.7429, allocations: 314.8 kB / 1.608 GB, free: 133 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.7432, allocations: 254 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.7449, allocations: 1.523 MB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.465e-06/0.7449, allocations: 0 / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7449, allocations: 0 / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.745, allocations: 0 / 1.61 GB, free: 131.2 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.002732/0.7477, allocations: 1.475 MB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7478, allocations: 15.62 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.7497, allocations: 301.9 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.7518, allocations: 0.914 MB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.7519, allocations: 86.09 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.7521, allocations: 100 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.7548, allocations: 1.306 MB / 1.614 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.7549, allocations: 4 kB / 1.614 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.7551, allocations: 47.98 kB / 1.614 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.7552, allocations: 72.67 kB / 1.614 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.7581, allocations: 1.463 MB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007658/0.7658, allocations: 4.696 MB / 1.62 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.768, allocations: 1.009 MB / 1.621 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008649/0.7689, allocations: 432.6 kB / 1.622 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.7691, allocations: 122 kB / 1.622 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.7702, allocations: 0.5728 MB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=94): time 4.405e-06/0.7702, allocations: 0 / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=95): time 0.005547/0.7758, allocations: 2.122 MB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.7759, allocations: 256.3 kB / 1.625 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.7773, allocations: 0.8945 MB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.7775, allocations: 45.7 kB / 1.626 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.7779, allocations: 0.5311 MB / 1.626 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.7782, allocations: 319.4 kB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.7783, allocations: 20 kB / 1.627 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.7783, allocations: 338 kB / 1.627 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008529/0.7792, allocations: 377.7 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/0.7802, allocations: 0.5365 MB / 1.628 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.7812, allocations: 450.8 kB / 1.628 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.128e-06/0.7812, allocations: 0 / 1.628 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003237/0.7845, allocations: 1.27 MB / 1.629 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-05/0.7846, allocations: 184.4 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7846, allocations: 4 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.7859, allocations: 264.4 kB / 1.63 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7872, allocations: 219.7 kB / 1.63 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.7903, allocations: 1.988 MB / 1.632 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.7916, allocations: 107.5 kB / 1.632 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.7918, allocations: 43.97 kB / 1.632 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.7918, allocations: 4 kB / 1.632 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002052/0.7938, allocations: 0.9408 MB / 1.633 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7939, allocations: 4 kB / 1.633 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7939, allocations: 8.109 kB / 1.633 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.7951, allocations: 223.6 kB / 1.633 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.7951, allocations: 15.92 kB / 1.633 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/0.7961, allocations: 106.7 kB / 1.633 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.7962, allocations: 43.98 kB / 1.634 GB, free: 106.5 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.000743/0.797, allocations: 427 kB / 1.634 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.7972, allocations: 114.6 kB / 1.634 GB, free: 106 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.8007, allocations: 1.384 MB / 1.635 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8007, allocations: 12 kB / 1.635 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8007, allocations: 0 / 1.635 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.8008, allocations: 15.94 kB / 1.635 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.8059, allocations: 2.655 MB / 1.638 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.765e-06/0.806, allocations: 0 / 1.638 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.807, allocations: 203.9 kB / 1.638 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009386/0.808, allocations: 209.5 kB / 1.638 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.8081, allocations: 27.98 kB / 1.638 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.8103, allocations: 1.825 MB / 1.64 GB, free: 99.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.963e-06/0.8103, allocations: 0 / 1.64 GB, free: 99.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.8135, allocations: 1.404 MB / 1.642 GB, free: 98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/0.8142, allocations: 344.9 kB / 1.642 GB, free: 97.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.8145, allocations: 27.95 kB / 1.642 GB, free: 97.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.8155, allocations: 95.89 kB / 1.642 GB, free: 97.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.8157, allocations: 72.91 kB / 1.642 GB, free: 97.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/0.8158, allocations: 39.98 kB / 1.642 GB, free: 97.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001023/0.8169, allocations: 0.6287 MB / 1.643 GB, free: 96.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.013e-06/0.8169, allocations: 0 / 1.643 GB, free: 96.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001946/0.8188, allocations: 475.9 kB / 1.643 GB, free: 96.31 MB / 0.8542 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.001792/0.8207, allocations: 0.5714 MB / 1.644 GB, free: 95.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00362/0.8243, allocations: 1.607 MB / 1.645 GB, free: 94.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.552e-06/0.8244, allocations: 4 kB / 1.645 GB, free: 94.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.8257, allocations: 0.653 MB / 1.646 GB, free: 93.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.8279, allocations: 316.2 kB / 1.646 GB, free: 93.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.8327, allocations: 2.821 MB / 1.649 GB, free: 90.49 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/0.8335, allocations: 1.205 MB / 1.65 GB, free: 89.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001922/0.8355, allocations: 470.1 kB / 1.651 GB, free: 88.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.8359, allocations: 115.4 kB / 1.651 GB, free: 88.68 MB / 0.8542 GB Notification: Performance of SimCode: time 1.658e-06/0.8359, allocations: 0 / 1.651 GB, free: 88.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.03625/0.8722, allocations: 16.72 MB / 1.667 GB, free: 72.25 MB / 0.8542 GB