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 2.746/2.746, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.001424/0.001424, allocations: 185.5 kB / 371.4 MB, free: 10.67 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 2.068/2.068, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001065/0.001065, allocations: 92.75 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004682, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.007379/0.1668, allocations: 6.08 MB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7627/0.9295, allocations: 128.8 MB / 1.11 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.9308, allocations: 23.56 kB / 1.11 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.9317, allocations: 186.3 kB / 1.111 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.9345, allocations: 0.6611 MB / 1.111 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.938, allocations: 0.839 MB / 1.112 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.9404, allocations: 1.024 MB / 1.113 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003157/0.9436, allocations: 1.253 MB / 1.114 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.9447, allocations: 442.8 kB / 1.115 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009498/0.9456, allocations: 476.1 kB / 1.115 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.9458, allocations: 36.91 kB / 1.115 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.9471, allocations: 360.1 kB / 1.116 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.9476, allocations: 301.4 kB / 1.116 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.948, allocations: 248 kB / 1.116 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.9509, allocations: 1.53 MB / 1.118 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.742e-06/0.951, allocations: 1.375 kB / 1.118 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.428e-06/0.951, allocations: 0 / 1.118 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.691e-05/0.951, allocations: 4 kB / 1.118 GB, free: 1.02 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.003716/0.9548, allocations: 1.472 MB / 1.119 GB, free: 16.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9548, allocations: 8.812 kB / 1.119 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.957, allocations: 302.8 kB / 1.119 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.9594, allocations: 0.9146 MB / 1.12 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.605e-05/0.9595, allocations: 77.2 kB / 1.12 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.9597, allocations: 103 kB / 1.12 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.9631, allocations: 1.299 MB / 1.122 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.9631, allocations: 3.938 kB / 1.122 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.9633, allocations: 49.28 kB / 1.122 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.9634, allocations: 67.92 kB / 1.122 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.9668, allocations: 1.457 MB / 1.123 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008861/0.9757, allocations: 4.706 MB / 1.128 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.9781, allocations: 1.015 MB / 1.129 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.9784, allocations: 131.7 kB / 1.129 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.9797, allocations: 0.5724 MB / 1.129 GB, free: 12.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 4.329e-06/0.9797, allocations: 0 / 1.129 GB, free: 12.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.006255/0.986, allocations: 2.125 MB / 1.132 GB, free: 11.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.9862, allocations: 247.2 kB / 1.132 GB, free: 11.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.9879, allocations: 0.8961 MB / 1.133 GB, free: 11.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.9881, allocations: 43.27 kB / 1.133 GB, free: 11.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.9887, allocations: 0.5377 MB / 1.133 GB, free: 11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.9891, allocations: 320.1 kB / 1.134 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.9892, allocations: 20.81 kB / 1.134 GB, free: 10.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.9894, allocations: 345.4 kB / 1.134 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.9903, allocations: 349.3 kB / 1.134 GB, free: 10.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.9914, allocations: 0.5323 MB / 1.135 GB, free: 10.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.9925, allocations: 433.9 kB / 1.135 GB, free: 10.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.9925, allocations: 2.469 kB / 1.135 GB, free: 10.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003689/0.9962, allocations: 1.213 MB / 1.136 GB, free: 9.781 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007004/0.9969, allocations: 1.232 MB / 1.138 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.9969, allocations: 4.188 kB / 1.138 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.9984, allocations: 268.3 kB / 1.138 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.9998, allocations: 211.1 kB / 1.138 GB, free: 8.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/1.004, allocations: 2.029 MB / 1.14 GB, free: 6.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.005, allocations: 112.2 kB / 1.14 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.005, allocations: 37.95 kB / 1.14 GB, free: 6.777 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.005, allocations: 3.125 kB / 1.14 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002354/1.008, allocations: 0.8922 MB / 1.141 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.008, allocations: 5.172 kB / 1.141 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.008, allocations: 7.781 kB / 1.141 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.009, allocations: 214.4 kB / 1.141 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/1.009, allocations: 7.781 kB / 1.141 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.01, allocations: 108.4 kB / 1.141 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/1.01, allocations: 40.62 kB / 1.141 GB, free: 6.523 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.001036/1.011, allocations: 418.7 kB / 1.142 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/1.012, allocations: 108.7 kB / 1.142 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/1.016, allocations: 1.393 MB / 1.143 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.016, allocations: 11.06 kB / 1.143 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.016, allocations: 8.859 kB / 1.143 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/1.016, allocations: 9.25 kB / 1.143 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006253/1.022, allocations: 2.669 MB / 1.146 GB, free: 4.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.022, allocations: 1.125 kB / 1.146 GB, free: 4.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.023, allocations: 196.9 kB / 1.146 GB, free: 4.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/1.024, allocations: 207.5 kB / 1.146 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.024, allocations: 38.03 kB / 1.146 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/1.027, allocations: 1.866 MB / 1.148 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.456e-06/1.027, allocations: 2.594 kB / 1.148 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/1.031, allocations: 1.485 MB / 1.15 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008845/1.032, allocations: 345.4 kB / 1.15 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.032, allocations: 26.17 kB / 1.15 GB, free: 2.398 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.033, allocations: 94.53 kB / 1.15 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.033, allocations: 71.83 kB / 1.15 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.034, allocations: 40.11 kB / 1.15 GB, free: 2.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001246/1.035, allocations: 0.6307 MB / 1.151 GB, free: 2.137 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.64e-07/1.035, allocations: 0 / 1.151 GB, free: 2.137 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002143/1.037, allocations: 465.8 kB / 1.151 GB, free: 2.109 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.002581/1.04, allocations: 0.5683 MB / 1.152 GB, free: 1.867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006288/1.046, allocations: 1.54 MB / 1.153 GB, free: 1.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.046, allocations: 1.859 kB / 1.153 GB, free: 1.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002343/1.048, allocations: 0.653 MB / 1.154 GB, free: 1.285 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.051, allocations: 298.2 kB / 1.154 GB, free: 1.199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009277/1.061, allocations: 2.808 MB / 1.157 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/1.062, allocations: 1.22 MB / 1.158 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003749/1.066, allocations: 454.5 kB / 1.159 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000748/1.067, allocations: 118.3 kB / 1.159 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of SimCode: time 2.703e-06/1.067, allocations: 0 / 1.159 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of Templates: time 0.0644/1.131, allocations: 16.72 MB / 1.175 GB, free: 5.113 MB / 0.7136 GB