Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.959/4.959, allocations: 0.5623 GB / 0.5769 GB, free: 3.379 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.004018/0.004017, allocations: 356.5 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.352/4.352, allocations: 410.7 MB / 1.112 GB, free: 5.883 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.001799/0.001799, allocations: 193.4 kB / 1.225 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004925, allocations: 8 kB / 1.348 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5889, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02144/0.6104, allocations: 19.11 MB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1467/0.7571, allocations: 143.6 MB / 1.62 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.7596, allocations: 63.69 kB / 1.62 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.7614, allocations: 0.524 MB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005643/0.7671, allocations: 1.647 MB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005375/0.7725, allocations: 1.558 MB / 1.623 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006202/0.7787, allocations: 5.41 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.7891, allocations: 5.724 MB / 1.634 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.7918, allocations: 1.475 MB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.795, allocations: 1.934 MB / 1.638 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006932/0.7957, allocations: 164 kB / 1.638 GB, free: 103 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.7978, allocations: 0.6046 MB / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.7995, allocations: 1.325 MB / 1.64 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.8006, allocations: 0.6912 MB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006147/0.8067, allocations: 5.677 MB / 1.646 GB, free: 94.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.087e-06/0.8068, allocations: 3.938 kB / 1.646 GB, free: 94.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.092e-06/0.8068, allocations: 0 / 1.646 GB, free: 94.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001241/0.8069, allocations: 4 kB / 1.646 GB, free: 94.7 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.007247/0.8142, allocations: 3.298 MB / 1.649 GB, free: 91.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8143, allocations: 15.62 kB / 1.649 GB, free: 91.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.8191, allocations: 0.8344 MB / 1.65 GB, free: 90.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/0.8243, allocations: 2.344 MB / 1.652 GB, free: 88.08 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.8245, allocations: 230.2 kB / 1.652 GB, free: 87.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008166/0.8254, allocations: 303.9 kB / 1.653 GB, free: 87.56 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.8358, allocations: 4.723 MB / 1.657 GB, free: 82.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.615e-05/0.836, allocations: 7.938 kB / 1.657 GB, free: 82.67 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005254/0.8365, allocations: 135.9 kB / 1.657 GB, free: 82.54 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003973/0.8369, allocations: 214 kB / 1.658 GB, free: 82.33 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009877/0.8468, allocations: 4.298 MB / 1.662 GB, free: 78.02 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02803/0.8749, allocations: 19.52 MB / 1.681 GB, free: 56.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.8791, allocations: 1.978 MB / 1.683 GB, free: 54.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.8812, allocations: 1.119 MB / 1.684 GB, free: 53.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.8816, allocations: 130.4 kB / 1.684 GB, free: 53.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002342/0.8839, allocations: 1.217 MB / 1.685 GB, free: 52.47 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=160): time 5.711e-06/0.884, allocations: 0 / 1.685 GB, free: 52.47 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197): time 0.04135/0.9253, allocations: 11.18 MB / 1.696 GB, free: 41.21 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.9255, allocations: 304.7 kB / 1.696 GB, free: 40.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/0.929, allocations: 2.067 MB / 1.698 GB, free: 38.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.9294, allocations: 61.7 kB / 1.699 GB, free: 38.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.9308, allocations: 1.489 MB / 1.7 GB, free: 37.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007545/0.9316, allocations: 0.6546 MB / 1.701 GB, free: 36.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.9318, allocations: 40 kB / 1.701 GB, free: 36.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9319, allocations: 385.9 kB / 1.701 GB, free: 36.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.9345, allocations: 1.175 MB / 1.702 GB, free: 34.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.9375, allocations: 1.622 MB / 1.704 GB, free: 33.12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.9404, allocations: 1.396 MB / 1.705 GB, free: 31.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.9404, allocations: 4 kB / 1.705 GB, free: 31.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01652/0.957, allocations: 5.163 MB / 1.71 GB, free: 26.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.9572, allocations: 376.1 kB / 1.711 GB, free: 26.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.9572, allocations: 8 kB / 1.711 GB, free: 26.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/0.9694, allocations: 2.443 MB / 1.713 GB, free: 23.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.972, allocations: 467.2 kB / 1.713 GB, free: 23.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.9941, allocations: 14.21 MB / 1.727 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/0.997, allocations: 195.8 kB / 1.727 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/0.9974, allocations: 88.03 kB / 1.728 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.9974, allocations: 4 kB / 1.728 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01268/1.01, allocations: 4.195 MB / 1.732 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/1.01, allocations: 8 kB / 1.732 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00788/1.018, allocations: 1.621 MB / 1.733 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/1.021, allocations: 483.2 kB / 1.734 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.631/1.652, allocations: 8.115 MB / 1.742 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/1.655, allocations: 176.9 kB / 1.742 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004654/1.655, allocations: 85.58 kB / 1.742 GB, free: 255.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002973/1.658, allocations: 1.261 MB / 1.743 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006784/1.659, allocations: 230.8 kB / 1.743 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.678, allocations: 5.2 MB / 1.748 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/1.678, allocations: 27.83 kB / 1.748 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/1.678, allocations: 1.906 kB / 1.748 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-05/1.678, allocations: 9.469 kB / 1.748 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03046/1.709, allocations: 9.859 MB / 1.758 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.432e-05/1.709, allocations: 4.312 kB / 1.758 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004066/1.713, allocations: 389.3 kB / 1.758 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02188/1.735, allocations: 2.268 MB / 1.761 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006586/1.736, allocations: 52.23 kB / 1.761 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04026/1.776, allocations: 13.82 MB / 1.774 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-05/1.776, allocations: 11.69 kB / 1.774 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02332/1.799, allocations: 5.069 MB / 1.779 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001883/1.801, allocations: 0.6785 MB / 1.78 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/1.802, allocations: 42.06 kB / 1.78 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/1.804, allocations: 228.9 kB / 1.78 GB, free: 232.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005569/1.805, allocations: 165.5 kB / 1.78 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.805, allocations: 67.98 kB / 1.78 GB, free: 231.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002612/1.808, allocations: 1.446 MB / 1.782 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.9e-07/1.808, allocations: 4 kB / 1.782 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005166/1.813, allocations: 1.218 MB / 1.783 GB, free: 229.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (194): * Single equations (assignments): 186 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/1.815, allocations: 0.6518 MB / 1.784 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.827, allocations: 5.804 MB / 1.789 GB, free: 223 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.828, allocations: 4 kB / 1.789 GB, free: 223 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004377/1.832, allocations: 2.321 MB / 1.791 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/1.836, allocations: 0.6154 MB / 1.792 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.849, allocations: 8.01 MB / 1.8 GB, free: 212.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/1.853, allocations: 2.545 MB / 1.802 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004215/1.857, allocations: 1.001 MB / 1.803 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008808/1.858, allocations: 207.4 kB / 1.804 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.919e-06/1.858, allocations: 0 / 1.804 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.0959/1.954, allocations: 50.51 MB / 1.853 GB, free: 158.6 MB / 0.8542 GB