Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.58/4.58, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.897e-05, allocations: 3.094 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2446, allocations: 98.74 MB / 0.6302 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8915/1.136, allocations: 150.5 MB / 0.7772 GB, free: 58.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005247/1.137, allocations: 87.59 kB / 0.7773 GB, free: 58.49 MB / 0.6511 GB [/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/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/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);. Notification: Performance of FrontEnd - DAE generated: time 0.07238/1.209, allocations: 11.22 MB / 0.7882 GB, free: 57.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.465e-06/1.209, allocations: 0 / 0.7882 GB, free: 57.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.44e-05/1.209, allocations: 5.094 kB / 0.7882 GB, free: 57.23 MB / 0.6511 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.001293/1.211, allocations: 478.2 kB / 0.7887 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.623e-05/1.211, allocations: 9.312 kB / 0.7887 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/1.211, allocations: 57.03 kB / 0.7887 GB, free: 56.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/1.213, allocations: 84.94 kB / 0.7888 GB, free: 56.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/1.214, allocations: 243.8 kB / 0.7891 GB, free: 56.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/1.214, allocations: 15.25 kB / 0.7891 GB, free: 56.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/1.214, allocations: 17.95 kB / 0.7891 GB, free: 56.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.215, allocations: 285.8 kB / 0.7894 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.215, allocations: 1.375 kB / 0.7894 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/1.215, allocations: 10.03 kB / 0.7894 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-05/1.215, allocations: 21.19 kB / 0.7894 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/1.216, allocations: 188.7 kB / 0.7896 GB, free: 56.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/1.22, allocations: 1.467 MB / 0.791 GB, free: 55.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/1.22, allocations: 167.8 kB / 0.7912 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/1.22, allocations: 36.89 kB / 0.7912 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/1.22, allocations: 1.438 kB / 0.7912 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.221, allocations: 37.62 kB / 0.7912 GB, free: 55.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 4.097e-06/1.221, allocations: 4 kB / 0.7912 GB, free: 55.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005866/1.221, allocations: 107.5 kB / 0.7913 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.221, allocations: 52.38 kB / 0.7914 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/1.222, allocations: 174 kB / 0.7916 GB, free: 54.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/1.222, allocations: 30.11 kB / 0.7916 GB, free: 54.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.222, allocations: 167.8 kB / 0.7918 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/1.222, allocations: 21.47 kB / 0.7918 GB, free: 54.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/1.222, allocations: 0 / 0.7918 GB, free: 54.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001/1.222, allocations: 329.6 kB / 0.7921 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/1.222, allocations: 32.89 kB / 0.7921 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/1.223, allocations: 97.92 kB / 0.7922 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/1.223, allocations: 50.11 kB / 0.7923 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/1.223, allocations: 1.312 kB / 0.7923 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007469/1.224, allocations: 186.4 kB / 0.7924 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.224, allocations: 12.91 kB / 0.7925 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.224, allocations: 6.578 kB / 0.7925 GB, free: 54.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/1.224, allocations: 24.59 kB / 0.7925 GB, free: 54.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/1.224, allocations: 30.92 kB / 0.7925 GB, free: 54.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/1.226, allocations: 1.316 MB / 0.7938 GB, free: 52.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/1.227, allocations: 12.53 kB / 0.7938 GB, free: 52.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/1.227, allocations: 10.25 kB / 0.7938 GB, free: 52.91 MB / 0.6511 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.000143/1.227, allocations: 116.5 kB / 0.7939 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/1.227, allocations: 13.86 kB / 0.7939 GB, free: 52.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/1.227, allocations: 27.52 kB / 0.794 GB, free: 52.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.227, allocations: 3.156 kB / 0.794 GB, free: 52.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/1.227, allocations: 7.938 kB / 0.794 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/1.227, allocations: 1.156 kB / 0.794 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.229, allocations: 447.9 kB / 0.7944 GB, free: 52.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.229, allocations: 0 / 0.7944 GB, free: 52.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.229, allocations: 6.906 kB / 0.7944 GB, free: 52.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/1.229, allocations: 18.97 kB / 0.7944 GB, free: 52.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/1.229, allocations: 4.969 kB / 0.7944 GB, free: 52.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/1.231, allocations: 1.312 MB / 0.7957 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.231, allocations: 1.125 kB / 0.7957 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/1.231, allocations: 209.3 kB / 0.7959 GB, free: 51.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/1.232, allocations: 102.2 kB / 0.796 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/1.232, allocations: 1.688 kB / 0.796 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/1.232, allocations: 4.891 kB / 0.796 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/1.232, allocations: 7.047 kB / 0.796 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/1.232, allocations: 1.875 kB / 0.796 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003145/1.232, allocations: 146.4 kB / 0.7962 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.41e-07/1.233, allocations: 0 / 0.7962 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008472/1.233, allocations: 55.44 kB / 0.7962 GB, free: 50.84 MB / 0.6511 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.0009059/1.234, allocations: 0.7425 MB / 0.7969 GB, free: 50.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007327/1.235, allocations: 193.7 kB / 0.7971 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.235, allocations: 4.125 kB / 0.7971 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/1.235, allocations: 137.2 kB / 0.7973 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/1.236, allocations: 35.44 kB / 0.7973 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/1.238, allocations: 278.3 kB / 0.7976 GB, free: 49.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/1.238, allocations: 0.7566 MB / 0.7983 GB, free: 49.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002963/1.239, allocations: 26.55 kB / 0.7983 GB, free: 49.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/1.239, allocations: 53.75 kB / 0.7984 GB, free: 49.06 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/1.239, allocations: 0 / 0.7984 GB, free: 49.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/1.272, allocations: 3.321 MB / 0.8016 GB, free: 48.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/1.272, allocations: 180.4 kB / 0.8018 GB, free: 48.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.608, allocations: 0 / 0.8018 GB, free: 48.44 MB / 0.6511 GB