Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.305/4.305, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/4.018e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2299, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9268/1.157, allocations: 157.4 MB / 0.8256 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/1.157, allocations: 87.36 kB / 0.8257 GB, free: 12.01 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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 7.0.0/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 7.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.03899/1.196, allocations: 11.24 MB / 0.8367 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/1.196, allocations: 0 / 0.8367 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.947e-05/1.196, allocations: 11.78 kB / 0.8367 GB, free: 7.363 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007147/1.197, allocations: 481.1 kB / 0.8372 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.197, allocations: 11.03 kB / 0.8372 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.911e-05/1.197, allocations: 63.83 kB / 0.8372 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/1.198, allocations: 77.27 kB / 0.8373 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/1.198, allocations: 232 kB / 0.8375 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/1.198, allocations: 15.95 kB / 0.8376 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/1.199, allocations: 18.56 kB / 0.8376 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/1.199, allocations: 284.1 kB / 0.8378 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.199, allocations: 0 / 0.8378 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/1.199, allocations: 11.03 kB / 0.8379 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/1.199, allocations: 15.95 kB / 0.8379 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/1.2, allocations: 188.8 kB / 0.838 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/1.201, allocations: 1.465 MB / 0.8395 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/1.202, allocations: 183.6 kB / 0.8397 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/1.202, allocations: 26.86 kB / 0.8397 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/1.202, allocations: 0 / 0.8397 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.202, allocations: 38.28 kB / 0.8397 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/1.202, allocations: 0 / 0.8397 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003692/1.202, allocations: 111.8 kB / 0.8398 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.202, allocations: 55.41 kB / 0.8399 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/1.203, allocations: 188 kB / 0.8401 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.203, allocations: 29.58 kB / 0.8401 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/1.203, allocations: 173.9 kB / 0.8402 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/1.203, allocations: 23.38 kB / 0.8403 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/1.203, allocations: 3.562 kB / 0.8403 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002357/1.203, allocations: 325.4 kB / 0.8406 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/1.203, allocations: 34.48 kB / 0.8406 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/1.203, allocations: 98.89 kB / 0.8407 GB, free: 20.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/1.203, allocations: 45.58 kB / 0.8408 GB, free: 20.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/1.203, allocations: 3.984 kB / 0.8408 GB, free: 20.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004042/1.204, allocations: 179.6 kB / 0.8409 GB, free: 20.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.204, allocations: 16.06 kB / 0.8409 GB, free: 20.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/1.204, allocations: 3.844 kB / 0.8409 GB, free: 20.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/1.204, allocations: 31.09 kB / 0.841 GB, free: 20 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/1.204, allocations: 26.84 kB / 0.841 GB, free: 20 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/1.206, allocations: 1.317 MB / 0.8423 GB, free: 18.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/1.206, allocations: 14.84 kB / 0.8423 GB, free: 18.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/1.206, allocations: 7.688 kB / 0.8423 GB, free: 18.68 MB / 0.6511 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.0001047/1.206, allocations: 108.2 kB / 0.8424 GB, free: 18.58 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/1.206, allocations: 23.44 kB / 0.8424 GB, free: 18.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/1.206, allocations: 24.53 kB / 0.8425 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.206, allocations: 0 / 0.8425 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.206, allocations: 0 / 0.8425 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.206, allocations: 0 / 0.8425 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/1.207, allocations: 445 kB / 0.8429 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.207, allocations: 0 / 0.8429 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/1.207, allocations: 7.625 kB / 0.8429 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/1.207, allocations: 27.5 kB / 0.8429 GB, free: 18.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.207, allocations: 3.438 kB / 0.8429 GB, free: 18.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/1.208, allocations: 1.306 MB / 0.8442 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.208, allocations: 0 / 0.8442 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/1.208, allocations: 214.5 kB / 0.8444 GB, free: 16.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/1.209, allocations: 95.84 kB / 0.8445 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/1.209, allocations: 3.844 kB / 0.8445 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/1.209, allocations: 96 / 0.8445 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/1.209, allocations: 15.02 kB / 0.8445 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/1.209, allocations: 7.844 kB / 0.8445 GB, free: 16.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001641/1.209, allocations: 134.7 kB / 0.8446 GB, free: 16.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.209, allocations: 0 / 0.8446 GB, free: 16.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004633/1.21, allocations: 53.31 kB / 0.8447 GB, free: 16.52 MB / 0.6511 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.0006048/1.21, allocations: 0.7545 MB / 0.8454 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004287/1.211, allocations: 187.9 kB / 0.8456 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.211, allocations: 0 / 0.8456 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/1.211, allocations: 143.1 kB / 0.8457 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/1.211, allocations: 39 kB / 0.8458 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/1.212, allocations: 281.4 kB / 0.8461 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/1.212, allocations: 0.7525 MB / 0.8468 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001534/1.213, allocations: 24.97 kB / 0.8468 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-05/1.213, allocations: 54.02 kB / 0.8469 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/1.213, allocations: 0 / 0.8469 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/1.236, allocations: 3.333 MB / 0.8501 GB, free: 13 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.236, allocations: 166.8 kB / 0.8503 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.648, allocations: 0 / 0.8503 GB, free: 12.77 MB / 0.6511 GB