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 4.068/4.068, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.084e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7107/0.7108, allocations: 92.67 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/0.9921, allocations: 146.2 MB / 0.7324 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.9925, allocations: 87.95 kB / 0.7325 GB, free: 11.92 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.04267/1.035, allocations: 11.17 MB / 0.7434 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/1.035, allocations: 0 / 0.7434 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.16e-05/1.035, allocations: 7.984 kB / 0.7434 GB, free: 0.5859 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.000835/1.036, allocations: 474.2 kB / 0.7438 GB, free: 76 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.036, allocations: 12.03 kB / 0.7439 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.013e-05/1.036, allocations: 54.53 kB / 0.7439 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/1.037, allocations: 83.61 kB / 0.744 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/1.038, allocations: 239.2 kB / 0.7442 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/1.038, allocations: 16.38 kB / 0.7442 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/1.038, allocations: 19.94 kB / 0.7442 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/1.039, allocations: 278.9 kB / 0.7445 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.039, allocations: 4 kB / 0.7445 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/1.039, allocations: 11.98 kB / 0.7445 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/1.039, allocations: 24.3 kB / 0.7445 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/1.039, allocations: 184.6 kB / 0.7447 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/1.041, allocations: 1.109 MB / 0.7458 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/1.042, allocations: 171.7 kB / 0.746 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.265e-05/1.042, allocations: 32.84 kB / 0.746 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/1.042, allocations: 4 kB / 0.746 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.042, allocations: 34.5 kB / 0.746 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/1.042, allocations: 0 / 0.746 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003819/1.042, allocations: 110.5 kB / 0.7461 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/1.042, allocations: 59.41 kB / 0.7462 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/1.042, allocations: 173.5 kB / 0.7464 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.043, allocations: 25.7 kB / 0.7464 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/1.043, allocations: 175.5 kB / 0.7466 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/1.043, allocations: 19.7 kB / 0.7466 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/1.043, allocations: 4 kB / 0.7466 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.043, allocations: 326.8 kB / 0.7469 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/1.043, allocations: 28 kB / 0.7469 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/1.043, allocations: 100.5 kB / 0.747 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/1.043, allocations: 55.91 kB / 0.7471 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.043, allocations: 7.938 kB / 0.7471 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004593/1.044, allocations: 178.1 kB / 0.7472 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.044, allocations: 9.844 kB / 0.7473 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.044, allocations: 4 kB / 0.7473 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/1.044, allocations: 24.84 kB / 0.7473 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/1.044, allocations: 31.97 kB / 0.7473 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/1.046, allocations: 1.315 MB / 0.7486 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/1.046, allocations: 15.88 kB / 0.7486 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/1.046, allocations: 8.062 kB / 0.7486 GB, free: 10.76 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.0001118/1.046, allocations: 116.4 kB / 0.7487 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/1.046, allocations: 35.78 kB / 0.7488 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/1.046, allocations: 13.53 kB / 0.7488 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.046, allocations: 0 / 0.7488 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.046, allocations: 0 / 0.7488 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.046, allocations: 0 / 0.7488 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000765/1.047, allocations: 447.2 kB / 0.7492 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.047, allocations: 0 / 0.7492 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/1.047, allocations: 8 kB / 0.7492 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/1.047, allocations: 24.84 kB / 0.7492 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.047, allocations: 4 kB / 0.7492 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.049, allocations: 1.308 MB / 0.7505 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.049, allocations: 4.031 kB / 0.7505 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/1.049, allocations: 204.2 kB / 0.7507 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/1.049, allocations: 104.8 kB / 0.7508 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/1.049, allocations: 4 kB / 0.7508 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.049, allocations: 4.094 kB / 0.7508 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/1.049, allocations: 11.92 kB / 0.7508 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/1.049, allocations: 8 kB / 0.7508 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001901/1.05, allocations: 136.4 kB / 0.751 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.05, allocations: 0 / 0.751 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004803/1.05, allocations: 51.84 kB / 0.751 GB, free: 8.066 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.0006512/1.051, allocations: 0.7485 MB / 0.7518 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005048/1.051, allocations: 205.6 kB / 0.752 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.051, allocations: 0 / 0.752 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/1.052, allocations: 138.2 kB / 0.7521 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/1.052, allocations: 36.12 kB / 0.7521 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.053, allocations: 297 kB / 0.7524 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/1.053, allocations: 0.7595 MB / 0.7531 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000166/1.054, allocations: 21.31 kB / 0.7532 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.054, allocations: 51.42 kB / 0.7532 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/1.054, allocations: 0 / 0.7532 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/1.082, allocations: 3.322 MB / 0.7565 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/1.082, allocations: 172.5 kB / 0.7566 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/3.425, allocations: 0 / 0.7566 GB, free: 2.258 MB / 0.6355 GB