Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.582/2.582, allocations: 253.2 MB / 260.6 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.00144, allocations: 173.5 kB / 319.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.6 MB / 0.5708 GB, free: 15.2 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 92.61 kB / 0.6751 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.114e-05, allocations: 8 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.263, allocations: 106.3 MB / 0.8887 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.328/7.591, allocations: 2.25 GB / 3.139 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/7.592, allocations: 108.2 kB / 3.139 GB, free: 114.2 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 1.221/8.813, allocations: 139.2 MB / 3.275 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.195e-06/8.813, allocations: 0 / 3.275 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004342/8.813, allocations: 85.84 kB / 3.275 GB, free: 240.1 MB / 0.8698 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.01225/8.825, allocations: 2.992 MB / 3.278 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/8.825, allocations: 16.48 kB / 3.278 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008166/8.834, allocations: 0.8307 MB / 3.279 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008278/8.842, allocations: 2.124 MB / 3.281 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/8.842, allocations: 98.06 kB / 3.281 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/8.844, allocations: 175.4 kB / 3.281 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01158/8.855, allocations: 3.482 MB / 3.284 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/8.871, allocations: 3.84 MB / 3.288 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/8.871, allocations: 6.156 kB / 3.288 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/8.873, allocations: 4.188 kB / 3.288 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003327/8.873, allocations: 174.6 kB / 3.288 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/8.91, allocations: 17.82 MB / 3.306 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/8.914, allocations: 1.69 MB / 3.307 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/8.916, allocations: 0.876 MB / 3.308 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/8.916, allocations: 124.7 kB / 3.308 GB, free: 228 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/8.919, allocations: 1.025 MB / 3.309 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 5.941e-06/8.919, allocations: 0 / 3.309 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.03759/8.956, allocations: 10.4 MB / 3.319 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/8.957, allocations: 0.5763 MB / 3.32 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004402/8.961, allocations: 1.681 MB / 3.322 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004949/8.962, allocations: 33.58 kB / 3.322 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/8.963, allocations: 1.468 MB / 3.323 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009048/8.964, allocations: 0.5878 MB / 3.324 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/8.964, allocations: 0 / 3.324 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001556/8.965, allocations: 391.8 kB / 3.324 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/8.967, allocations: 1.024 MB / 3.325 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/8.97, allocations: 1.609 MB / 3.327 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/8.973, allocations: 1.405 MB / 3.328 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/8.973, allocations: 3.688 kB / 3.328 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01371/8.987, allocations: 3.9 MB / 3.332 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001268/8.988, allocations: 5.844 MB / 3.337 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.736e-05/8.988, allocations: 15.25 kB / 3.337 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007444/8.996, allocations: 1.098 MB / 3.339 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/9, allocations: 487.2 kB / 3.339 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/9.012, allocations: 5.588 MB / 3.344 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/9.016, allocations: 170.7 kB / 3.345 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005728/9.016, allocations: 95.38 kB / 3.345 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/9.016, allocations: 4.094 kB / 3.345 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006396/9.023, allocations: 2.322 MB / 3.347 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-05/9.023, allocations: 19.25 kB / 3.347 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.039e-05/9.023, allocations: 26.44 kB / 3.347 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/9.027, allocations: 0.5278 MB / 3.348 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-05/9.027, allocations: 40.36 kB / 3.348 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/9.03, allocations: 123.8 kB / 3.348 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005938/9.03, allocations: 89.66 kB / 3.348 GB, free: 207.4 MB / 0.8698 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 232 * 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 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008843/9.031, allocations: 167.1 kB / 3.348 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008569/9.032, allocations: 212.5 kB / 3.348 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/9.046, allocations: 3.649 MB / 3.352 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-05/9.046, allocations: 22.38 kB / 3.352 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/9.046, allocations: 10.12 kB / 3.352 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-05/9.047, allocations: 13.61 kB / 3.352 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02413/9.071, allocations: 8.56 MB / 3.36 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/9.071, allocations: 3.562 kB / 3.36 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/9.073, allocations: 338.8 kB / 3.36 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008393/9.082, allocations: 1.374 MB / 3.362 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000501/9.082, allocations: 30.95 kB / 3.362 GB, free: 202 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/9.099, allocations: 7.85 MB / 3.369 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/9.099, allocations: 11.94 kB / 3.369 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/9.113, allocations: 4.298 MB / 3.374 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/9.115, allocations: 0.6262 MB / 3.374 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008813/9.116, allocations: 14.38 kB / 3.374 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/9.12, allocations: 204.4 kB / 3.375 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007375/9.121, allocations: 152.3 kB / 3.375 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/9.121, allocations: 58.97 kB / 3.375 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002946/9.124, allocations: 1.276 MB / 3.376 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.62e-07/9.124, allocations: 3.469 kB / 3.376 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006737/9.131, allocations: 1.12 MB / 3.377 GB, free: 194.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 162 * 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 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002234/9.133, allocations: 0.6294 MB / 3.378 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01063/9.143, allocations: 4.134 MB / 3.382 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/9.144, allocations: 0 / 3.382 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005016/9.149, allocations: 1.769 MB / 3.383 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/9.153, allocations: 0.5101 MB / 3.384 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/9.167, allocations: 5.094 MB / 3.389 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003575/9.171, allocations: 2.453 MB / 3.391 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006921/9.178, allocations: 1.307 MB / 3.393 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009199/9.178, allocations: 146.9 kB / 3.393 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.212e-06/9.179, allocations: 0 / 3.393 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.09729/9.276, allocations: 40.02 MB / 3.432 GB, free: 158.6 MB / 0.8698 GB