Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.248/4.248, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.631e-05, allocations: 4.812 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2187, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9196/1.138, allocations: 157.4 MB / 0.7884 GB, free: 58.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/1.139, allocations: 89.44 kB / 0.7885 GB, free: 58.45 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 6.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 6.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);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 6.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.07611/1.215, allocations: 17.78 MB / 0.8059 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.214e-06/1.215, allocations: 3.938 kB / 0.8059 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.49e-05/1.215, allocations: 11.81 kB / 0.8059 GB, free: 56.04 MB / 0.6511 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.001544/1.217, allocations: 0.6239 MB / 0.8065 GB, free: 55.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.217, allocations: 7.875 kB / 0.8065 GB, free: 55.57 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/1.217, allocations: 78 kB / 0.8066 GB, free: 55.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/1.219, allocations: 154.3 kB / 0.8067 GB, free: 55.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/1.22, allocations: 345.5 kB / 0.8071 GB, free: 55.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/1.22, allocations: 30.86 kB / 0.8071 GB, free: 55.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/1.22, allocations: 30.44 kB / 0.8071 GB, free: 55.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.221, allocations: 0.5188 MB / 0.8076 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.221, allocations: 0 / 0.8076 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/1.221, allocations: 11.06 kB / 0.8076 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/1.221, allocations: 27.3 kB / 0.8077 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/1.222, allocations: 379.6 kB / 0.808 GB, free: 55.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/1.226, allocations: 2.413 MB / 0.8104 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/1.227, allocations: 258.7 kB / 0.8106 GB, free: 53.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/1.227, allocations: 117.8 kB / 0.8107 GB, free: 53.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/1.227, allocations: 3.906 kB / 0.8107 GB, free: 53.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/1.227, allocations: 34.19 kB / 0.8108 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.306e-06/1.227, allocations: 0 / 0.8108 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002571/1.23, allocations: 0.8577 MB / 0.8116 GB, free: 52.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/1.23, allocations: 55.31 kB / 0.8117 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/1.23, allocations: 267.1 kB / 0.8119 GB, free: 52.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.23, allocations: 28.95 kB / 0.812 GB, free: 52.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/1.23, allocations: 234.8 kB / 0.8122 GB, free: 52.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/1.23, allocations: 75.69 kB / 0.8122 GB, free: 52.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/1.23, allocations: 10.91 kB / 0.8123 GB, free: 52.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/1.231, allocations: 335.4 kB / 0.8126 GB, free: 52.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/1.231, allocations: 109.4 kB / 0.8127 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/1.231, allocations: 182.8 kB / 0.8129 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/1.231, allocations: 128.5 kB / 0.813 GB, free: 52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.231, allocations: 3.938 kB / 0.813 GB, free: 52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001081/1.233, allocations: 429.3 kB / 0.8134 GB, free: 51.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.233, allocations: 7.812 kB / 0.8134 GB, free: 51.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.233, allocations: 3.938 kB / 0.8134 GB, free: 51.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/1.233, allocations: 94.95 kB / 0.8135 GB, free: 51.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/1.234, allocations: 64.47 kB / 0.8136 GB, free: 51.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/1.237, allocations: 4.072 MB / 0.8175 GB, free: 48.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/1.237, allocations: 15.53 kB / 0.8175 GB, free: 48.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/1.237, allocations: 15.62 kB / 0.8176 GB, free: 48.05 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.0001359/1.238, allocations: 119.4 kB / 0.8177 GB, free: 47.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/1.238, allocations: 27.34 kB / 0.8177 GB, free: 47.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/1.238, allocations: 43.06 kB / 0.8177 GB, free: 47.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.238, allocations: 7.859 kB / 0.8177 GB, free: 47.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.238, allocations: 3.906 kB / 0.8178 GB, free: 47.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.238, allocations: 144 / 0.8178 GB, free: 47.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/1.238, allocations: 391.8 kB / 0.8181 GB, free: 47.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.238, allocations: 3.984 kB / 0.8181 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/1.239, allocations: 41.62 kB / 0.8182 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/1.239, allocations: 88.69 kB / 0.8183 GB, free: 47.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.239, allocations: 7.406 kB / 0.8183 GB, free: 47.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/1.242, allocations: 4.069 MB / 0.8222 GB, free: 43.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.243, allocations: 224 / 0.8222 GB, free: 43.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/1.244, allocations: 0.5444 MB / 0.8228 GB, free: 43.69 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/1.244, allocations: 129.5 kB / 0.8229 GB, free: 43.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/1.244, allocations: 7.344 kB / 0.8229 GB, free: 43.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/1.244, allocations: 11.88 kB / 0.8229 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/1.244, allocations: 25.84 kB / 0.8229 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/1.245, allocations: 7.594 kB / 0.8229 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002845/1.245, allocations: 205.5 kB / 0.8231 GB, free: 43.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.245, allocations: 0 / 0.8231 GB, free: 43.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006835/1.246, allocations: 100.9 kB / 0.8232 GB, free: 43.48 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.001481/1.247, allocations: 1.095 MB / 0.8243 GB, free: 42.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.248, allocations: 0.6009 MB / 0.8249 GB, free: 42.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.248, allocations: 0 / 0.8249 GB, free: 42.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/1.249, allocations: 463.1 kB / 0.8253 GB, free: 42.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/1.249, allocations: 65.19 kB / 0.8254 GB, free: 42.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/1.251, allocations: 0.5994 MB / 0.826 GB, free: 41.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/1.252, allocations: 0.8418 MB / 0.8268 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003758/1.252, allocations: 65.36 kB / 0.8269 GB, free: 41.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.252, allocations: 108.9 kB / 0.827 GB, free: 41.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.252, allocations: 0 / 0.827 GB, free: 41.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/1.29, allocations: 7.119 MB / 0.8339 GB, free: 40.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/1.29, allocations: 165 kB / 0.8341 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/4.042, allocations: 0 / 0.8341 GB, free: 40.27 MB / 0.6511 GB