Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.903/3.903, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.977e-05, allocations: 15.86 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6303, allocations: 92.68 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.9024, allocations: 146.3 MB / 0.7325 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.9029, allocations: 99.92 kB / 0.7326 GB, free: 11.89 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.06678/0.9697, allocations: 15.91 MB / 0.7482 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9697, allocations: 0 / 0.7482 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.9697, allocations: 4 kB / 0.7482 GB, free: 11.75 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.001328/0.9711, allocations: 0.5569 MB / 0.7487 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.9712, allocations: 8.031 kB / 0.7487 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.9713, allocations: 66.53 kB / 0.7488 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.973, allocations: 139.5 kB / 0.7489 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.9738, allocations: 286.4 kB / 0.7492 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.9739, allocations: 24.72 kB / 0.7492 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.171e-05/0.974, allocations: 27.98 kB / 0.7492 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.9752, allocations: 445.3 kB / 0.7497 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.9752, allocations: 3.984 kB / 0.7497 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.9753, allocations: 19.98 kB / 0.7497 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.78e-05/0.9754, allocations: 20.56 kB / 0.7497 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/0.9762, allocations: 317.9 kB / 0.75 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/0.9796, allocations: 1.675 MB / 0.7516 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.9803, allocations: 251.8 kB / 0.7519 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.9807, allocations: 108.8 kB / 0.752 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.9807, allocations: 0 / 0.752 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.9808, allocations: 34.56 kB / 0.752 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/0.9808, allocations: 4 kB / 0.752 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006198/0.9814, allocations: 166.5 kB / 0.7522 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.9815, allocations: 59.3 kB / 0.7522 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.982, allocations: 231 kB / 0.7524 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.982, allocations: 29.7 kB / 0.7525 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.9822, allocations: 215.5 kB / 0.7527 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.9823, allocations: 39.36 kB / 0.7527 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.9823, allocations: 8 kB / 0.7527 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9825, allocations: 338.8 kB / 0.7531 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.9827, allocations: 52.45 kB / 0.7531 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.9829, allocations: 136.1 kB / 0.7532 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.9832, allocations: 79.91 kB / 0.7533 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.9832, allocations: 4 kB / 0.7533 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007345/0.9839, allocations: 257.8 kB / 0.7536 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.984, allocations: 8.469 kB / 0.7536 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.984, allocations: 11.94 kB / 0.7536 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.9843, allocations: 32.73 kB / 0.7536 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.9847, allocations: 47.92 kB / 0.7537 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.9861, allocations: 1.327 MB / 0.755 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.9865, allocations: 27.69 kB / 0.755 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.9866, allocations: 8 kB / 0.755 GB, free: 4.262 MB / 0.6355 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.000155/0.9867, allocations: 120.9 kB / 0.7551 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.9868, allocations: 23.72 kB / 0.7551 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.9869, allocations: 34.05 kB / 0.7552 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9869, allocations: 3.953 kB / 0.7552 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.987, allocations: 0 / 0.7552 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.987, allocations: 3.984 kB / 0.7552 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.9885, allocations: 0.6485 MB / 0.7558 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9885, allocations: 0 / 0.7558 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.9887, allocations: 23.94 kB / 0.7558 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/0.9889, allocations: 24.84 kB / 0.7558 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.9889, allocations: 8 kB / 0.7558 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.9904, allocations: 1.308 MB / 0.7571 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9904, allocations: 4.031 kB / 0.7571 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.9911, allocations: 387.5 kB / 0.7575 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.9913, allocations: 116.7 kB / 0.7576 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.9914, allocations: 8 kB / 0.7576 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.9917, allocations: 12 kB / 0.7576 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.9917, allocations: 19.88 kB / 0.7576 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.9918, allocations: 8 kB / 0.7577 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003058/0.9921, allocations: 187.1 kB / 0.7578 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9921, allocations: 0 / 0.7578 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005609/0.9927, allocations: 75.84 kB / 0.7579 GB, free: 0.9492 MB / 0.6355 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.001115/0.9938, allocations: 1.332 MB / 0.7592 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.9946, allocations: 266.8 kB / 0.7595 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.9946, allocations: 4 kB / 0.7595 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.995, allocations: 190.4 kB / 0.7596 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.9956, allocations: 53.22 kB / 0.7597 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.9971, allocations: 479.2 kB / 0.7602 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.9976, allocations: 0.803 MB / 0.7609 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.9979, allocations: 38.05 kB / 0.761 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.9981, allocations: 83.41 kB / 0.7611 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of SimCode: time 8.81e-07/0.9982, allocations: 8 kB / 0.7611 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09013/1.088, allocations: 4.893 MB / 0.7658 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00032/1.089, allocations: 182.8 kB / 0.766 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.612, allocations: 0 / 0.766 GB, free: 8.516 MB / 0.6511 GB