Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadModel(Buildings): time 4.207/4.207, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/2e-05, allocations: 4 kB / 0.5325 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5057, allocations: 98.72 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2612/0.7669, allocations: 175.4 MB / 0.8002 GB, free: 68 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.4716/1.239, allocations: 80.31 kB / 0.8003 GB, free: 169.4 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.4915/1.73, allocations: 148.1 MB / 0.945 GB, free: 33.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.897e-06/1.73, allocations: 4 kB / 0.945 GB, free: 33.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002808/1.73, allocations: 79.92 kB / 0.945 GB, free: 33.01 MB / 0.6667 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.01043/1.741, allocations: 3.683 MB / 0.9486 GB, free: 29.22 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.741, allocations: 12.03 kB / 0.9486 GB, free: 29.21 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/1.761, allocations: 3.211 MB / 0.9518 GB, free: 25.99 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008154/1.769, allocations: 2.565 MB / 0.9543 GB, free: 23.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/1.77, allocations: 385.8 kB / 0.9547 GB, free: 22.91 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000917/1.77, allocations: 148 kB / 0.9548 GB, free: 22.77 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007916/1.778, allocations: 3.45 MB / 0.9582 GB, free: 19.31 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008879/1.787, allocations: 3.595 MB / 0.9617 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.177e-05/1.787, allocations: 3.938 kB / 0.9617 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004515/1.788, allocations: 4 kB / 0.9617 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/1.788, allocations: 148.8 kB / 0.9618 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/1.814, allocations: 14.34 MB / 0.9758 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/1.822, allocations: 2.617 MB / 0.9784 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/1.825, allocations: 1.069 MB / 0.9794 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/1.825, allocations: 25.3 kB / 0.9795 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003001/1.828, allocations: 1.371 MB / 0.9808 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.955e-06/1.828, allocations: 0 / 0.9808 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.03005/1.858, allocations: 8.49 MB / 0.9891 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005903/1.858, allocations: 0.8944 MB / 0.99 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/1.862, allocations: 1.564 MB / 0.9915 GB, free: 15.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005896/1.863, allocations: 37.7 kB / 0.9915 GB, free: 15.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.865, allocations: 1.447 MB / 0.9929 GB, free: 14.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.866, allocations: 0.785 MB / 0.9937 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/1.866, allocations: 0 / 0.9937 GB, free: 13.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002856/1.867, allocations: 398.6 kB / 0.9941 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.87, allocations: 1.364 MB / 0.9954 GB, free: 11.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/1.874, allocations: 1.73 MB / 0.9971 GB, free: 9.641 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/1.877, allocations: 1.428 MB / 0.9985 GB, free: 8.195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/1.878, allocations: 4 kB / 0.9985 GB, free: 8.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01661/1.894, allocations: 5.081 MB / 1.003 GB, free: 3.051 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.894, allocations: 152.5 kB / 1.004 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/1.894, allocations: 4 kB / 1.004 GB, free: 2.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/1.907, allocations: 2.797 MB / 1.006 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/1.915, allocations: 0.5695 MB / 1.007 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09613/2.011, allocations: 16.39 MB / 1.023 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009125/2.02, allocations: 379.6 kB / 1.023 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/2.022, allocations: 88.16 kB / 1.023 GB, free: 14.4 MB / 0.7292 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.001239/2.023, allocations: 163.4 kB / 1.024 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/2.024, allocations: 316.3 kB / 1.024 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/2.026, allocations: 325.2 kB / 1.024 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/2.026, allocations: 31.98 kB / 1.024 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-05/2.026, allocations: 12 kB / 1.024 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-05/2.026, allocations: 11.95 kB / 1.024 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/2.038, allocations: 3.274 MB / 1.027 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/2.038, allocations: 0 / 1.027 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006671/2.045, allocations: 0.5071 MB / 1.028 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01815/2.063, allocations: 2.765 MB / 1.031 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005883/2.064, allocations: 11.97 kB / 1.031 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04681/2.111, allocations: 16.4 MB / 1.047 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.43e-06/2.111, allocations: 4 kB / 1.047 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/2.126, allocations: 4.897 MB / 1.051 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002649/2.129, allocations: 0.6769 MB / 1.052 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/2.13, allocations: 4 kB / 1.052 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004872/2.135, allocations: 387.4 kB / 1.052 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001832/2.137, allocations: 362.8 kB / 1.053 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/2.137, allocations: 75.97 kB / 1.053 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002894/2.14, allocations: 1.157 MB / 1.054 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.168e-06/2.14, allocations: 4 kB / 1.054 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004753/2.145, allocations: 0.9414 MB / 1.055 GB, free: 13.73 MB / 0.7605 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.0007411/2.146, allocations: 148.2 kB / 1.055 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02131/2.167, allocations: 5.195 MB / 1.06 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/2.167, allocations: 8.25 kB / 1.06 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01727/2.185, allocations: 3.331 MB / 1.063 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/2.19, allocations: 0.8709 MB / 1.064 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/2.205, allocations: 4.915 MB / 1.069 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003655/2.208, allocations: 2.292 MB / 1.071 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003627/2.212, allocations: 491.4 kB / 1.072 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/2.213, allocations: 155.4 kB / 1.072 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of SimCode: time 2.299e-06/2.213, allocations: 0 / 1.072 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.6233/2.837, allocations: 65.4 MB / 1.136 GB, free: 187 MB / 0.7917 GB