Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.783/4.783, allocations: 0.5623 GB / 0.577 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.002407/0.002406, allocations: 358.8 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.264/4.264, allocations: 410.7 MB / 1.112 GB, free: 5.902 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.001796/0.001796, allocations: 195.2 kB / 1.225 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005038, allocations: 12 kB / 1.348 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7239, 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_N): time 0.02051/0.7444, allocations: 18.87 MB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1442/0.8887, allocations: 143.7 MB / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.8911, allocations: 59.75 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.8929, allocations: 0.5162 MB / 1.62 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.8986, allocations: 1.657 MB / 1.622 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005425/0.904, allocations: 1.584 MB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005825/0.9099, allocations: 5.193 MB / 1.628 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009855/0.9198, allocations: 5.697 MB / 1.634 GB, free: 107 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.9223, allocations: 1.436 MB / 1.635 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.9253, allocations: 1.872 MB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0005915/0.9259, allocations: 164 kB / 1.637 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.9277, allocations: 0.5889 MB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.9291, allocations: 1.266 MB / 1.639 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009123/0.93, allocations: 0.664 MB / 1.64 GB, free: 101 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.9359, allocations: 5.408 MB / 1.645 GB, free: 95.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.847e-06/0.936, allocations: 0 / 1.645 GB, free: 95.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.889e-06/0.936, allocations: 0 / 1.645 GB, free: 95.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001096/0.9361, allocations: 0 / 1.645 GB, free: 95.57 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.006456/0.9426, allocations: 3.2 MB / 1.648 GB, free: 92.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.9426, allocations: 15.62 kB / 1.648 GB, free: 92.29 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.9475, allocations: 0.862 MB / 1.649 GB, free: 91.42 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/0.9521, allocations: 2.185 MB / 1.651 GB, free: 89.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.9523, allocations: 230.1 kB / 1.651 GB, free: 88.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006024/0.953, allocations: 300 kB / 1.652 GB, free: 88.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008852/0.9618, allocations: 4.658 MB / 1.656 GB, free: 83.87 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.098e-05/0.9619, allocations: 4 kB / 1.656 GB, free: 83.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003929/0.9623, allocations: 128 kB / 1.656 GB, free: 83.74 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003862/0.9627, allocations: 225.9 kB / 1.656 GB, free: 83.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009113/0.9719, allocations: 4.278 MB / 1.661 GB, free: 79.23 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.9973, allocations: 18.46 MB / 1.679 GB, free: 59.33 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/1.001, allocations: 2.117 MB / 1.681 GB, free: 57.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/1.003, allocations: 1.104 MB / 1.682 GB, free: 56.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/1.004, allocations: 138.4 kB / 1.682 GB, free: 55.94 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/1.006, allocations: 1.161 MB / 1.683 GB, free: 54.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 6.283e-06/1.006, allocations: 3.984 kB / 1.683 GB, free: 54.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192): time 0.03458/1.04, allocations: 10.36 MB / 1.693 GB, free: 44.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/1.04, allocations: 356.1 kB / 1.694 GB, free: 43.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/1.043, allocations: 1.873 MB / 1.695 GB, free: 41.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/1.044, allocations: 65.7 kB / 1.695 GB, free: 41.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/1.045, allocations: 1.429 MB / 1.697 GB, free: 40.44 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/1.045, allocations: 0.6431 MB / 1.697 GB, free: 39.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/1.046, allocations: 44 kB / 1.698 GB, free: 39.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.046, allocations: 397.9 kB / 1.698 GB, free: 39.35 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/1.048, allocations: 1.136 MB / 1.699 GB, free: 38.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/1.051, allocations: 1.653 MB / 1.701 GB, free: 36.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/1.053, allocations: 1.407 MB / 1.702 GB, free: 34.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.053, allocations: 8 kB / 1.702 GB, free: 34.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01296/1.066, allocations: 4.63 MB / 1.707 GB, free: 30.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.066, allocations: 458.6 kB / 1.707 GB, free: 29.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.066, allocations: 12 kB / 1.707 GB, free: 29.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008623/1.075, allocations: 1.843 MB / 1.709 GB, free: 27.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/1.078, allocations: 479.2 kB / 1.709 GB, free: 27.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/1.095, allocations: 9.35 MB / 1.718 GB, free: 17.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/1.097, allocations: 195.7 kB / 1.719 GB, free: 17.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/1.098, allocations: 95.91 kB / 1.719 GB, free: 17.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.098, allocations: 4 kB / 1.719 GB, free: 17.45 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01029/1.108, allocations: 3.83 MB / 1.722 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.025e-05/1.108, allocations: 12.66 kB / 1.722 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005517/1.113, allocations: 1.202 MB / 1.724 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/1.116, allocations: 495.2 kB / 1.724 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.127, allocations: 5.664 MB / 1.73 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.13, allocations: 181.9 kB / 1.73 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/1.13, allocations: 91.97 kB / 1.73 GB, free: 5.855 MB / 0.8542 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 ($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 (232): * Single equations (assignments): 230 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002443/1.132, allocations: 1.223 MB / 1.731 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/1.133, allocations: 217.4 kB / 1.731 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5646/1.697, allocations: 4.507 MB / 1.736 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/1.698, allocations: 19.56 kB / 1.736 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.698, allocations: 3.188 kB / 1.736 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.304e-05/1.698, allocations: 10.98 kB / 1.736 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/1.723, allocations: 9.553 MB / 1.745 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/1.723, allocations: 7.375 kB / 1.745 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/1.725, allocations: 365.9 kB / 1.745 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01363/1.738, allocations: 1.697 MB / 1.747 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005626/1.739, allocations: 49.52 kB / 1.747 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/1.758, allocations: 9.034 MB / 1.756 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.758, allocations: 11.72 kB / 1.756 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.77, allocations: 4.544 MB / 1.76 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.772, allocations: 0.6313 MB / 1.761 GB, free: 250.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/1.772, allocations: 46.34 kB / 1.761 GB, free: 250.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/1.774, allocations: 206.6 kB / 1.761 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004623/1.775, allocations: 163.1 kB / 1.761 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.775, allocations: 75.34 kB / 1.761 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002254/1.777, allocations: 1.296 MB / 1.763 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.17e-07/1.777, allocations: 3.406 kB / 1.763 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005041/1.782, allocations: 1.198 MB / 1.764 GB, free: 249.7 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002268/1.785, allocations: 0.6567 MB / 1.765 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01342/1.798, allocations: 5.475 MB / 1.77 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.798, allocations: 0 / 1.77 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004611/1.803, allocations: 2.017 MB / 1.772 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/1.807, allocations: 0.582 MB / 1.772 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.82, allocations: 7.739 MB / 1.78 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/1.823, allocations: 2.472 MB / 1.782 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003959/1.827, allocations: 1.011 MB / 1.783 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007901/1.828, allocations: 197.6 kB / 1.784 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.668e-06/1.828, allocations: 0 / 1.784 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.08807/1.916, allocations: 45.52 MB / 1.828 GB, free: 186.6 MB / 0.8542 GB