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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01564/0.01564, allocations: 108 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002115/0.002115, allocations: 187.5 kB / 15.95 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.989/1.989, allocations: 194.6 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.379/2.379, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006764/0.0006767, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6911, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/1.041, allocations: 176.2 MB / 0.8555 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.042, allocations: 95.95 kB / 0.8556 GB, free: 13.92 MB / 0.6823 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 1.152/2.194, allocations: 149.6 MB / 1.002 GB, free: 147.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.176e-06/2.194, allocations: 0 / 1.002 GB, free: 147.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005697/2.194, allocations: 79.92 kB / 1.002 GB, free: 147.3 MB / 0.7292 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.02509/2.219, allocations: 4.213 MB / 1.006 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/2.219, allocations: 8.031 kB / 1.006 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00252/2.222, allocations: 370.1 kB / 1.006 GB, free: 142.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04557/2.268, allocations: 3.226 MB / 1.009 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/2.279, allocations: 2.576 MB / 1.012 GB, free: 136.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005329/2.279, allocations: 465.7 kB / 1.012 GB, free: 136.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/2.281, allocations: 236 kB / 1.013 GB, free: 135.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/2.3, allocations: 4.814 MB / 1.017 GB, free: 131 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.134e-05/2.3, allocations: 4 kB / 1.017 GB, free: 131 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006057/2.301, allocations: 111.9 kB / 1.017 GB, free: 130.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/2.301, allocations: 144.8 kB / 1.018 GB, free: 130.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/2.326, allocations: 5.296 MB / 1.023 GB, free: 125.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/2.362, allocations: 14.9 MB / 1.037 GB, free: 109.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/2.38, allocations: 3.628 MB / 1.041 GB, free: 105.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/2.381, allocations: 25.28 kB / 1.041 GB, free: 105.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007879/2.389, allocations: 1.92 MB / 1.043 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 5.891e-06/2.389, allocations: 0 / 1.043 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.3014/2.69, allocations: 34.33 MB / 1.076 GB, free: 69.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003227/2.691, allocations: 0.9022 MB / 1.077 GB, free: 68.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005833/2.697, allocations: 1.985 MB / 1.079 GB, free: 66.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009218/2.698, allocations: 85.64 kB / 1.079 GB, free: 65.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/2.7, allocations: 1.43 MB / 1.08 GB, free: 64.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/2.702, allocations: 0.8163 MB / 1.081 GB, free: 63.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00062/2.702, allocations: 48 kB / 1.081 GB, free: 63.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002073/2.703, allocations: 394.7 kB / 1.082 GB, free: 63.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0134/2.716, allocations: 2.112 MB / 1.084 GB, free: 61.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/2.728, allocations: 2.503 MB / 1.086 GB, free: 58.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009965/2.738, allocations: 2.3 MB / 1.088 GB, free: 56.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/2.738, allocations: 0 / 1.088 GB, free: 56.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03272/2.771, allocations: 6.911 MB / 1.095 GB, free: 49.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/2.771, allocations: 152.5 kB / 1.095 GB, free: 48.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/2.771, allocations: 4 kB / 1.095 GB, free: 48.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01779/2.789, allocations: 2.958 MB / 1.098 GB, free: 45.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005472/2.795, allocations: 0.5735 MB / 1.099 GB, free: 45.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06559/2.86, allocations: 18.15 MB / 1.117 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007741/2.868, allocations: 431.5 kB / 1.117 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/2.869, allocations: 83.98 kB / 1.117 GB, free: 26.51 MB / 0.7292 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 () * Number of clocked 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.004971/2.874, allocations: 0.7187 MB / 1.118 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/2.876, allocations: 336.1 kB / 1.118 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/2.878, allocations: 380.1 kB / 1.118 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/2.878, allocations: 24 kB / 1.118 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-05/2.878, allocations: 15.95 kB / 1.118 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/2.879, allocations: 11.95 kB / 1.118 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/2.89, allocations: 3.667 MB / 1.122 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/2.89, allocations: 0 / 1.122 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004847/2.895, allocations: 0.5032 MB / 1.123 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01733/2.912, allocations: 2.863 MB / 1.125 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007191/2.913, allocations: 51.97 kB / 1.125 GB, free: 17.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06663/2.98, allocations: 17.99 MB / 1.143 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.98, allocations: 0 / 1.143 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03567/3.015, allocations: 6.541 MB / 1.149 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003165/3.018, allocations: 0.7116 MB / 1.15 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/3.02, allocations: 48 kB / 1.15 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007341/3.027, allocations: 423.5 kB / 1.15 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002208/3.029, allocations: 362.6 kB / 1.151 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004542/3.03, allocations: 71.97 kB / 1.151 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003891/3.034, allocations: 1.521 MB / 1.152 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.377e-06/3.034, allocations: 0 / 1.152 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005286/3.039, allocations: 1.075 MB / 1.153 GB, free: 4.809 MB / 0.7448 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) * Number of clocked states: 0 () * 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.03612/3.075, allocations: 7.197 MB / 1.16 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.04577/3.121, allocations: 6.833 MB / 1.167 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/3.121, allocations: 4 kB / 1.167 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.03374/3.155, allocations: 4.209 MB / 1.171 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00807/3.163, allocations: 1.003 MB / 1.172 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1187/3.282, allocations: 30.6 MB / 1.202 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004368/3.286, allocations: 2.293 MB / 1.204 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004552/3.291, allocations: 0.5135 MB / 1.205 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003804/3.295, allocations: 1.327 MB / 1.206 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/3.295, allocations: 0 / 1.206 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8565/4.151, allocations: 97.81 MB / 1.302 GB, free: 198.6 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/4.152, allocations: 221.2 kB / 1.302 GB, free: 198.4 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/11.16, allocations: 0 / 1.302 GB, free: 198.4 MB / 0.8073 GB