Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.262/2.262, allocations: 252.6 MB / 265.2 MB, free: 5.754 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.001497/0.001497, allocations: 179.9 kB / 324.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001171/0.001171, allocations: 90.33 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.119e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2188, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9501/1.169, allocations: 183.2 MB / 1.074 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.169, allocations: 89.52 kB / 1.074 GB, free: 2.266 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.6742/1.844, allocations: 149.1 MB / 1.22 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.424e-06/1.844, allocations: 4 kB / 1.22 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003633/1.844, allocations: 75.92 kB / 1.22 GB, free: 484 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01546/1.859, allocations: 3.695 MB / 1.223 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.86, allocations: 11.97 kB / 1.223 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/1.888, allocations: 3.202 MB / 1.226 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/1.9, allocations: 2.566 MB / 1.229 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/1.9, allocations: 469.7 kB / 1.229 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/1.902, allocations: 235.9 kB / 1.23 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/1.917, allocations: 3.932 MB / 1.233 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.001e-05/1.917, allocations: 4 kB / 1.233 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008845/1.918, allocations: 108 kB / 1.233 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/1.918, allocations: 148.8 kB / 1.234 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/1.931, allocations: 3.592 MB / 1.237 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04157/1.973, allocations: 14.86 MB / 1.252 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/1.984, allocations: 2.665 MB / 1.254 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/1.987, allocations: 1.108 MB / 1.255 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/1.988, allocations: 25.3 kB / 1.255 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004032/1.992, allocations: 1.439 MB / 1.257 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 5.671e-06/1.992, allocations: 4 kB / 1.257 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.934/2.926, allocations: 29.55 MB / 1.286 GB, free: 224 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002904/2.926, allocations: 0.8974 MB / 1.287 GB, free: 223 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004664/2.931, allocations: 1.949 MB / 1.288 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000754/2.932, allocations: 78.81 kB / 1.288 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/2.933, allocations: 1.437 MB / 1.29 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/2.935, allocations: 0.821 MB / 1.291 GB, free: 222 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/2.935, allocations: 45.47 kB / 1.291 GB, free: 222 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001576/2.935, allocations: 403.8 kB / 1.291 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003805/2.939, allocations: 1.409 MB / 1.293 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00429/2.943, allocations: 1.796 MB / 1.294 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/2.947, allocations: 1.618 MB / 1.296 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/2.947, allocations: 5.438 kB / 1.296 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02116/2.969, allocations: 5.476 MB / 1.301 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/2.969, allocations: 148.1 kB / 1.301 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/2.969, allocations: 7.938 kB / 1.301 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0185/2.987, allocations: 2.883 MB / 1.304 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00829/2.996, allocations: 0.5744 MB / 1.305 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07192/3.068, allocations: 16.95 MB / 1.321 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007911/3.076, allocations: 438.1 kB / 1.322 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008186/3.076, allocations: 88.38 kB / 1.322 GB, free: 217.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001003/3.078, allocations: 252.1 kB / 1.322 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/3.079, allocations: 334.2 kB / 1.322 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/3.08, allocations: 388.7 kB / 1.323 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/3.08, allocations: 25.12 kB / 1.323 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-05/3.08, allocations: 10.66 kB / 1.323 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/3.08, allocations: 13.8 kB / 1.323 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/3.088, allocations: 3.646 MB / 1.326 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-05/3.089, allocations: 0 / 1.326 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004962/3.094, allocations: 0.504 MB / 1.327 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01643/3.11, allocations: 2.797 MB / 1.33 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007503/3.111, allocations: 56.12 kB / 1.33 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06388/3.175, allocations: 16.8 MB / 1.346 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/3.175, allocations: 0 / 1.346 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/3.194, allocations: 5.119 MB / 1.351 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/3.197, allocations: 0.7079 MB / 1.352 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/3.198, allocations: 43.28 kB / 1.352 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007065/3.206, allocations: 432.8 kB / 1.352 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002032/3.208, allocations: 369.1 kB / 1.352 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005665/3.208, allocations: 68.91 kB / 1.353 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003892/3.212, allocations: 1.494 MB / 1.354 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.61e-07/3.212, allocations: 4 kB / 1.354 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005563/3.218, allocations: 1.063 MB / 1.355 GB, free: 205.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/3.219, allocations: 179.8 kB / 1.355 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.04258/3.261, allocations: 5.395 MB / 1.36 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/3.262, allocations: 0 / 1.36 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.03364/3.295, allocations: 3.47 MB / 1.364 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008064/3.303, allocations: 1.012 MB / 1.365 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/3.32, allocations: 5.031 MB / 1.37 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/3.323, allocations: 2.294 MB / 1.372 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00429/3.328, allocations: 0.5109 MB / 1.373 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/3.329, allocations: 176.1 kB / 1.373 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.735e-06/3.329, allocations: 0 / 1.373 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.167/3.496, allocations: 71.3 MB / 1.442 GB, free: 152.5 MB / 0.8698 GB