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 2.816/2.816, allocations: 287.9 MB / 302.9 MB, free: 8.402 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 165.2 kB / 371.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.4 MB / 0.6301 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 85.25 kB / 0.7434 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008141/0.0008148, allocations: 14.69 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2241, allocations: 115.3 MB / 0.9788 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.008628/0.2328, allocations: 6.996 MB / 0.9856 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8246/1.057, allocations: 128.8 MB / 1.111 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/1.059, allocations: 26.66 kB / 1.111 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007637/1.059, allocations: 192 kB / 1.112 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002639/1.062, allocations: 0.65 MB / 1.112 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003271/1.065, allocations: 0.8389 MB / 1.113 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002267/1.068, allocations: 1.021 MB / 1.114 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/1.071, allocations: 1.26 MB / 1.115 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009989/1.072, allocations: 439.8 kB / 1.116 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009415/1.073, allocations: 479.4 kB / 1.116 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/1.073, allocations: 38.16 kB / 1.116 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/1.074, allocations: 359.5 kB / 1.116 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004016/1.074, allocations: 301.3 kB / 1.117 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/1.075, allocations: 258.3 kB / 1.117 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002414/1.077, allocations: 1.525 MB / 1.119 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/1.077, allocations: 0 / 1.119 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.258e-06/1.077, allocations: 1.438 kB / 1.119 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.937e-05/1.077, allocations: 3.938 kB / 1.119 GB, free: 1.82 MB / 0.6823 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.003198/1.081, allocations: 1.471 MB / 1.12 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.081, allocations: 16.05 kB / 1.12 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.083, allocations: 304.3 kB / 1.12 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/1.085, allocations: 0.9106 MB / 1.121 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-05/1.085, allocations: 81.16 kB / 1.121 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/1.085, allocations: 103.3 kB / 1.121 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/1.088, allocations: 1.302 MB / 1.123 GB, free: 260 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/1.088, allocations: 0 / 1.123 GB, free: 260 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/1.088, allocations: 54.02 kB / 1.123 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/1.088, allocations: 60.41 kB / 1.123 GB, free: 252 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/1.092, allocations: 1.457 MB / 1.124 GB, free: 236 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00888/1.1, allocations: 4.707 MB / 1.129 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/1.103, allocations: 1.029 MB / 1.13 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/1.103, allocations: 120.7 kB / 1.13 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.105, allocations: 0.5811 MB / 1.13 GB, free: 13.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 4.358e-06/1.105, allocations: 0 / 1.13 GB, free: 13.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.006225/1.111, allocations: 2.116 MB / 1.132 GB, free: 12.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/1.111, allocations: 244.4 kB / 1.133 GB, free: 12.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/1.113, allocations: 0.8981 MB / 1.134 GB, free: 11.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/1.113, allocations: 44.83 kB / 1.134 GB, free: 11.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/1.114, allocations: 0.5453 MB / 1.134 GB, free: 11.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/1.114, allocations: 319.7 kB / 1.134 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/1.114, allocations: 18.12 kB / 1.134 GB, free: 11.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.115, allocations: 344.2 kB / 1.135 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/1.115, allocations: 351.7 kB / 1.135 GB, free: 10.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/1.117, allocations: 0.5309 MB / 1.136 GB, free: 10.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.118, allocations: 428.1 kB / 1.136 GB, free: 10.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.544e-06/1.118, allocations: 1.406 kB / 1.136 GB, free: 10.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003789/1.122, allocations: 1.22 MB / 1.137 GB, free: 10.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007122/1.122, allocations: 1.227 MB / 1.138 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.122, allocations: 3.25 kB / 1.138 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/1.124, allocations: 261.8 kB / 1.139 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.125, allocations: 206.8 kB / 1.139 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/1.129, allocations: 2.042 MB / 1.141 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.13, allocations: 106.9 kB / 1.141 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.131, allocations: 38.45 kB / 1.141 GB, free: 7.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.131, allocations: 6 kB / 1.141 GB, free: 7.312 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002264/1.133, allocations: 0.8893 MB / 1.142 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.133, allocations: 3.344 kB / 1.142 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.133, allocations: 8 kB / 1.142 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.134, allocations: 213.7 kB / 1.142 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/1.134, allocations: 13.08 kB / 1.142 GB, free: 7.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.135, allocations: 100.3 kB / 1.142 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.135, allocations: 38.17 kB / 1.142 GB, free: 7.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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.001014/1.136, allocations: 425.7 kB / 1.143 GB, free: 6.844 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/1.137, allocations: 111.9 kB / 1.143 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/1.141, allocations: 1.388 MB / 1.144 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.141, allocations: 10.12 kB / 1.144 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.876e-06/1.141, allocations: 4.922 kB / 1.144 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/1.141, allocations: 5.016 kB / 1.144 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006462/1.147, allocations: 2.669 MB / 1.147 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.147, allocations: 2.656 kB / 1.147 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.148, allocations: 201.9 kB / 1.147 GB, free: 5.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/1.15, allocations: 211.3 kB / 1.147 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/1.15, allocations: 27.39 kB / 1.147 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/1.153, allocations: 1.872 MB / 1.149 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.009e-06/1.153, allocations: 1.844 kB / 1.149 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/1.156, allocations: 1.489 MB / 1.15 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.157, allocations: 345.8 kB / 1.151 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/1.158, allocations: 22.34 kB / 1.151 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.159, allocations: 97.17 kB / 1.151 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.159, allocations: 73.8 kB / 1.151 GB, free: 2.883 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.159, allocations: 36.95 kB / 1.151 GB, free: 2.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001308/1.16, allocations: 0.6352 MB / 1.152 GB, free: 2.672 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.39e-07/1.161, allocations: 0 / 1.152 GB, free: 2.672 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002282/1.163, allocations: 463.2 kB / 1.152 GB, free: 2.648 MB / 0.698 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.002018/1.165, allocations: 0.573 MB / 1.153 GB, free: 2.395 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003994/1.169, allocations: 1.541 MB / 1.154 GB, free: 2.031 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.136e-06/1.169, allocations: 2.109 kB / 1.154 GB, free: 2.031 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/1.17, allocations: 0.653 MB / 1.155 GB, free: 1.816 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/1.172, allocations: 298 kB / 1.155 GB, free: 1.727 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/1.178, allocations: 2.805 MB / 1.158 GB, free: 148 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.179, allocations: 1.213 MB / 1.159 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002207/1.182, allocations: 456.6 kB / 1.159 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/1.182, allocations: 126.2 kB / 1.16 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 2.452e-06/1.182, allocations: 0 / 1.16 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.043/1.225, allocations: 16.72 MB / 1.176 GB, free: 5.387 MB / 0.7136 GB