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.DCLines.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.DCLines,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.459/4.459, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.928e-05, allocations: 2.812 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2333, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9129/1.146, allocations: 175.3 MB / 0.8001 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.147, allocations: 86.52 kB / 0.8002 GB, free: 52.05 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.5722/1.719, allocations: 146.5 MB / 0.9433 GB, free: 3.227 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.045e-06/1.719, allocations: 0 / 0.9433 GB, free: 3.227 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0005516/1.72, allocations: 75.52 kB / 0.9434 GB, free: 3.156 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.01523/1.735, allocations: 3.424 MB / 0.9467 GB, free: 15.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/1.735, allocations: 11.97 kB / 0.9467 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/1.764, allocations: 3.211 MB / 0.9499 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.775, allocations: 2.297 MB / 0.9521 GB, free: 10.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/1.775, allocations: 76 kB / 0.9522 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/1.777, allocations: 140 kB / 0.9523 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01258/1.789, allocations: 3.379 MB / 0.9556 GB, free: 6.504 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/1.804, allocations: 3.482 MB / 0.959 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.134e-05/1.804, allocations: 4 kB / 0.959 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009305/1.805, allocations: 11.94 kB / 0.959 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002993/1.806, allocations: 148.8 kB / 0.9592 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/1.846, allocations: 13.85 MB / 0.9727 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/1.859, allocations: 2.765 MB / 0.9754 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/1.862, allocations: 0.9991 MB / 0.9764 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/1.863, allocations: 28.66 kB / 0.9764 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003866/1.867, allocations: 1.3 MB / 0.9777 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 6.823e-06/1.867, allocations: 0 / 0.9777 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.03476/1.901, allocations: 7.547 MB / 0.9851 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005081/1.902, allocations: 0.8905 MB / 0.9859 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/1.906, allocations: 1.572 MB / 0.9875 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006921/1.907, allocations: 33.7 kB / 0.9875 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.909, allocations: 1.439 MB / 0.9889 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/1.91, allocations: 0.7851 MB / 0.9897 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/1.911, allocations: 3.938 kB / 0.9897 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002532/1.911, allocations: 398.6 kB / 0.99 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003218/1.914, allocations: 1.203 MB / 0.9912 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/1.918, allocations: 1.578 MB / 0.9928 GB, free: 14.8 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/1.922, allocations: 1.292 MB / 0.994 GB, free: 13.49 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/1.922, allocations: 4 kB / 0.994 GB, free: 13.48 MB / 0.7449 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01631/1.938, allocations: 4.373 MB / 0.9983 GB, free: 9.062 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.001115/1.94, allocations: 2.415 MB / 1.001 GB, free: 6.426 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/1.94, allocations: 4 kB / 1.001 GB, free: 6.422 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/1.95, allocations: 1.61 MB / 1.002 GB, free: 4.805 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005847/1.956, allocations: 0.5891 MB / 1.003 GB, free: 4.215 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/1.979, allocations: 8.987 MB / 1.012 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006939/1.986, allocations: 355.6 kB / 1.012 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000702/1.987, allocations: 95.97 kB / 1.012 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.987, allocations: 4 kB / 1.012 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01286/2, allocations: 3.672 MB / 1.016 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/2, allocations: 16.28 kB / 1.016 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006839/2.007, allocations: 1.41 MB / 1.017 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006225/2.013, allocations: 0.6398 MB / 1.018 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03105/2.044, allocations: 11.76 MB / 1.029 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/2.051, allocations: 367.4 kB / 1.029 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008362/2.052, allocations: 95.97 kB / 1.03 GB, free: 8.41 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0009032/2.052, allocations: 151.4 kB / 1.03 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01604/2.069, allocations: 4.053 MB / 1.034 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/2.07, allocations: 300.4 kB / 1.034 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/2.071, allocations: 341.2 kB / 1.034 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/2.071, allocations: 24 kB / 1.034 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.5e-05/2.072, allocations: 11.98 kB / 1.034 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/2.072, allocations: 19.91 kB / 1.034 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007332/2.079, allocations: 2.81 MB / 1.037 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-05/2.079, allocations: 384 / 1.037 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005273/2.084, allocations: 0.5228 MB / 1.038 GB, free: 168 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/2.095, allocations: 1.61 MB / 1.039 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006119/2.095, allocations: 19.97 kB / 1.039 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04133/2.137, allocations: 13.35 MB / 1.052 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/2.137, allocations: 4 kB / 1.052 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/2.158, allocations: 4.178 MB / 1.056 GB, free: 12.73 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002986/2.161, allocations: 0.6379 MB / 1.057 GB, free: 12.07 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/2.163, allocations: 4 kB / 1.057 GB, free: 12.07 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00829/2.171, allocations: 367.5 kB / 1.057 GB, free: 11.71 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00243/2.173, allocations: 314.6 kB / 1.058 GB, free: 11.4 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007359/2.174, allocations: 71.97 kB / 1.058 GB, free: 11.33 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.004976/2.179, allocations: 1.161 MB / 1.059 GB, free: 10.16 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.463e-06/2.179, allocations: 0 / 1.059 GB, free: 10.16 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.01103/2.19, allocations: 1.402 MB / 1.06 GB, free: 8.762 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 (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01755/2.208, allocations: 4.816 MB / 1.065 GB, free: 3.918 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.02722/2.235, allocations: 7.348 MB / 1.072 GB, free: 12.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.235, allocations: 0.75 kB / 1.072 GB, free: 12.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/2.246, allocations: 2.68 MB / 1.075 GB, free: 9.711 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007458/2.253, allocations: 0.8737 MB / 1.075 GB, free: 8.844 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/2.273, allocations: 5.366 MB / 1.081 GB, free: 3.426 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/2.277, allocations: 2.331 MB / 1.083 GB, free: 1.062 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006607/2.283, allocations: 0.7181 MB / 1.084 GB, free: 348 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7268/3.01, allocations: 1.292 MB / 1.085 GB, free: 205 MB / 0.823 GB Notification: Performance of SimCode: time 1.633e-06/3.01, allocations: 0 / 1.085 GB, free: 205 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.242/3.252, allocations: 92.94 MB / 1.176 GB, free: 198.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/3.253, allocations: 134.2 kB / 1.176 GB, free: 198.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/10.82, allocations: 0 / 1.176 GB, free: 198.3 MB / 0.823 GB