Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadModel(Buildings): time 3.699/3.699, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.825e-05, allocations: 7.938 kB / 0.499 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4731, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.6866, allocations: 146.2 MB / 0.7323 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6869, allocations: 91.94 kB / 0.7324 GB, free: 12.01 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/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 5.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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.03892/0.7258, allocations: 11.17 MB / 0.7433 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7259, allocations: 0 / 0.7433 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.7259, allocations: 4 kB / 0.7433 GB, free: 0.6797 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007376/0.7267, allocations: 466.3 kB / 0.7437 GB, free: 180 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7267, allocations: 8.031 kB / 0.7437 GB, free: 172 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.7276, allocations: 91.53 kB / 0.7438 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.7281, allocations: 238.7 kB / 0.7441 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.7281, allocations: 8.375 kB / 0.7441 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.7282, allocations: 23.94 kB / 0.7441 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.7288, allocations: 290.8 kB / 0.7444 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7288, allocations: 0 / 0.7444 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.7289, allocations: 8 kB / 0.7444 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.7289, allocations: 24.27 kB / 0.7444 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.7294, allocations: 188.6 kB / 0.7446 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.7312, allocations: 1.105 MB / 0.7457 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.7315, allocations: 171.7 kB / 0.7458 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.7317, allocations: 36.84 kB / 0.7459 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.424e-06/0.7317, allocations: 0 / 0.7459 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.7317, allocations: 34.56 kB / 0.7459 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.522e-06/0.7317, allocations: 0 / 0.7459 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003546/0.7321, allocations: 110.3 kB / 0.746 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.7322, allocations: 55.41 kB / 0.7461 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.7324, allocations: 181.5 kB / 0.7462 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.7325, allocations: 25.7 kB / 0.7462 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.7326, allocations: 167.5 kB / 0.7464 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.7326, allocations: 27.7 kB / 0.7464 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-06/0.7327, allocations: 0 / 0.7464 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7328, allocations: 326.8 kB / 0.7467 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.7329, allocations: 31.98 kB / 0.7468 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.7331, allocations: 98.23 kB / 0.7469 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.7332, allocations: 47.98 kB / 0.7469 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.191e-06/0.7332, allocations: 0 / 0.7469 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004379/0.7337, allocations: 186.1 kB / 0.7471 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7337, allocations: 11.95 kB / 0.7471 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.019e-06/0.7337, allocations: 0 / 0.7471 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.7339, allocations: 28.84 kB / 0.7471 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.7341, allocations: 28.33 kB / 0.7472 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.7355, allocations: 1.319 MB / 0.7484 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.7357, allocations: 19.98 kB / 0.7485 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.7358, allocations: 8.094 kB / 0.7485 GB, free: 10.92 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.7359, allocations: 116.9 kB / 0.7486 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.736, allocations: 19.7 kB / 0.7486 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.736, allocations: 17.53 kB / 0.7486 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-06/0.736, allocations: 4 kB / 0.7486 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.736, allocations: 0 / 0.7486 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.109e-06/0.7361, allocations: 3.984 kB / 0.7486 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.7368, allocations: 447.4 kB / 0.7491 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7368, allocations: 48 / 0.7491 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.7369, allocations: 7.984 kB / 0.7491 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.737, allocations: 24.84 kB / 0.7491 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-06/0.7371, allocations: 0 / 0.7491 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.7384, allocations: 1.312 MB / 0.7504 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7384, allocations: 0 / 0.7504 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.7387, allocations: 216.3 kB / 0.7506 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7388, allocations: 92.95 kB / 0.7507 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.7389, allocations: 8 kB / 0.7507 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.739, allocations: 7.984 kB / 0.7507 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.7391, allocations: 4 kB / 0.7507 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.7391, allocations: 0 / 0.7507 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001954/0.7393, allocations: 140.4 kB / 0.7508 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.89e-07/0.7393, allocations: 0 / 0.7508 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005238/0.7398, allocations: 63.7 kB / 0.7509 GB, free: 8.219 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.74, allocations: 107 kB / 0.751 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.7405, allocations: 197.7 kB / 0.7512 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.609e-06/0.7405, allocations: 0 / 0.7512 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.7407, allocations: 142.5 kB / 0.7513 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.7411, allocations: 36.3 kB / 0.7513 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.7417, allocations: 231.4 kB / 0.7516 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.7422, allocations: 0.7517 MB / 0.7523 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.7424, allocations: 25.31 kB / 0.7523 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.7424, allocations: 15.44 kB / 0.7523 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of SimCode: time 1.417e-06/0.7424, allocations: 192 / 0.7523 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of Templates: time 0.006124/0.7486, allocations: 1.61 MB / 0.7539 GB, free: 5.051 MB / 0.6355 GB