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.DCLine.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.DCLine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.356/4.356, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.667e-05, allocations: 11.59 kB / 0.5325 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2248, allocations: 98.73 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9987/1.224, allocations: 166.2 MB / 0.7912 GB, free: 63.29 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.224, allocations: 90.52 kB / 0.7913 GB, free: 63.28 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/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);. Notification: Performance of FrontEnd - DAE generated: time 0.1391/1.363, allocations: 36.55 MB / 0.827 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.605e-06/1.363, allocations: 0 / 0.827 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.966e-05/1.363, allocations: 15.62 kB / 0.827 GB, free: 58.85 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00265/1.366, allocations: 0.908 MB / 0.8279 GB, free: 58.26 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.366, allocations: 7.812 kB / 0.8279 GB, free: 58.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005649/1.372, allocations: 0.6311 MB / 0.8285 GB, free: 58.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/1.374, allocations: 0.5872 MB / 0.8291 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/1.374, allocations: 15.66 kB / 0.8291 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.374, allocations: 27.31 kB / 0.8291 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001707/1.375, allocations: 0.6913 MB / 0.8298 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/1.377, allocations: 0.7903 MB / 0.8305 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/1.377, allocations: 0 / 0.8305 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.377, allocations: 7.906 kB / 0.8305 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.588e-05/1.377, allocations: 36.36 kB / 0.8306 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006155/1.384, allocations: 3.423 MB / 0.8339 GB, free: 55.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.385, allocations: 374.6 kB / 0.8343 GB, free: 55.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/1.385, allocations: 169 kB / 0.8344 GB, free: 55.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/1.385, allocations: 7.906 kB / 0.8344 GB, free: 55.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/1.385, allocations: 34.56 kB / 0.8345 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 2.946e-06/1.385, allocations: 0 / 0.8345 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.004111/1.389, allocations: 1.119 MB / 0.8356 GB, free: 55.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/1.39, allocations: 143.3 kB / 0.8357 GB, free: 55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/1.39, allocations: 390.1 kB / 0.8361 GB, free: 54.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.39, allocations: 25.7 kB / 0.8361 GB, free: 54.85 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/1.391, allocations: 363.3 kB / 0.8365 GB, free: 54.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/1.391, allocations: 148.1 kB / 0.8366 GB, free: 54.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/1.391, allocations: 0 / 0.8366 GB, free: 54.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.391, allocations: 365.5 kB / 0.8369 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/1.392, allocations: 180.4 kB / 0.8371 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/1.392, allocations: 299.3 kB / 0.8374 GB, free: 54.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/1.393, allocations: 222.5 kB / 0.8376 GB, free: 54.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.393, allocations: 0 / 0.8376 GB, free: 54.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002331/1.395, allocations: 0.7338 MB / 0.8383 GB, free: 53.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000278/1.395, allocations: 1.217 MB / 0.8395 GB, free: 52.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.395, allocations: 7.875 kB / 0.8395 GB, free: 52.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/1.397, allocations: 230.7 kB / 0.8397 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.398, allocations: 130.4 kB / 0.8399 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004937/1.403, allocations: 5.744 MB / 0.8455 GB, free: 47.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.404, allocations: 50.98 kB / 0.8455 GB, free: 47.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/1.404, allocations: 19.56 kB / 0.8455 GB, free: 47.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.404, allocations: 3.938 kB / 0.8456 GB, free: 47.29 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001965/1.406, allocations: 1.018 MB / 0.8465 GB, free: 46.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.406, allocations: 3.906 kB / 0.8465 GB, free: 46.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/1.407, allocations: 141.9 kB / 0.8467 GB, free: 46.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.408, allocations: 137.5 kB / 0.8468 GB, free: 46.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/1.413, allocations: 7.509 MB / 0.8541 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.415, allocations: 47.23 kB / 0.8542 GB, free: 39.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/1.415, allocations: 23.55 kB / 0.8542 GB, free: 39.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002331/1.415, allocations: 116.7 kB / 0.8543 GB, free: 38.91 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002003/1.417, allocations: 0.6347 MB / 0.8549 GB, free: 38.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/1.417, allocations: 54.69 kB / 0.855 GB, free: 38.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/1.418, allocations: 69.78 kB / 0.8551 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.418, allocations: 3.906 kB / 0.8551 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.418, allocations: 3.906 kB / 0.8551 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.418, allocations: 3.938 kB / 0.8551 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.419, allocations: 0.5597 MB / 0.8556 GB, free: 38.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.419, allocations: 0 / 0.8556 GB, free: 38.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/1.42, allocations: 98.34 kB / 0.8557 GB, free: 38.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/1.421, allocations: 234.7 kB / 0.8559 GB, free: 38.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/1.421, allocations: 3.906 kB / 0.8559 GB, free: 38.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006851/1.428, allocations: 8.007 MB / 0.8638 GB, free: 30.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.428, allocations: 3.984 kB / 0.8638 GB, free: 30.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/1.43, allocations: 0.743 MB / 0.8645 GB, free: 30.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/1.431, allocations: 173.2 kB / 0.8647 GB, free: 30.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.431, allocations: 3.953 kB / 0.8647 GB, free: 30.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008911/1.432, allocations: 43.27 kB / 0.8647 GB, free: 30.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.432, allocations: 50.59 kB / 0.8648 GB, free: 30.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/1.432, allocations: 11.69 kB / 0.8648 GB, free: 30.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004665/1.433, allocations: 301.7 kB / 0.8651 GB, free: 30.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.433, allocations: 0 / 0.8651 GB, free: 30.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001569/1.434, allocations: 261.6 kB / 0.8653 GB, free: 30.03 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 (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002337/1.437, allocations: 1.306 MB / 0.8666 GB, free: 29.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00322/1.44, allocations: 1.724 MB / 0.8683 GB, free: 28.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.44, allocations: 3.906 kB / 0.8683 GB, free: 28.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.441, allocations: 0.88 MB / 0.8691 GB, free: 27.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/1.443, allocations: 171.8 kB / 0.8693 GB, free: 27.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/1.446, allocations: 0.9989 MB / 0.8703 GB, free: 26.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/1.447, allocations: 0.9917 MB / 0.8712 GB, free: 26.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001226/1.448, allocations: 163.2 kB / 0.8714 GB, free: 25.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/1.448, allocations: 232.7 kB / 0.8716 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/1.448, allocations: 3.938 kB / 0.8716 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08096/1.529, allocations: 16.37 MB / 0.8876 GB, free: 18.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/1.53, allocations: 133.2 kB / 0.8877 GB, free: 17.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/4.785, allocations: 0 / 0.8877 GB, free: 17.98 MB / 0.6511 GB