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/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.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.238/4.238, allocations: 433.2 MB / 440.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.831e-05, allocations: 3.156 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 98.74 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9933/1.227, allocations: 175.4 MB / 0.8002 GB, free: 52.06 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.227, allocations: 85.03 kB / 0.8003 GB, free: 52.06 MB / 0.6511 GB [/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.5934/1.821, allocations: 148.1 MB / 0.9449 GB, free: 1.605 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.036e-06/1.821, allocations: 0 / 0.9449 GB, free: 1.605 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.000507/1.821, allocations: 75.53 kB / 0.945 GB, free: 1.535 MB / 0.6824 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.01697/1.838, allocations: 3.69 MB / 0.9486 GB, free: 13.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.838, allocations: 12.03 kB / 0.9486 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/1.867, allocations: 3.211 MB / 0.9518 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.88, allocations: 2.561 MB / 0.9543 GB, free: 7.949 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006181/1.881, allocations: 381.7 kB / 0.9546 GB, free: 7.512 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/1.882, allocations: 144 kB / 0.9548 GB, free: 7.371 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01215/1.894, allocations: 3.453 MB / 0.9581 GB, free: 3.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/1.909, allocations: 3.587 MB / 0.9616 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.68e-05/1.909, allocations: 3.938 kB / 0.9617 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008622/1.91, allocations: 19.92 kB / 0.9617 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002907/1.91, allocations: 148.8 kB / 0.9618 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04119/1.951, allocations: 14.35 MB / 0.9758 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/1.962, allocations: 2.608 MB / 0.9784 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/1.965, allocations: 1.065 MB / 0.9794 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/1.965, allocations: 25.14 kB / 0.9794 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00494/1.97, allocations: 1.367 MB / 0.9808 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 1.227e-05/1.97, allocations: 0 / 0.9808 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.04885/2.019, allocations: 8.494 MB / 0.9891 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004569/2.02, allocations: 0.8983 MB / 0.9899 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/2.024, allocations: 1.568 MB / 0.9915 GB, free: 292 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007835/2.025, allocations: 29.7 kB / 0.9915 GB, free: 256 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/2.027, allocations: 1.443 MB / 0.9929 GB, free: 14.79 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/2.029, allocations: 0.7925 MB / 0.9937 GB, free: 13.99 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005193/2.03, allocations: 4 kB / 0.9937 GB, free: 13.99 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0002748/2.03, allocations: 394.7 kB / 0.9941 GB, free: 13.6 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004116/2.034, allocations: 1.364 MB / 0.9954 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005535/2.04, allocations: 1.73 MB / 0.9971 GB, free: 10.37 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004519/2.044, allocations: 1.429 MB / 0.9985 GB, free: 8.918 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-05/2.044, allocations: 7.953 kB / 0.9985 GB, free: 8.91 MB / 0.7449 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02266/2.067, allocations: 5.069 MB / 1.003 GB, free: 3.789 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/2.067, allocations: 148.8 kB / 1.004 GB, free: 3.613 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/2.067, allocations: 8 kB / 1.004 GB, free: 3.605 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01747/2.085, allocations: 2.797 MB / 1.006 GB, free: 0.8008 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005776/2.091, allocations: 0.5696 MB / 1.007 GB, free: 236 kB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06165/2.152, allocations: 16.4 MB / 1.023 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007533/2.16, allocations: 375.6 kB / 1.023 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007784/2.161, allocations: 87.97 kB / 1.023 GB, free: 15.15 MB / 0.7761 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.0009038/2.162, allocations: 167.4 kB / 1.023 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02046/2.182, allocations: 4.768 MB / 1.028 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/2.184, allocations: 308.4 kB / 1.028 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/2.185, allocations: 333.2 kB / 1.029 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/2.185, allocations: 24 kB / 1.029 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.703e-05/2.185, allocations: 8.375 kB / 1.029 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/2.185, allocations: 11.95 kB / 1.029 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008805/2.194, allocations: 3.268 MB / 1.032 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.902e-05/2.194, allocations: 0 / 1.032 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00515/2.199, allocations: 0.5033 MB / 1.032 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01744/2.217, allocations: 2.769 MB / 1.035 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006949/2.218, allocations: 15.97 kB / 1.035 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07265/2.29, allocations: 16.38 MB / 1.051 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/2.29, allocations: 0 / 1.051 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03125/2.322, allocations: 4.897 MB / 1.056 GB, free: 13.43 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004333/2.326, allocations: 0.6691 MB / 1.057 GB, free: 12.74 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.328, allocations: 12 kB / 1.057 GB, free: 12.73 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009284/2.337, allocations: 383.4 kB / 1.057 GB, free: 12.36 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00223/2.339, allocations: 366.8 kB / 1.057 GB, free: 12 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004332/2.34, allocations: 67.97 kB / 1.057 GB, free: 11.93 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.002946/2.343, allocations: 1.165 MB / 1.059 GB, free: 10.76 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5.91e-07/2.343, allocations: 0 / 1.059 GB, free: 10.76 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.005466/2.348, allocations: 0.9414 MB / 1.059 GB, free: 9.816 MB / 0.8074 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 {9 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.02225/2.371, allocations: 5.511 MB / 1.065 GB, free: 4.273 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.03256/2.403, allocations: 5.203 MB / 1.07 GB, free: 14.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/2.403, allocations: 4 kB / 1.07 GB, free: 14.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.02604/2.429, allocations: 3.34 MB / 1.073 GB, free: 11.62 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007873/2.437, allocations: 0.8713 MB / 1.074 GB, free: 10.76 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/2.457, allocations: 5.493 MB / 1.079 GB, free: 5.215 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/2.46, allocations: 2.292 MB / 1.082 GB, free: 2.887 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0044/2.465, allocations: 491.4 kB / 1.082 GB, free: 2.402 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003628/2.469, allocations: 1.315 MB / 1.083 GB, free: 1.086 MB / 0.823 GB Notification: Performance of SimCode: time 1.452e-06/2.469, allocations: 3.938 kB / 1.083 GB, free: 1.082 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.887/3.356, allocations: 89.53 MB / 1.171 GB, free: 201 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/3.356, allocations: 154.6 kB / 1.171 GB, free: 200.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/10.22, allocations: 0 / 1.171 GB, free: 200.8 MB / 0.823 GB