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/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.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.106/4.106, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.282e-05, allocations: 4.25 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2365, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.274, allocations: 166.8 MB / 0.7976 GB, free: 46.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.275, allocations: 89.58 kB / 0.7977 GB, free: 46.02 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/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.1338/1.408, allocations: 36.78 MB / 0.8336 GB, free: 40.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.904e-06/1.408, allocations: 0 / 0.8336 GB, free: 40.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.294e-05/1.408, allocations: 15.62 kB / 0.8337 GB, free: 40.53 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.002205/1.411, allocations: 0.9088 MB / 0.8345 GB, free: 39.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.411, allocations: 11.72 kB / 0.8346 GB, free: 39.86 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/1.411, allocations: 98.75 kB / 0.8347 GB, free: 39.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/1.416, allocations: 0.6332 MB / 0.8353 GB, free: 39.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/1.418, allocations: 0.5855 MB / 0.8358 GB, free: 39.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/1.418, allocations: 38.94 kB / 0.8359 GB, free: 39.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/1.418, allocations: 52.03 kB / 0.8359 GB, free: 39.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/1.42, allocations: 0.8649 MB / 0.8368 GB, free: 38.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/1.42, allocations: 7.828 kB / 0.8368 GB, free: 38.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.42, allocations: 21.88 kB / 0.8368 GB, free: 38.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-05/1.421, allocations: 40.23 kB / 0.8368 GB, free: 38.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/1.422, allocations: 0.7309 MB / 0.8376 GB, free: 38.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006215/1.429, allocations: 3.554 MB / 0.841 GB, free: 36.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/1.43, allocations: 402 kB / 0.8414 GB, free: 36.01 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/1.43, allocations: 173.6 kB / 0.8416 GB, free: 35.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/1.43, allocations: 3.875 kB / 0.8416 GB, free: 35.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/1.43, allocations: 38.22 kB / 0.8416 GB, free: 35.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.006e-06/1.43, allocations: 0 / 0.8416 GB, free: 35.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.007729/1.438, allocations: 1.595 MB / 0.8432 GB, free: 35.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/1.438, allocations: 132.3 kB / 0.8433 GB, free: 35.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/1.439, allocations: 0.5003 MB / 0.8438 GB, free: 35.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/1.439, allocations: 32.27 kB / 0.8438 GB, free: 35.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/1.439, allocations: 353.8 kB / 0.8442 GB, free: 34.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/1.44, allocations: 157.6 kB / 0.8443 GB, free: 34.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/1.44, allocations: 10.19 kB / 0.8443 GB, free: 34.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.44, allocations: 377.3 kB / 0.8447 GB, free: 34.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/1.44, allocations: 189.8 kB / 0.8449 GB, free: 34.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/1.441, allocations: 314.7 kB / 0.8452 GB, free: 34.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/1.441, allocations: 227.3 kB / 0.8454 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.441, allocations: 3.875 kB / 0.8454 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002405/1.444, allocations: 0.7795 MB / 0.8461 GB, free: 33.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002689/1.444, allocations: 1.221 MB / 0.8473 GB, free: 32.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.444, allocations: 3.875 kB / 0.8473 GB, free: 32.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/1.446, allocations: 251.5 kB / 0.8476 GB, free: 32.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.447, allocations: 128.5 kB / 0.8477 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/1.452, allocations: 5.901 MB / 0.8535 GB, free: 26.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.453, allocations: 64.42 kB / 0.8535 GB, free: 26.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/1.453, allocations: 19.02 kB / 0.8535 GB, free: 26.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.453, allocations: 3.844 kB / 0.8535 GB, free: 26.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002395/1.456, allocations: 0.9045 MB / 0.8544 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.456, allocations: 0 / 0.8544 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.457, allocations: 207.7 kB / 0.8546 GB, free: 26.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.458, allocations: 134.3 kB / 0.8547 GB, free: 26.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006398/1.464, allocations: 8.103 MB / 0.8627 GB, free: 18.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.466, allocations: 61.44 kB / 0.8627 GB, free: 18.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/1.466, allocations: 18.47 kB / 0.8627 GB, free: 18.44 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.0002338/1.466, allocations: 134 kB / 0.8629 GB, free: 18.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.466, allocations: 74.19 kB / 0.8629 GB, free: 18.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/1.466, allocations: 76.78 kB / 0.863 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/1.467, allocations: 3.875 kB / 0.863 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.467, allocations: 3.969 kB / 0.863 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/1.467, allocations: 3.984 kB / 0.863 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.468, allocations: 0.6502 MB / 0.8637 GB, free: 17.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.468, allocations: 0 / 0.8637 GB, free: 17.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009561/1.469, allocations: 101.8 kB / 0.8638 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/1.47, allocations: 250.6 kB / 0.864 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/1.47, allocations: 7.375 kB / 0.864 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007096/1.477, allocations: 8.352 MB / 0.8722 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.477, allocations: 0 / 0.8722 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/1.48, allocations: 0.7892 MB / 0.8729 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/1.48, allocations: 185.2 kB / 0.8731 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/1.48, allocations: 11.59 kB / 0.8731 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/1.481, allocations: 50.62 kB / 0.8732 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.482, allocations: 43 kB / 0.8732 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/1.482, allocations: 11.44 kB / 0.8732 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007088/1.482, allocations: 395.1 kB / 0.8736 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.783e-06/1.482, allocations: 0 / 0.8736 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001623/1.484, allocations: 313.8 kB / 0.8739 GB, free: 9.203 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.002627/1.487, allocations: 1.333 MB / 0.8752 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003681/1.49, allocations: 1.847 MB / 0.877 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.49, allocations: 0 / 0.877 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.492, allocations: 0.9321 MB / 0.8779 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.494, allocations: 207 kB / 0.8781 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/1.497, allocations: 1.048 MB / 0.8791 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/1.498, allocations: 0.9939 MB / 0.8801 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001309/1.499, allocations: 182.4 kB / 0.8803 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/1.499, allocations: 229.9 kB / 0.8805 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/1.499, allocations: 0 / 0.8805 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06131/1.561, allocations: 18.95 MB / 0.899 GB, free: 12 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003756/1.561, allocations: 182.5 kB / 0.8992 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/4.912, allocations: 0 / 0.8992 GB, free: 11.78 MB / 0.6667 GB