Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.86/4.86, allocations: 0.5623 GB / 0.5775 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.002581/0.002581, allocations: 357.7 kB / 0.6446 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.28/4.28, allocations: 410.7 MB / 1.113 GB, free: 5.98 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.001812/0.001812, allocations: 188.8 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006493, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7117, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/0.9634, allocations: 189.6 MB / 1.646 GB, free: 94.59 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.9637, allocations: 91.94 kB / 1.647 GB, free: 94.5 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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 1.253/2.217, allocations: 147.4 MB / 1.791 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.847e-06/2.217, allocations: 3.562 kB / 1.791 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005453/2.217, allocations: 85.88 kB / 1.791 GB, free: 216.7 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.02079/2.238, allocations: 3.943 MB / 1.794 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/2.238, allocations: 15 kB / 1.794 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03286/2.271, allocations: 3.23 MB / 1.798 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008701/2.28, allocations: 2.308 MB / 1.8 GB, free: 213 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/2.28, allocations: 178.6 kB / 1.8 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/2.281, allocations: 237.4 kB / 1.8 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/2.302, allocations: 4.704 MB / 1.805 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-05/2.302, allocations: 0 / 1.805 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007042/2.302, allocations: 113.2 kB / 1.805 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/2.303, allocations: 150.5 kB / 1.805 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/2.327, allocations: 5.216 MB / 1.81 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/2.368, allocations: 14.38 MB / 1.824 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03163/2.399, allocations: 3.811 MB / 1.828 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/2.41, allocations: 1.506 MB / 1.829 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/2.41, allocations: 34.47 kB / 1.829 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01153/2.422, allocations: 1.818 MB / 1.831 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 8.236e-06/2.422, allocations: 0 / 1.831 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.2491/2.671, allocations: 33.6 MB / 1.864 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002889/2.671, allocations: 0.8983 MB / 1.865 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/2.676, allocations: 2.285 MB / 1.867 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000685/2.677, allocations: 85.69 kB / 1.867 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/2.679, allocations: 1.441 MB / 1.869 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/2.68, allocations: 0.815 MB / 1.869 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/2.68, allocations: 48 kB / 1.869 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001618/2.68, allocations: 394.7 kB / 1.87 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008926/2.689, allocations: 1.925 MB / 1.872 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009532/2.699, allocations: 2.324 MB / 1.874 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009304/2.708, allocations: 2.15 MB / 1.876 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/2.708, allocations: 4 kB / 1.876 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02907/2.737, allocations: 6.179 MB / 1.882 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/2.738, allocations: 399.6 kB / 1.883 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/2.738, allocations: 8 kB / 1.883 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/2.75, allocations: 1.848 MB / 1.884 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005733/2.756, allocations: 0.589 MB / 1.885 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03598/2.792, allocations: 14.14 MB / 1.899 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/2.799, allocations: 423.5 kB / 1.899 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007635/2.8, allocations: 91.97 kB / 1.899 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/2.8, allocations: 0 / 1.899 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02636/2.826, allocations: 5.761 MB / 1.905 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/2.826, allocations: 8.344 kB / 1.905 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009443/2.836, allocations: 1.825 MB / 1.907 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005849/2.842, allocations: 0.6163 MB / 1.907 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03227/2.874, allocations: 13.43 MB / 1.92 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006938/2.881, allocations: 411.5 kB / 1.921 GB, free: 90.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/2.881, allocations: 95.92 kB / 1.921 GB, free: 89.94 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.002509/2.884, allocations: 0.7922 MB / 1.922 GB, free: 89.13 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009737/2.885, allocations: 336.1 kB / 1.922 GB, free: 88.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/2.886, allocations: 388.1 kB / 1.922 GB, free: 88.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/2.886, allocations: 31.98 kB / 1.922 GB, free: 88.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/2.886, allocations: 12 kB / 1.922 GB, free: 88.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/2.886, allocations: 11.95 kB / 1.922 GB, free: 88.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/2.892, allocations: 3.181 MB / 1.925 GB, free: 85.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/2.892, allocations: 4 kB / 1.925 GB, free: 85.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005138/2.898, allocations: 0.5261 MB / 1.926 GB, free: 84.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/2.909, allocations: 1.719 MB / 1.928 GB, free: 82.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005981/2.909, allocations: 51.97 kB / 1.928 GB, free: 82.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03364/2.943, allocations: 13.92 MB / 1.941 GB, free: 68.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/2.943, allocations: 2.531 kB / 1.941 GB, free: 68.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0268/2.97, allocations: 5.795 MB / 1.947 GB, free: 62.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/2.973, allocations: 0.6687 MB / 1.948 GB, free: 62.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009515/2.974, allocations: 51.95 kB / 1.948 GB, free: 62.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006357/2.98, allocations: 415.4 kB / 1.948 GB, free: 61.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/2.981, allocations: 310.6 kB / 1.948 GB, free: 61.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000362/2.982, allocations: 67.97 kB / 1.948 GB, free: 61.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003284/2.985, allocations: 1.521 MB / 1.95 GB, free: 59.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.11e-07/2.985, allocations: 0 / 1.95 GB, free: 59.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007891/2.993, allocations: 1.66 MB / 1.952 GB, free: 58.16 MB / 0.8542 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007977/2.994, allocations: 188.4 kB / 1.952 GB, free: 57.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04072/3.035, allocations: 10.09 MB / 1.962 GB, free: 47.69 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/3.035, allocations: 4 kB / 1.962 GB, free: 47.69 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/3.049, allocations: 3.489 MB / 1.965 GB, free: 44.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008246/3.057, allocations: 1.062 MB / 1.966 GB, free: 43.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/3.08, allocations: 7.572 MB / 1.973 GB, free: 35.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/3.082, allocations: 2.375 MB / 1.976 GB, free: 33.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005249/3.087, allocations: 0.6392 MB / 1.976 GB, free: 32.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/3.089, allocations: 179.4 kB / 1.977 GB, free: 32.36 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/3.089, allocations: 0 / 1.977 GB, free: 32.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.1957/3.285, allocations: 75.42 MB / 2.05 GB, free: 6.094 MB / 0.9011 GB