Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.098/5.098, allocations: 0.5623 GB / 0.5769 GB, free: 3.375 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.002401/0.0024, allocations: 353.1 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.265/4.265, allocations: 410.7 MB / 1.112 GB, free: 5.977 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.003047/0.003046, allocations: 171 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006083/0.0006086, allocations: 16 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6062, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.007323/0.6135, allocations: 6.212 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1377/0.7513, allocations: 137.9 MB / 1.601 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.7523, allocations: 23.88 kB / 1.601 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.7529, allocations: 182.8 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.7551, allocations: 0.6524 MB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.7578, allocations: 0.8413 MB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.7598, allocations: 1.616 MB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.7621, allocations: 1.25 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.7628, allocations: 461.9 kB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008007/0.7636, allocations: 0.5543 MB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.7638, allocations: 36 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000954/0.7647, allocations: 399.2 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.7651, allocations: 302.9 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.7653, allocations: 245 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.7669, allocations: 1.535 MB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.669e-06/0.767, allocations: 4 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.434e-06/0.767, allocations: 4 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.767, allocations: 0 / 1.609 GB, free: 132.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.002507/0.7695, allocations: 1.459 MB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.7696, allocations: 11.62 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.7713, allocations: 305.9 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.773, allocations: 0.9102 MB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.7731, allocations: 78.09 kB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.7733, allocations: 100 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.7757, allocations: 1.322 MB / 1.613 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.7758, allocations: 7.938 kB / 1.613 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.7759, allocations: 44 kB / 1.613 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.776, allocations: 61.97 kB / 1.613 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.7788, allocations: 1.459 MB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006751/0.7856, allocations: 4.703 MB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.7877, allocations: 1.011 MB / 1.62 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.7885, allocations: 428.5 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.7888, allocations: 122 kB / 1.621 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.7899, allocations: 0.5806 MB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=94): time 5.874e-06/0.7899, allocations: 112 / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=95): time 0.005602/0.7956, allocations: 2.119 MB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.7957, allocations: 240.3 kB / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.797, allocations: 0.8984 MB / 1.625 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.7972, allocations: 45.69 kB / 1.625 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.7976, allocations: 0.5388 MB / 1.625 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.7979, allocations: 319.3 kB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.798, allocations: 23.94 kB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.7981, allocations: 345.9 kB / 1.626 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000827/0.799, allocations: 369.8 kB / 1.626 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009549/0.7999, allocations: 0.5365 MB / 1.627 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/0.8009, allocations: 446.8 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.775e-06/0.8009, allocations: 4 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003153/0.8041, allocations: 1.266 MB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.8042, allocations: 188.2 kB / 1.629 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.8042, allocations: 80 / 1.629 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.8055, allocations: 268.5 kB / 1.629 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.8067, allocations: 215.7 kB / 1.629 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.81, allocations: 1.987 MB / 1.631 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.8112, allocations: 111.3 kB / 1.631 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.8113, allocations: 43.98 kB / 1.631 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.8113, allocations: 7.594 kB / 1.631 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/0.8134, allocations: 0.945 MB / 1.632 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.585e-06/0.8134, allocations: 0 / 1.632 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8134, allocations: 8 kB / 1.632 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.8145, allocations: 223.7 kB / 1.632 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.8146, allocations: 11.94 kB / 1.632 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/0.8155, allocations: 107.3 kB / 1.633 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.8157, allocations: 43.97 kB / 1.633 GB, free: 107.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.0007297/0.8164, allocations: 432.8 kB / 1.633 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.8166, allocations: 106.7 kB / 1.633 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.82, allocations: 1.384 MB / 1.634 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8201, allocations: 8 kB / 1.634 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.036e-06/0.8201, allocations: 4 kB / 1.634 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.8201, allocations: 15.91 kB / 1.634 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/0.8252, allocations: 2.671 MB / 1.637 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.8252, allocations: 4 kB / 1.637 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.8262, allocations: 187.7 kB / 1.637 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009311/0.8272, allocations: 216.8 kB / 1.637 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.8274, allocations: 35.98 kB / 1.637 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.8296, allocations: 1.819 MB / 1.639 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.8297, allocations: 4 kB / 1.639 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.8328, allocations: 1.392 MB / 1.641 GB, free: 98.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/0.8336, allocations: 343.3 kB / 1.641 GB, free: 98.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.8338, allocations: 27.94 kB / 1.641 GB, free: 98.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.8349, allocations: 97.31 kB / 1.641 GB, free: 98.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.8351, allocations: 72.89 kB / 1.641 GB, free: 98.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.732e-05/0.8352, allocations: 39.98 kB / 1.641 GB, free: 98.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009875/0.8362, allocations: 0.6327 MB / 1.642 GB, free: 97.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.38e-07/0.8362, allocations: 0 / 1.642 GB, free: 97.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001797/0.838, allocations: 471.9 kB / 1.642 GB, free: 97.27 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.001747/0.8398, allocations: 0.5656 MB / 1.643 GB, free: 96.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.8433, allocations: 1.607 MB / 1.644 GB, free: 95.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.304e-06/0.8434, allocations: 7.938 kB / 1.644 GB, free: 95.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.8447, allocations: 0.6487 MB / 1.645 GB, free: 94.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.8466, allocations: 327.4 kB / 1.645 GB, free: 94.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.8512, allocations: 2.817 MB / 1.648 GB, free: 91.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.852, allocations: 1.209 MB / 1.649 GB, free: 90.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00193/0.8539, allocations: 460.2 kB / 1.65 GB, free: 89.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.8543, allocations: 123.4 kB / 1.65 GB, free: 89.62 MB / 0.8542 GB Notification: Performance of SimCode: time 1.597e-06/0.8543, allocations: 0 / 1.65 GB, free: 89.62 MB / 0.8542 GB Notification: Performance of Templates: time 0.03585/0.8902, allocations: 16.71 MB / 1.666 GB, free: 73.18 MB / 0.8542 GB