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.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.357/4.357, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.077e-05, allocations: 2.891 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2163, allocations: 98.74 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9697/1.186, allocations: 176.1 MB / 0.8067 GB, free: 46.17 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/1.186, allocations: 91.34 kB / 0.8068 GB, free: 46.17 MB / 0.6511 GB [/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.6029/1.789, allocations: 149.2 MB / 0.9524 GB, free: 9.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/1.789, allocations: 4 kB / 0.9524 GB, free: 9.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000495/1.79, allocations: 79.77 kB / 0.9525 GB, free: 9.07 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.017/1.807, allocations: 3.694 MB / 0.9561 GB, free: 5.289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/1.807, allocations: 8.031 kB / 0.9561 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001869/1.809, allocations: 362 kB / 0.9565 GB, free: 4.922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0309/1.84, allocations: 3.21 MB / 0.9596 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/1.856, allocations: 2.562 MB / 0.9621 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008643/1.857, allocations: 469.2 kB / 0.9625 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001822/1.859, allocations: 231.8 kB / 0.9628 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/1.878, allocations: 3.943 MB / 0.9666 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/1.878, allocations: 0 / 0.9666 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009219/1.879, allocations: 107.5 kB / 0.9667 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003867/1.879, allocations: 148.8 kB / 0.9669 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.896, allocations: 3.592 MB / 0.9704 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04806/1.944, allocations: 14.87 MB / 0.9849 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01783/1.962, allocations: 2.675 MB / 0.9875 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005315/1.968, allocations: 1.108 MB / 0.9886 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/1.968, allocations: 25.05 kB / 0.9886 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006387/1.974, allocations: 1.431 MB / 0.99 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 9.347e-06/1.975, allocations: 0 / 0.99 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.2518/2.226, allocations: 29.56 MB / 1.019 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00057/2.227, allocations: 0.9022 MB / 1.02 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/2.232, allocations: 1.955 MB / 1.022 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008547/2.233, allocations: 81.7 kB / 1.022 GB, free: 460 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002249/2.235, allocations: 1.44 MB / 1.023 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/2.237, allocations: 0.8189 MB / 1.024 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/2.238, allocations: 48 kB / 1.024 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002607/2.238, allocations: 402.6 kB / 1.024 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/2.242, allocations: 1.406 MB / 1.026 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005126/2.247, allocations: 1.797 MB / 1.027 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/2.252, allocations: 1.619 MB / 1.029 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/2.252, allocations: 4 kB / 1.029 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02451/2.277, allocations: 5.471 MB / 1.034 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/2.277, allocations: 148.5 kB / 1.035 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/2.277, allocations: 8 kB / 1.035 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01776/2.295, allocations: 2.875 MB / 1.037 GB, free: 148 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005765/2.301, allocations: 0.5813 MB / 1.038 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06554/2.366, allocations: 16.97 MB / 1.055 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008122/2.374, allocations: 427.5 kB / 1.055 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008604/2.375, allocations: 91.97 kB / 1.055 GB, free: 13.82 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.0009638/2.376, allocations: 255.3 kB / 1.055 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/2.378, allocations: 332.1 kB / 1.056 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/2.379, allocations: 388 kB / 1.056 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/2.379, allocations: 24 kB / 1.056 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.619e-05/2.379, allocations: 8 kB / 1.056 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/2.379, allocations: 11.95 kB / 1.056 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009229/2.388, allocations: 3.656 MB / 1.06 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/2.388, allocations: 0 / 1.06 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005188/2.393, allocations: 0.5072 MB / 1.06 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01779/2.411, allocations: 2.796 MB / 1.063 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007725/2.412, allocations: 47.95 kB / 1.063 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0649/2.477, allocations: 16.81 MB / 1.079 GB, free: 4.707 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/2.477, allocations: 0 / 1.079 GB, free: 4.707 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6297/3.107, allocations: 5.116 MB / 1.084 GB, free: 200.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/3.11, allocations: 0.7065 MB / 1.085 GB, free: 200.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001563/3.112, allocations: 53.52 kB / 1.085 GB, free: 200.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007612/3.119, allocations: 424.3 kB / 1.085 GB, free: 200.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002239/3.122, allocations: 366.1 kB / 1.086 GB, free: 200.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006226/3.122, allocations: 70.55 kB / 1.086 GB, free: 200.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004557/3.127, allocations: 1.491 MB / 1.087 GB, free: 200.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.002e-06/3.127, allocations: 0 / 1.087 GB, free: 200.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006738/3.134, allocations: 1.065 MB / 1.088 GB, free: 200.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.02421/3.158, allocations: 5.761 MB / 1.094 GB, free: 199.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03291/3.191, allocations: 5.391 MB / 1.099 GB, free: 198.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/3.191, allocations: 3.062 kB / 1.099 GB, free: 198.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.02718/3.218, allocations: 3.475 MB / 1.103 GB, free: 198.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008783/3.227, allocations: 1.01 MB / 1.104 GB, free: 198.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/3.247, allocations: 5.709 MB / 1.109 GB, free: 197.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003657/3.251, allocations: 2.299 MB / 1.111 GB, free: 196.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004664/3.256, allocations: 0.5151 MB / 1.112 GB, free: 196.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003357/3.259, allocations: 1.321 MB / 1.113 GB, free: 196.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.272e-06/3.259, allocations: 0 / 1.113 GB, free: 196.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/3.491, allocations: 97.41 MB / 1.208 GB, free: 173.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/3.491, allocations: 190 kB / 1.208 GB, free: 173.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/10.75, allocations: 0 / 1.208 GB, free: 173.7 MB / 0.823 GB