Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.362/4.362, allocations: 460.4 MB / 472.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.035e-05/6.036e-05, allocations: 8 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3069, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.339, allocations: 157.6 MB / 0.8258 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.339, allocations: 88.23 kB / 0.8259 GB, free: 12.14 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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 7.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 7.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.05653/1.396, allocations: 16.02 MB / 0.8415 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.396, allocations: 7.875 kB / 0.8415 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.248e-05/1.396, allocations: 3.969 kB / 0.8415 GB, free: 5.543 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00102/1.397, allocations: 0.5548 MB / 0.8421 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.397, allocations: 7.719 kB / 0.8421 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/1.397, allocations: 67.31 kB / 0.8422 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/1.4, allocations: 144.2 kB / 0.8423 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/1.401, allocations: 287.8 kB / 0.8426 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/1.401, allocations: 23.02 kB / 0.8426 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.401, allocations: 30.36 kB / 0.8426 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/1.402, allocations: 447.9 kB / 0.843 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.403, allocations: 3.906 kB / 0.843 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/1.403, allocations: 10.38 kB / 0.8431 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/1.403, allocations: 26.83 kB / 0.8431 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/1.404, allocations: 304.2 kB / 0.8434 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/1.408, allocations: 2.186 MB / 0.8455 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/1.409, allocations: 252.5 kB / 0.8458 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/1.41, allocations: 108.5 kB / 0.8459 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/1.41, allocations: 0 / 0.8459 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.41, allocations: 34.38 kB / 0.8459 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.066e-06/1.41, allocations: 4 kB / 0.8459 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006912/1.41, allocations: 161.4 kB / 0.846 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.41, allocations: 55.25 kB / 0.8461 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/1.411, allocations: 236.6 kB / 0.8463 GB, free: 18.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/1.411, allocations: 36.67 kB / 0.8464 GB, free: 18.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/1.411, allocations: 205 kB / 0.8466 GB, free: 17.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/1.411, allocations: 49.48 kB / 0.8466 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/1.412, allocations: 3.375 kB / 0.8466 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.412, allocations: 337.7 kB / 0.8469 GB, free: 17.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.412, allocations: 52.73 kB / 0.847 GB, free: 17.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/1.412, allocations: 135.3 kB / 0.8471 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.413, allocations: 86.23 kB / 0.8472 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.413, allocations: 0 / 0.8472 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009324/1.414, allocations: 246.7 kB / 0.8474 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/1.414, allocations: 6.344 kB / 0.8474 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.414, allocations: 4.25 kB / 0.8474 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/1.414, allocations: 39.34 kB / 0.8475 GB, free: 17.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/1.414, allocations: 45.98 kB / 0.8475 GB, free: 17.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/1.416, allocations: 1.327 MB / 0.8488 GB, free: 16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/1.417, allocations: 27.09 kB / 0.8488 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/1.417, allocations: 11.47 kB / 0.8488 GB, free: 15.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0001829/1.417, allocations: 115.5 kB / 0.849 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.417, allocations: 23.34 kB / 0.849 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/1.417, allocations: 35.42 kB / 0.849 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.417, allocations: 3.875 kB / 0.849 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.417, allocations: 7.953 kB / 0.849 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.417, allocations: 0 / 0.849 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/1.42, allocations: 0.7018 MB / 0.8497 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.42, allocations: 3.938 kB / 0.8497 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/1.42, allocations: 19.25 kB / 0.8497 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/1.42, allocations: 23.44 kB / 0.8498 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.42, allocations: 7.344 kB / 0.8498 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/1.422, allocations: 1.309 MB / 0.851 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.422, allocations: 0 / 0.851 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/1.423, allocations: 388.4 kB / 0.8514 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/1.423, allocations: 118.8 kB / 0.8515 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/1.423, allocations: 3.719 kB / 0.8515 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/1.424, allocations: 11.5 kB / 0.8515 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/1.424, allocations: 15.69 kB / 0.8516 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/1.424, allocations: 14.89 kB / 0.8516 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003905/1.424, allocations: 192.3 kB / 0.8517 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.002e-06/1.424, allocations: 0 / 0.8517 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008825/1.425, allocations: 76.12 kB / 0.8518 GB, free: 13.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.001386/1.426, allocations: 1.331 MB / 0.8531 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008809/1.427, allocations: 252 kB / 0.8534 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.427, allocations: 4.062 kB / 0.8534 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004319/1.428, allocations: 174.4 kB / 0.8535 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/1.429, allocations: 62.5 kB / 0.8536 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/1.431, allocations: 455.5 kB / 0.854 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/1.431, allocations: 0.8031 MB / 0.8548 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003776/1.432, allocations: 40.98 kB / 0.8549 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.432, allocations: 80.53 kB / 0.8549 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.432, allocations: 0 / 0.8549 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/1.472, allocations: 4.876 MB / 0.8597 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003338/1.472, allocations: 173.8 kB / 0.8599 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/4.093, allocations: 0 / 0.8599 GB, free: 5.957 MB / 0.6511 GB