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.209/2.209, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 177.7 kB / 325.6 MB, free: 2.82 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.366/2.366, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001191/0.00119, allocations: 92.98 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 11.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1988, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.206, allocations: 183.3 MB / 1.078 GB, free: 54.28 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/1.206, allocations: 90.66 kB / 1.078 GB, free: 54.28 MB / 0.698 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.6348/1.841, allocations: 149.6 MB / 1.224 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.156e-06/1.841, allocations: 0 / 1.224 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004826/1.841, allocations: 87.7 kB / 1.224 GB, free: 12.57 MB / 0.7292 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.01922/1.861, allocations: 4.208 MB / 1.228 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.861, allocations: 16.02 kB / 1.228 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02957/1.89, allocations: 3.222 MB / 1.231 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/1.903, allocations: 2.585 MB / 1.234 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006907/1.904, allocations: 465.4 kB / 1.234 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/1.905, allocations: 231.6 kB / 1.235 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/1.928, allocations: 4.808 MB / 1.239 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.059e-05/1.928, allocations: 8 kB / 1.239 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008228/1.929, allocations: 110.9 kB / 1.239 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/1.929, allocations: 144.8 kB / 1.24 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/1.956, allocations: 5.296 MB / 1.245 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0483/2.004, allocations: 14.87 MB / 1.259 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03104/2.036, allocations: 3.63 MB / 1.263 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/2.036, allocations: 29.05 kB / 1.263 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01365/2.05, allocations: 1.914 MB / 1.265 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 9.918e-06/2.05, allocations: 0 / 1.265 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.2814/2.331, allocations: 34.34 MB / 1.298 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005021/2.332, allocations: 0.8944 MB / 1.299 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/2.338, allocations: 1.985 MB / 1.301 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0009914/2.339, allocations: 77.7 kB / 1.301 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002313/2.341, allocations: 1.438 MB / 1.303 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/2.343, allocations: 0.8194 MB / 1.303 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005297/2.343, allocations: 48 kB / 1.303 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002747/2.344, allocations: 394.7 kB / 1.304 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/2.355, allocations: 2.112 MB / 1.306 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/2.367, allocations: 2.499 MB / 1.308 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/2.378, allocations: 2.305 MB / 1.31 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/2.378, allocations: 4 kB / 1.31 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03772/2.416, allocations: 6.908 MB / 1.317 GB, free: 11.06 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/2.416, allocations: 144.5 kB / 1.317 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/2.416, allocations: 11.95 kB / 1.317 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01965/2.435, allocations: 2.946 MB / 1.32 GB, free: 7.922 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00631/2.442, allocations: 0.5851 MB / 1.321 GB, free: 7.336 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07619/2.518, allocations: 18.14 MB / 1.339 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008/2.526, allocations: 427.6 kB / 1.339 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008825/2.527, allocations: 99.91 kB / 1.339 GB, free: 4.465 MB / 0.8386 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.003252/2.53, allocations: 0.7031 MB / 1.34 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/2.532, allocations: 344 kB / 1.34 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/2.533, allocations: 384.1 kB / 1.34 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/2.533, allocations: 24 kB / 1.34 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-05/2.533, allocations: 12 kB / 1.34 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/2.533, allocations: 11.95 kB / 1.34 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009814/2.543, allocations: 3.651 MB / 1.344 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/2.543, allocations: 0 / 1.344 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005268/2.549, allocations: 0.4993 MB / 1.345 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01921/2.568, allocations: 2.867 MB / 1.347 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007508/2.569, allocations: 55.97 kB / 1.347 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07634/2.645, allocations: 17.99 MB / 1.365 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/2.645, allocations: 0 / 1.365 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0364/2.681, allocations: 6.541 MB / 1.371 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0031/2.685, allocations: 0.7039 MB / 1.372 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/2.686, allocations: 51.98 kB / 1.372 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007311/2.693, allocations: 423.5 kB / 1.372 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002246/2.696, allocations: 362.6 kB / 1.373 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004946/2.696, allocations: 68.34 kB / 1.373 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00425/2.7, allocations: 1.525 MB / 1.374 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.12e-07/2.7, allocations: 0 / 1.374 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005554/2.706, allocations: 1.062 MB / 1.375 GB, free: 14.86 MB / 0.8855 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.001128/2.707, allocations: 183.8 kB / 1.376 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0464/2.754, allocations: 6.833 MB / 1.382 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.754, allocations: 4 kB / 1.382 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.03398/2.788, allocations: 4.213 MB / 1.386 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008006/2.796, allocations: 1.008 MB / 1.387 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6348/3.43, allocations: 7.758 MB / 1.395 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/3.434, allocations: 2.297 MB / 1.397 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004334/3.438, allocations: 0.5089 MB / 1.398 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/3.44, allocations: 178.7 kB / 1.398 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.253e-06/3.44, allocations: 0 / 1.398 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.239/3.679, allocations: 71.28 MB / 1.467 GB, free: 226 MB / 0.8855 GB