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.988/3.988, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.12e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6206, allocations: 92.69 MB / 0.5897 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/0.8964, allocations: 146.3 MB / 0.7326 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.8968, allocations: 87.94 kB / 0.7326 GB, free: 11.77 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.06892/0.9658, allocations: 15.91 MB / 0.7482 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9658, allocations: 0 / 0.7482 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.113e-05/0.9659, allocations: 11.98 kB / 0.7482 GB, free: 11.62 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.001134/0.967, allocations: 0.5452 MB / 0.7487 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/0.9671, allocations: 11.97 kB / 0.7487 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.9672, allocations: 74.47 kB / 0.7488 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.9688, allocations: 139.5 kB / 0.7489 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.9696, allocations: 286.4 kB / 0.7492 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.9696, allocations: 20.78 kB / 0.7492 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.9697, allocations: 31.98 kB / 0.7493 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.9708, allocations: 443.7 kB / 0.7497 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.9708, allocations: 3.938 kB / 0.7497 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.9709, allocations: 12 kB / 0.7497 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.74e-05/0.971, allocations: 28.55 kB / 0.7497 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.9718, allocations: 304.9 kB / 0.75 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.975, allocations: 1.679 MB / 0.7517 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.9757, allocations: 243.8 kB / 0.7519 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.9761, allocations: 108.8 kB / 0.752 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.9761, allocations: 0 / 0.752 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.9761, allocations: 42.56 kB / 0.752 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.255e-06/0.9762, allocations: 0 / 0.752 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0005283/0.9767, allocations: 158.4 kB / 0.7522 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.9768, allocations: 59.36 kB / 0.7522 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.9772, allocations: 234.9 kB / 0.7525 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.9772, allocations: 29.7 kB / 0.7525 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.9774, allocations: 211.5 kB / 0.7527 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.9775, allocations: 51.36 kB / 0.7527 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.9775, allocations: 4 kB / 0.7527 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9777, allocations: 334.8 kB / 0.7531 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.9779, allocations: 52.45 kB / 0.7531 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.9781, allocations: 143.3 kB / 0.7533 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.9784, allocations: 75.95 kB / 0.7533 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9784, allocations: 0 / 0.7533 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006756/0.9791, allocations: 258.2 kB / 0.7536 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.9791, allocations: 11.94 kB / 0.7536 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.9791, allocations: 4 kB / 0.7536 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.9794, allocations: 24.8 kB / 0.7536 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.9797, allocations: 51.92 kB / 0.7537 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.9812, allocations: 1.315 MB / 0.7549 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.9815, allocations: 27.69 kB / 0.755 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.9816, allocations: 15.98 kB / 0.755 GB, free: 4.164 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.0001281/0.9817, allocations: 121 kB / 0.7551 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.9818, allocations: 23.81 kB / 0.7551 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.368e-05/0.9819, allocations: 37.89 kB / 0.7552 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9819, allocations: 3.953 kB / 0.7552 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9819, allocations: 0 / 0.7552 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.9819, allocations: 64 / 0.7552 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.9834, allocations: 0.6445 MB / 0.7558 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.9835, allocations: 4 kB / 0.7558 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.9838, allocations: 27.92 kB / 0.7558 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.984, allocations: 25.03 kB / 0.7558 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.984, allocations: 8 kB / 0.7559 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.9859, allocations: 1.308 MB / 0.7571 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.986, allocations: 3.938 kB / 0.7571 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.9866, allocations: 387.5 kB / 0.7575 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.9868, allocations: 116.8 kB / 0.7576 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.9868, allocations: 7.984 kB / 0.7576 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.9871, allocations: 12 kB / 0.7576 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.9872, allocations: 19.94 kB / 0.7577 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.9872, allocations: 4 kB / 0.7577 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003122/0.9876, allocations: 187.1 kB / 0.7578 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9876, allocations: 0 / 0.7578 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000584/0.9882, allocations: 71.75 kB / 0.7579 GB, free: 0.8594 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.001084/0.9893, allocations: 1.341 MB / 0.7592 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006805/0.99, allocations: 257.7 kB / 0.7595 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.99, allocations: 3.938 kB / 0.7595 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.9903, allocations: 169.7 kB / 0.7596 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.9909, allocations: 61.73 kB / 0.7597 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.9924, allocations: 466.6 kB / 0.7601 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.9929, allocations: 0.803 MB / 0.7609 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002843/0.9932, allocations: 38.05 kB / 0.761 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.9934, allocations: 83.41 kB / 0.761 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.502e-06/0.9934, allocations: 0 / 0.761 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/1.024, allocations: 4.872 MB / 0.7658 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/1.024, allocations: 179.3 kB / 0.766 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.685, allocations: 0 / 0.766 GB, free: 8.477 MB / 0.6511 GB