Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009083/0.009083, allocations: 111.8 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001135/0.001135, allocations: 182.3 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.958/1.958, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.207/2.207, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 8 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5835, allocations: 98.71 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2847/0.8683, allocations: 152.6 MB / 0.8324 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.8686, allocations: 99.94 kB / 0.8325 GB, free: 5.512 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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.0651/0.9338, allocations: 17.8 MB / 0.8499 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9338, allocations: 0 / 0.8499 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.9338, allocations: 15.94 kB / 0.8499 GB, free: 3.434 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001337/0.9352, allocations: 0.6341 MB / 0.8505 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.9352, allocations: 12.03 kB / 0.8505 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.9364, allocations: 119.4 kB / 0.8506 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/0.9372, allocations: 331.8 kB / 0.851 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.506e-05/0.9373, allocations: 54.7 kB / 0.851 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.9374, allocations: 28 kB / 0.851 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.9385, allocations: 0.5007 MB / 0.8515 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.9386, allocations: 0 / 0.8515 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.9386, allocations: 16 kB / 0.8515 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.528e-05/0.9387, allocations: 24.98 kB / 0.8516 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.9398, allocations: 399.6 kB / 0.852 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.9432, allocations: 2.212 MB / 0.8541 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009792/0.9442, allocations: 274.6 kB / 0.8544 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.9443, allocations: 4 kB / 0.8544 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.9443, allocations: 34.81 kB / 0.8544 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 3.299e-06/0.9443, allocations: 0 / 0.8544 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.00188/0.9462, allocations: 0.591 MB / 0.855 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.9463, allocations: 55.41 kB / 0.855 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.9466, allocations: 208 kB / 0.8552 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.9467, allocations: 37.64 kB / 0.8553 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.9469, allocations: 211.6 kB / 0.8555 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.9469, allocations: 59.11 kB / 0.8555 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.947, allocations: 8 kB / 0.8555 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.9472, allocations: 334.8 kB / 0.8559 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.9475, allocations: 95.94 kB / 0.856 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.9479, allocations: 179.9 kB / 0.8561 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.9483, allocations: 132 kB / 0.8562 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.106e-06/0.9483, allocations: 0 / 0.8562 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001184/0.9495, allocations: 389.6 kB / 0.8566 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005026/0.95, allocations: 0.8847 MB / 0.8575 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.533e-06/0.95, allocations: 0 / 0.8575 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.9506, allocations: 105.6 kB / 0.8576 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.951, allocations: 51.91 kB / 0.8576 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.9542, allocations: 2.076 MB / 0.8597 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.9546, allocations: 43.7 kB / 0.8597 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.9546, allocations: 12 kB / 0.8597 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.9546, allocations: 8.156 kB / 0.8597 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/0.9557, allocations: 321 kB / 0.86 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.451e-06/0.9557, allocations: 0 / 0.86 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/0.9561, allocations: 80.95 kB / 0.8601 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.9564, allocations: 59.89 kB / 0.8602 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.959, allocations: 1.507 MB / 0.8616 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.9594, allocations: 35.73 kB / 0.8617 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.9594, allocations: 8 kB / 0.8617 GB, free: 6.496 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003462/0.9598, allocations: 255.7 kB / 0.8619 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.9599, allocations: 23.72 kB / 0.8619 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.96, allocations: 38.17 kB / 0.862 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-06/0.96, allocations: 0 / 0.862 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.344e-06/0.96, allocations: 0 / 0.862 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.725e-06/0.96, allocations: 0 / 0.862 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.9606, allocations: 377.3 kB / 0.8623 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.635e-06/0.9606, allocations: 4 kB / 0.8623 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.9609, allocations: 31.97 kB / 0.8624 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/0.9614, allocations: 97.62 kB / 0.8625 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.9614, allocations: 15.94 kB / 0.8625 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/0.9653, allocations: 2.83 MB / 0.8652 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-06/0.9653, allocations: 0 / 0.8652 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.9664, allocations: 413 kB / 0.8656 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.9666, allocations: 112.8 kB / 0.8657 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.9666, allocations: 0 / 0.8657 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.9669, allocations: 27.88 kB / 0.8658 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.967, allocations: 23.91 kB / 0.8658 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.967, allocations: 4 kB / 0.8658 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002138/0.9673, allocations: 160.5 kB / 0.866 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.25e-07/0.9673, allocations: 0 / 0.866 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008292/0.9681, allocations: 171.4 kB / 0.8661 GB, free: 1.582 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/0.9683, allocations: 111.2 kB / 0.8662 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.9705, allocations: 0.6631 MB / 0.8669 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.9705, allocations: 0 / 0.8669 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.9715, allocations: 381.5 kB / 0.8672 GB, free: 384 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.972, allocations: 41.5 kB / 0.8673 GB, free: 340 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.9734, allocations: 0.6874 MB / 0.8679 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.974, allocations: 0.8152 MB / 0.8687 GB, free: 14.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.9743, allocations: 66.22 kB / 0.8688 GB, free: 14.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.9744, allocations: 15.44 kB / 0.8688 GB, free: 14.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.793e-06/0.9744, allocations: 3.938 kB / 0.8688 GB, free: 14.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01151/0.9859, allocations: 3.972 MB / 0.8727 GB, free: 10.75 MB / 0.698 GB