Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.889/3.889, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.274e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6386, allocations: 92.68 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/0.9024, allocations: 146.2 MB / 0.7324 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.9028, allocations: 87.94 kB / 0.7324 GB, free: 11.95 MB / 0.6198 GB [/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/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/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.04367/0.9465, allocations: 11.17 MB / 0.7434 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9465, allocations: 0 / 0.7434 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.9466, allocations: 4 kB / 0.7434 GB, free: 0.625 MB / 0.6198 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.0008447/0.9474, allocations: 474.3 kB / 0.7438 GB, free: 116 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.9475, allocations: 12.03 kB / 0.7438 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.146e-05/0.9476, allocations: 58.53 kB / 0.7439 GB, free: 36 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.9485, allocations: 83.59 kB / 0.744 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.949, allocations: 234.7 kB / 0.7442 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.9491, allocations: 12.38 kB / 0.7442 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.9492, allocations: 19.94 kB / 0.7442 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.9499, allocations: 299 kB / 0.7445 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.9499, allocations: 0 / 0.7445 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.9499, allocations: 8 kB / 0.7445 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.95, allocations: 16.33 kB / 0.7445 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.9505, allocations: 189 kB / 0.7447 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.9526, allocations: 1.112 MB / 0.7458 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.953, allocations: 183.7 kB / 0.746 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.9532, allocations: 28.86 kB / 0.746 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.9532, allocations: 0 / 0.746 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.9532, allocations: 34.56 kB / 0.746 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.9533, allocations: 0 / 0.746 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004275/0.9537, allocations: 110.4 kB / 0.7461 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.9538, allocations: 63.33 kB / 0.7462 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.9541, allocations: 181.5 kB / 0.7464 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.9541, allocations: 25.7 kB / 0.7464 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.9542, allocations: 163.5 kB / 0.7465 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.9543, allocations: 23.86 kB / 0.7466 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.9543, allocations: 4 kB / 0.7466 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9544, allocations: 322.8 kB / 0.7469 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.9546, allocations: 35.98 kB / 0.7469 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.9547, allocations: 96.58 kB / 0.747 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.9549, allocations: 51.92 kB / 0.747 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9549, allocations: 0 / 0.747 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000504/0.9554, allocations: 194 kB / 0.7472 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9555, allocations: 8.281 kB / 0.7472 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.9555, allocations: 4 kB / 0.7472 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.9557, allocations: 24.84 kB / 0.7473 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.9559, allocations: 31.92 kB / 0.7473 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.9574, allocations: 1.331 MB / 0.7486 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.9577, allocations: 15.88 kB / 0.7486 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.9577, allocations: 8 kB / 0.7486 GB, free: 10.77 MB / 0.6355 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.0001184/0.9579, allocations: 109.5 kB / 0.7487 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.9579, allocations: 27.8 kB / 0.7488 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.958, allocations: 17.53 kB / 0.7488 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.958, allocations: 0 / 0.7488 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.958, allocations: 3.984 kB / 0.7488 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.958, allocations: 0 / 0.7488 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.9588, allocations: 435.3 kB / 0.7492 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.9588, allocations: 0 / 0.7492 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.9589, allocations: 11.98 kB / 0.7492 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.9591, allocations: 28.78 kB / 0.7492 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.9591, allocations: 4 kB / 0.7492 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.9604, allocations: 1.304 MB / 0.7505 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9604, allocations: 0 / 0.7505 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.9608, allocations: 212.2 kB / 0.7507 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.9609, allocations: 100.9 kB / 0.7508 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.961, allocations: 3.984 kB / 0.7508 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.9612, allocations: 12.09 kB / 0.7508 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.9613, allocations: 0 / 0.7508 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.9613, allocations: 4 kB / 0.7508 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001962/0.9615, allocations: 144.4 kB / 0.751 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9615, allocations: 0 / 0.751 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004517/0.962, allocations: 51.84 kB / 0.751 GB, free: 8.078 MB / 0.6355 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.000668/0.9626, allocations: 0.7441 MB / 0.7517 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.9632, allocations: 202.5 kB / 0.7519 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.9632, allocations: 4 kB / 0.7519 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.9634, allocations: 155.4 kB / 0.7521 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.9638, allocations: 42.25 kB / 0.7521 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/0.9648, allocations: 300.9 kB / 0.7524 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.9653, allocations: 0.7517 MB / 0.7531 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.9655, allocations: 29.78 kB / 0.7532 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.9656, allocations: 51.42 kB / 0.7532 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of SimCode: time 9.01e-07/0.9656, allocations: 0 / 0.7532 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.9953, allocations: 3.338 MB / 0.7565 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/0.9957, allocations: 179.4 kB / 0.7567 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.309, allocations: 0 / 0.7567 GB, free: 2.223 MB / 0.6355 GB