Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.879/3.879, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.535e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.634/0.6341, allocations: 92.67 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/0.9078, allocations: 153.1 MB / 0.7391 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.9082, allocations: 95.92 kB / 0.7392 GB, free: 4.988 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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.06971/0.978, allocations: 17.62 MB / 0.7564 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.978, allocations: 3.938 kB / 0.7564 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.288e-05/0.978, allocations: 11.94 kB / 0.7564 GB, free: 3.098 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00146/0.9795, allocations: 0.6156 MB / 0.757 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.9796, allocations: 12.02 kB / 0.757 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.9797, allocations: 82.52 kB / 0.7571 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.9814, allocations: 159.2 kB / 0.7573 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.9823, allocations: 342 kB / 0.7576 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.9823, allocations: 20.78 kB / 0.7576 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.9824, allocations: 39.94 kB / 0.7577 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.9837, allocations: 0.504 MB / 0.7581 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.9837, allocations: 0 / 0.7581 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.9838, allocations: 20 kB / 0.7582 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.9839, allocations: 28.72 kB / 0.7582 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009652/0.9849, allocations: 377.3 kB / 0.7586 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.9885, allocations: 1.844 MB / 0.7604 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.9894, allocations: 254.9 kB / 0.7606 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.9897, allocations: 108.8 kB / 0.7607 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.9897, allocations: 8 kB / 0.7607 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.9897, allocations: 38.5 kB / 0.7607 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.116e-06/0.9898, allocations: 0 / 0.7607 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002719/0.9925, allocations: 0.8503 MB / 0.7616 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.9925, allocations: 59.28 kB / 0.7616 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.993, allocations: 266.7 kB / 0.7619 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.993, allocations: 25.7 kB / 0.7619 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.9932, allocations: 235.5 kB / 0.7621 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.9933, allocations: 82.84 kB / 0.7622 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.9934, allocations: 4 kB / 0.7622 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.9935, allocations: 342.8 kB / 0.7625 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.9938, allocations: 96.64 kB / 0.7626 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.9942, allocations: 187.4 kB / 0.7628 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.9945, allocations: 136.5 kB / 0.7629 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9946, allocations: 0 / 0.7629 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001233/0.9958, allocations: 421.8 kB / 0.7634 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.9958, allocations: 4 kB / 0.7634 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.9959, allocations: 4 kB / 0.7634 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.9964, allocations: 86.7 kB / 0.7634 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.997, allocations: 67.91 kB / 0.7635 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/1.001, allocations: 4.068 MB / 0.7675 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/1.002, allocations: 8.062 kB / 0.7675 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/1.002, allocations: 16 kB / 0.7675 GB, free: 6.953 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/1.002, allocations: 121.1 kB / 0.7676 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/1.002, allocations: 31.62 kB / 0.7676 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/1.002, allocations: 42.05 kB / 0.7677 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.002, allocations: 0 / 0.7677 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.002, allocations: 4 kB / 0.7677 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.002, allocations: 3.984 kB / 0.7677 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/1.003, allocations: 393.4 kB / 0.7681 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.003, allocations: 3.938 kB / 0.7681 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/1.003, allocations: 39.91 kB / 0.7681 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/1.004, allocations: 90.52 kB / 0.7682 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/1.004, allocations: 4 kB / 0.7682 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/1.008, allocations: 4.06 MB / 0.7722 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.008, allocations: 0 / 0.7722 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/1.009, allocations: 0.5498 MB / 0.7727 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/1.01, allocations: 124.8 kB / 0.7728 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/1.01, allocations: 8 kB / 0.7728 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/1.01, allocations: 7.953 kB / 0.7728 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.735e-05/1.01, allocations: 19.97 kB / 0.7729 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.01, allocations: 8 kB / 0.7729 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003238/1.011, allocations: 210.2 kB / 0.7731 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.011, allocations: 64 / 0.7731 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006995/1.011, allocations: 96 kB / 0.7732 GB, free: 0.6562 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5085/1.52, allocations: 1.102 MB / 0.7742 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.522, allocations: 0.5724 MB / 0.7748 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.522, allocations: 0.5 kB / 0.7748 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000977/1.523, allocations: 450.6 kB / 0.7752 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/1.524, allocations: 65.08 kB / 0.7753 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/1.526, allocations: 0.6445 MB / 0.7759 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/1.527, allocations: 0.8373 MB / 0.7767 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005584/1.528, allocations: 61.2 kB / 0.7768 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/1.528, allocations: 112.2 kB / 0.7769 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.528, allocations: 0 / 0.7769 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07929/1.607, allocations: 7.066 MB / 0.7838 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/1.608, allocations: 163.7 kB / 0.784 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/4.414, allocations: 3.938 kB / 0.784 GB, free: 167.3 MB / 0.6511 GB