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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.217/4.217, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.179e-05, allocations: 2.406 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2426, allocations: 98.75 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.259, allocations: 156.7 MB / 0.782 GB, free: 63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/1.259, allocations: 87.34 kB / 0.782 GB, free: 63 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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.07366/1.333, allocations: 17.71 MB / 0.7993 GB, free: 61.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/1.333, allocations: 0 / 0.7993 GB, free: 61.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.677e-05/1.333, allocations: 7.188 kB / 0.7993 GB, free: 61.18 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.001525/1.335, allocations: 0.6313 MB / 0.8 GB, free: 60.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.335, allocations: 11.31 kB / 0.8 GB, free: 60.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/1.337, allocations: 160.4 kB / 0.8001 GB, free: 60.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/1.338, allocations: 338.5 kB / 0.8004 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.338, allocations: 11.5 kB / 0.8005 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/1.338, allocations: 18.47 kB / 0.8005 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009924/1.339, allocations: 340.1 kB / 0.8008 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.34, allocations: 472.3 kB / 0.8012 GB, free: 60.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.34, allocations: 1.625 kB / 0.8012 GB, free: 60.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/1.34, allocations: 1.594 kB / 0.8012 GB, free: 60.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-05/1.34, allocations: 32.81 kB / 0.8013 GB, free: 60.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003765/1.344, allocations: 2.326 MB / 0.8036 GB, free: 58.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/1.345, allocations: 246.8 kB / 0.8038 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/1.345, allocations: 109.8 kB / 0.8039 GB, free: 58.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/1.345, allocations: 6.828 kB / 0.8039 GB, free: 58.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.345, allocations: 35.91 kB / 0.8039 GB, free: 58.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.105e-06/1.345, allocations: 0 / 0.8039 GB, free: 58.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002396/1.348, allocations: 0.7842 MB / 0.8047 GB, free: 58.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/1.348, allocations: 54.69 kB / 0.8048 GB, free: 58.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/1.348, allocations: 231 kB / 0.805 GB, free: 57.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/1.348, allocations: 29.64 kB / 0.805 GB, free: 57.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/1.348, allocations: 233.2 kB / 0.8052 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/1.348, allocations: 77.92 kB / 0.8053 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/1.348, allocations: 0 / 0.8053 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/1.348, allocations: 338.4 kB / 0.8056 GB, free: 57.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/1.349, allocations: 90.05 kB / 0.8057 GB, free: 57.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/1.349, allocations: 178.5 kB / 0.8059 GB, free: 57.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/1.349, allocations: 124.7 kB / 0.806 GB, free: 57.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.349, allocations: 0 / 0.806 GB, free: 57.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001041/1.35, allocations: 395.7 kB / 0.8064 GB, free: 57.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.35, allocations: 7.422 kB / 0.8064 GB, free: 57.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.35, allocations: 3.906 kB / 0.8064 GB, free: 57.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/1.351, allocations: 93.44 kB / 0.8065 GB, free: 57.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/1.351, allocations: 59.97 kB / 0.8065 GB, free: 57.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/1.355, allocations: 3.907 MB / 0.8103 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/1.355, allocations: 3.469 kB / 0.8103 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/1.355, allocations: 12.81 kB / 0.8104 GB, free: 53.52 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.0001399/1.355, allocations: 127.6 kB / 0.8105 GB, free: 53.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008299/1.356, allocations: 307.8 kB / 0.8108 GB, free: 53.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/1.356, allocations: 25.34 kB / 0.8108 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/1.356, allocations: 37.47 kB / 0.8108 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.356, allocations: 5.75 kB / 0.8108 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.356, allocations: 5.688 kB / 0.8108 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.356, allocations: 3.422 kB / 0.8108 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/1.357, allocations: 337 kB / 0.8112 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.357, allocations: 0 / 0.8112 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/1.357, allocations: 30.52 kB / 0.8112 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/1.358, allocations: 88.34 kB / 0.8113 GB, free: 53.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/1.358, allocations: 0 / 0.8113 GB, free: 53.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/1.361, allocations: 3.889 MB / 0.8151 GB, free: 49.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.361, allocations: 4.641 kB / 0.8151 GB, free: 49.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.362, allocations: 0.5203 MB / 0.8156 GB, free: 49.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/1.363, allocations: 124.5 kB / 0.8157 GB, free: 49.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/1.363, allocations: 9.391 kB / 0.8157 GB, free: 49.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/1.363, allocations: 5.938 kB / 0.8157 GB, free: 49.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/1.363, allocations: 29.48 kB / 0.8158 GB, free: 49.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/1.363, allocations: 12.64 kB / 0.8158 GB, free: 49.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002375/1.363, allocations: 175.3 kB / 0.8159 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.363, allocations: 0 / 0.8159 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007905/1.364, allocations: 90.44 kB / 0.816 GB, free: 49.09 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.001421/1.366, allocations: 1.052 MB / 0.817 GB, free: 48.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00111/1.367, allocations: 0.5645 MB / 0.8176 GB, free: 48.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.367, allocations: 3.938 kB / 0.8176 GB, free: 48.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006043/1.367, allocations: 450.1 kB / 0.818 GB, free: 47.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/1.368, allocations: 51.97 kB / 0.8181 GB, free: 47.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/1.37, allocations: 0.5821 MB / 0.8186 GB, free: 47.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.37, allocations: 0.8378 MB / 0.8195 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003738/1.371, allocations: 58.91 kB / 0.8195 GB, free: 46.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/1.371, allocations: 106 kB / 0.8196 GB, free: 46.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.371, allocations: 4 kB / 0.8196 GB, free: 46.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05086/1.422, allocations: 6.217 MB / 0.8257 GB, free: 46.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/1.422, allocations: 134.3 kB / 0.8258 GB, free: 46.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/4.037, allocations: 0 / 0.8258 GB, free: 46.16 MB / 0.6511 GB