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 4.908/4.908, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.002464/0.002464, allocations: 355.4 kB / 0.6447 GB, free: 185.7 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.92/4.92, allocations: 410.7 MB / 1.113 GB, free: 6.008 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.00184/0.001839, allocations: 173.5 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 20 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7351/0.7357, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.009287/0.745, allocations: 6.21 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.9282, allocations: 137.8 MB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.9296, allocations: 23.88 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000902/0.9306, allocations: 190.7 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.9342, allocations: 0.6526 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.9387, allocations: 0.8342 MB / 1.604 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003388/0.9421, allocations: 1.608 MB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003758/0.9459, allocations: 1.256 MB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.9471, allocations: 457.9 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.9484, allocations: 0.5561 MB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002388/0.9487, allocations: 39.98 kB / 1.608 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.9503, allocations: 383.3 kB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004974/0.9508, allocations: 306.8 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.9512, allocations: 253 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.9541, allocations: 1.531 MB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9542, allocations: 4 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9542, allocations: 0 / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.122e-05/0.9542, allocations: 0 / 1.61 GB, free: 132.3 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.00482/0.9591, allocations: 1.467 MB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.9592, allocations: 15.62 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.9623, allocations: 301.9 kB / 1.612 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.9657, allocations: 0.9102 MB / 1.613 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.9659, allocations: 78.11 kB / 1.613 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005226/0.9664, allocations: 100 kB / 1.613 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005953/0.9724, allocations: 1.318 MB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.39e-05/0.9725, allocations: 7.875 kB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.9728, allocations: 44 kB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.973, allocations: 69.97 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006354/0.9793, allocations: 1.456 MB / 1.616 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.9934, allocations: 4.702 MB / 1.62 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/0.9976, allocations: 1.011 MB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.9994, allocations: 432.5 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003758/0.9999, allocations: 126.1 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/1.002, allocations: 0.5805 MB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=94): time 7.303e-06/1.002, allocations: 0 / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=95): time 0.01196/1.014, allocations: 2.111 MB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.014, allocations: 244.4 kB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/1.017, allocations: 0.9023 MB / 1.625 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/1.017, allocations: 49.7 kB / 1.625 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/1.018, allocations: 0.5388 MB / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/1.019, allocations: 319.4 kB / 1.626 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.019, allocations: 16 kB / 1.626 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.019, allocations: 341.9 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/1.021, allocations: 369.8 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/1.023, allocations: 0.5443 MB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.025, allocations: 446.8 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.025, allocations: 0 / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006939/1.032, allocations: 1.266 MB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.032, allocations: 184.3 kB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.032, allocations: 4 kB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/1.035, allocations: 264.5 kB / 1.63 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/1.038, allocations: 219.7 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006345/1.045, allocations: 1.988 MB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/1.047, allocations: 115.2 kB / 1.632 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/1.048, allocations: 47.95 kB / 1.632 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.048, allocations: 8 kB / 1.632 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004215/1.052, allocations: 0.937 MB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.052, allocations: 7.984 kB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.052, allocations: 8 kB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/1.055, allocations: 219.7 kB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.421e-05/1.055, allocations: 11.94 kB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.057, allocations: 107.6 kB / 1.633 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/1.058, allocations: 43.98 kB / 1.633 GB, free: 107.6 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.001406/1.059, allocations: 428.3 kB / 1.634 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/1.059, allocations: 110.6 kB / 1.634 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006955/1.066, allocations: 1.388 MB / 1.635 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.432e-05/1.067, allocations: 3.984 kB / 1.635 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.067, allocations: 4 kB / 1.635 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.068, allocations: 339.3 kB / 1.635 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/1.068, allocations: 23.95 kB / 1.635 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/1.071, allocations: 95.89 kB / 1.635 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006885/1.072, allocations: 72.89 kB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004571/1.077, allocations: 1.306 MB / 1.637 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004209/1.081, allocations: 1.774 MB / 1.639 GB, free: 102 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001135/1.082, allocations: 459.9 kB / 1.639 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001189/1.083, allocations: 0.6248 MB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of Backend: time 1.233e-06/1.083, allocations: 4 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006325/1.09, allocations: 1.931 MB / 1.642 GB, free: 99.18 MB / 0.8542 GB Notification: Performance of SimCode: time 0.006258/1.096, allocations: 3.09 MB / 1.645 GB, free: 96.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.06615/1.162, allocations: 22.78 MB / 1.667 GB, free: 73.58 MB / 0.8542 GB