Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.223/4.223, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.634e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6001/0.6002, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.271/0.8712, allocations: 148 MB / 0.7341 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.8716, allocations: 95.92 kB / 0.7342 GB, free: 10.22 MB / 0.6198 GB [/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/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/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.07918/0.9508, allocations: 19.13 MB / 0.7529 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9509, allocations: 0 / 0.7529 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.9509, allocations: 12 kB / 0.7529 GB, free: 6.816 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001484/0.9524, allocations: 0.5882 MB / 0.7535 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.9525, allocations: 16.02 kB / 0.7535 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.9526, allocations: 74.47 kB / 0.7536 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.9538, allocations: 99.48 kB / 0.7537 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.9544, allocations: 290.3 kB / 0.7539 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.9545, allocations: 24.77 kB / 0.754 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.9546, allocations: 31.98 kB / 0.754 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.9557, allocations: 442 kB / 0.7544 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.9557, allocations: 352 / 0.7544 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.9558, allocations: 19.94 kB / 0.7544 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.043e-05/0.9559, allocations: 32.7 kB / 0.7545 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.9568, allocations: 313.3 kB / 0.7548 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.9601, allocations: 1.539 MB / 0.7563 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.9609, allocations: 178.8 kB / 0.7564 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.9613, allocations: 136.9 kB / 0.7566 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.9614, allocations: 7.984 kB / 0.7566 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.9614, allocations: 34.56 kB / 0.7566 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.605e-06/0.9614, allocations: 0 / 0.7566 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006783/0.9621, allocations: 205.3 kB / 0.7568 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.9622, allocations: 51.41 kB / 0.7569 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.9626, allocations: 231.1 kB / 0.7571 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.9626, allocations: 33.7 kB / 0.7571 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.9628, allocations: 207.7 kB / 0.7573 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.9629, allocations: 63.09 kB / 0.7574 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.963, allocations: 12 kB / 0.7574 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9631, allocations: 326.8 kB / 0.7577 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.9634, allocations: 68.53 kB / 0.7578 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.9637, allocations: 179.3 kB / 0.7579 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.964, allocations: 95.83 kB / 0.758 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.964, allocations: 0 / 0.758 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008365/0.9648, allocations: 289.9 kB / 0.7583 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006802/0.9655, allocations: 1.4 MB / 0.7597 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.9656, allocations: 8 kB / 0.7597 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.9659, allocations: 40.73 kB / 0.7597 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.9664, allocations: 71.89 kB / 0.7598 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000602/0.9671, allocations: 0.5445 MB / 0.7603 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.9676, allocations: 55.66 kB / 0.7604 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.9676, allocations: 8 kB / 0.7604 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9676, allocations: 7.938 kB / 0.7604 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006181/0.9683, allocations: 221.9 kB / 0.7606 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.9683, allocations: 4 kB / 0.7606 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.9683, allocations: 8 kB / 0.7606 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.9689, allocations: 67.91 kB / 0.7607 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.9689, allocations: 12.36 kB / 0.7607 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.9693, allocations: 47.78 kB / 0.7607 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.9694, allocations: 12 kB / 0.7607 GB, free: 14.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.9695, allocations: 121.5 kB / 0.7609 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.9696, allocations: 23.72 kB / 0.7609 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.9698, allocations: 33.95 kB / 0.7609 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.9698, allocations: 4 kB / 0.7609 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.9698, allocations: 0 / 0.7609 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.9698, allocations: 7.938 kB / 0.7609 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.9713, allocations: 0.6451 MB / 0.7615 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9713, allocations: 4 kB / 0.7616 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.9717, allocations: 51.97 kB / 0.7616 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.9719, allocations: 25.02 kB / 0.7616 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.972, allocations: 8 kB / 0.7616 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.9734, allocations: 1.315 MB / 0.7629 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.9735, allocations: 8.031 kB / 0.7629 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.9741, allocations: 338.1 kB / 0.7632 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.9743, allocations: 120.7 kB / 0.7634 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.9744, allocations: 8 kB / 0.7634 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.9747, allocations: 23.97 kB / 0.7634 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.9748, allocations: 19.92 kB / 0.7634 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.9749, allocations: 4 kB / 0.7634 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003449/0.9752, allocations: 183.1 kB / 0.7636 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.485e-06/0.9752, allocations: 0 / 0.7636 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008744/0.9761, allocations: 143.5 kB / 0.7637 GB, free: 11.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.9772, allocations: 1.016 MB / 0.7647 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.9783, allocations: 303.1 kB / 0.765 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9783, allocations: 0 / 0.765 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.9787, allocations: 187.5 kB / 0.7652 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.9794, allocations: 70.89 kB / 0.7653 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.981, allocations: 496.6 kB / 0.7657 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.9816, allocations: 0.812 MB / 0.7665 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005013/0.9821, allocations: 85.97 kB / 0.7666 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.9823, allocations: 83.41 kB / 0.7667 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of SimCode: time 8.21e-07/0.9823, allocations: 0 / 0.7667 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/1.015, allocations: 5.793 MB / 0.7723 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003989/1.015, allocations: 179.3 kB / 0.7725 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.594, allocations: 0 / 0.7725 GB, free: 1.969 MB / 0.6511 GB