Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.853/4.853, allocations: 0.5623 GB / 0.5775 GB, free: 3.309 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.002456/0.002456, allocations: 358.2 kB / 0.6446 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.261/4.261, 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.001802/0.001801, allocations: 183.2 kB / 1.226 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005105, allocations: 11.98 kB / 1.349 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7165, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3134/1.03, allocations: 189.6 MB / 1.647 GB, free: 94.52 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.03, allocations: 87.95 kB / 1.647 GB, free: 94.43 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.211/2.241, allocations: 149 MB / 1.792 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.364e-06/2.241, allocations: 4 kB / 1.792 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004364/2.241, allocations: 73.88 kB / 1.792 GB, free: 216.1 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.01772/2.259, allocations: 4.215 MB / 1.796 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/2.259, allocations: 14.97 kB / 1.796 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02778/2.287, allocations: 3.236 MB / 1.799 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/2.3, allocations: 2.578 MB / 1.802 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00065/2.3, allocations: 463.7 kB / 1.802 GB, free: 212 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/2.302, allocations: 234.8 kB / 1.803 GB, free: 211.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/2.324, allocations: 4.842 MB / 1.807 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/2.324, allocations: 0 / 1.807 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001431/2.325, allocations: 106.6 kB / 1.807 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/2.326, allocations: 148.8 kB / 1.808 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/2.351, allocations: 5.296 MB / 1.813 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03825/2.39, allocations: 14.85 MB / 1.827 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/2.408, allocations: 3.64 MB / 1.831 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007053/2.415, allocations: 1.584 MB / 1.832 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/2.415, allocations: 25.14 kB / 1.832 GB, free: 182 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007607/2.423, allocations: 1.928 MB / 1.834 GB, free: 180 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 4.92e-06/2.423, allocations: 0 / 1.834 GB, free: 180 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.2558/2.679, allocations: 34.34 MB / 1.868 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003488/2.679, allocations: 0.8983 MB / 1.869 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006293/2.685, allocations: 2.285 MB / 1.871 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008673/2.686, allocations: 85.64 kB / 1.871 GB, free: 142 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00197/2.688, allocations: 1.437 MB / 1.872 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/2.69, allocations: 0.8157 MB / 1.873 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/2.69, allocations: 48 kB / 1.873 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002094/2.691, allocations: 402.6 kB / 1.874 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01348/2.704, allocations: 2.112 MB / 1.876 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01401/2.718, allocations: 2.511 MB / 1.878 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/2.732, allocations: 2.31 MB / 1.88 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/2.732, allocations: 4 kB / 1.88 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03624/2.768, allocations: 6.905 MB / 1.887 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/2.768, allocations: 148.5 kB / 1.887 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/2.768, allocations: 4 kB / 1.887 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/2.786, allocations: 2.954 MB / 1.89 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005441/2.791, allocations: 0.5773 MB / 1.891 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06938/2.861, allocations: 17.33 MB / 1.908 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007758/2.868, allocations: 431.4 kB / 1.908 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008062/2.869, allocations: 91.97 kB / 1.908 GB, free: 103.5 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 (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.002962/2.872, allocations: 0.7115 MB / 1.909 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/2.873, allocations: 333.3 kB / 1.909 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/2.875, allocations: 384.1 kB / 1.91 GB, free: 102 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/2.875, allocations: 24 kB / 1.91 GB, free: 102 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.567e-05/2.875, allocations: 11.95 kB / 1.91 GB, free: 102 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/2.875, allocations: 18.84 kB / 1.91 GB, free: 102 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008017/2.883, allocations: 3.636 MB / 1.913 GB, free: 98.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/2.883, allocations: 3.953 kB / 1.913 GB, free: 98.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004842/2.888, allocations: 0.5111 MB / 1.914 GB, free: 97.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01742/2.905, allocations: 2.875 MB / 1.917 GB, free: 94.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000712/2.906, allocations: 47.97 kB / 1.917 GB, free: 94.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08294/2.989, allocations: 17.15 MB / 1.933 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.989, allocations: 4.031 kB / 1.933 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03291/3.022, allocations: 6.555 MB / 1.94 GB, free: 70.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/3.025, allocations: 0.7078 MB / 1.94 GB, free: 70.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/3.026, allocations: 52 kB / 1.94 GB, free: 70.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006996/3.033, allocations: 423.4 kB / 1.941 GB, free: 69.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002122/3.035, allocations: 366.6 kB / 1.941 GB, free: 69.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005229/3.036, allocations: 67.97 kB / 1.941 GB, free: 69.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003461/3.039, allocations: 1.521 MB / 1.943 GB, free: 67.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/3.039, allocations: 0 / 1.943 GB, free: 67.76 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004908/3.044, allocations: 1.07 MB / 1.944 GB, free: 66.69 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 (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.000845/3.045, allocations: 179.1 kB / 1.944 GB, free: 66.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04157/3.087, allocations: 6.834 MB / 1.951 GB, free: 59.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/3.087, allocations: 4 kB / 1.951 GB, free: 59.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.03131/3.118, allocations: 4.221 MB / 1.955 GB, free: 55.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009344/3.127, allocations: 1.054 MB / 1.956 GB, free: 54.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02524/3.153, allocations: 7.759 MB / 1.963 GB, free: 46.53 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/3.156, allocations: 2.297 MB / 1.966 GB, free: 44.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004223/3.16, allocations: 0.5105 MB / 1.966 GB, free: 43.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/3.162, allocations: 179.4 kB / 1.966 GB, free: 43.53 MB / 0.8542 GB Notification: Performance of SimCode: time 1.232e-06/3.162, allocations: 0 / 1.966 GB, free: 43.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.1752/3.337, allocations: 71.32 MB / 2.036 GB, free: 5.289 MB / 0.8855 GB