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/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.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.264/4.264, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.244e-05/5.261e-05, allocations: 4.766 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2225, allocations: 98.74 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.322, allocations: 176 MB / 0.8066 GB, free: 46.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.322, allocations: 90.98 kB / 0.8067 GB, free: 46.12 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.5794/1.902, allocations: 147.6 MB / 0.9508 GB, free: 10.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/1.902, allocations: 0 / 0.9508 GB, free: 10.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00051/1.902, allocations: 83.69 kB / 0.9509 GB, free: 10.76 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.01464/1.917, allocations: 3.421 MB / 0.9542 GB, free: 7.254 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.917, allocations: 12.03 kB / 0.9542 GB, free: 7.242 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001883/1.919, allocations: 350 kB / 0.9546 GB, free: 6.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02874/1.948, allocations: 3.206 MB / 0.9577 GB, free: 3.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/1.958, allocations: 2.303 MB / 0.96 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/1.958, allocations: 184.4 kB / 0.9601 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/1.96, allocations: 235.4 kB / 0.9604 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/1.976, allocations: 3.814 MB / 0.9641 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/1.976, allocations: 3.938 kB / 0.9641 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/1.977, allocations: 115.7 kB / 0.9642 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003157/1.978, allocations: 144.8 kB / 0.9643 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/1.991, allocations: 3.526 MB / 0.9678 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04047/2.031, allocations: 14.38 MB / 0.9818 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/2.044, allocations: 2.843 MB / 0.9846 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/2.048, allocations: 1.046 MB / 0.9856 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/2.048, allocations: 28.89 kB / 0.9856 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003519/2.051, allocations: 1.349 MB / 0.987 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 5.16e-06/2.051, allocations: 0 / 0.987 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.2224/2.274, allocations: 28.99 MB / 1.015 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005146/2.274, allocations: 0.8944 MB / 1.016 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/2.28, allocations: 1.955 MB / 1.018 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007388/2.28, allocations: 85.69 kB / 1.018 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/2.283, allocations: 1.43 MB / 1.02 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/2.284, allocations: 0.8235 MB / 1.02 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/2.285, allocations: 48 kB / 1.02 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002513/2.285, allocations: 402.6 kB / 1.021 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003774/2.289, allocations: 1.25 MB / 1.022 GB, free: 300 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004482/2.293, allocations: 1.645 MB / 1.024 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/2.297, allocations: 1.49 MB / 1.025 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/2.298, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01758/2.315, allocations: 4.764 MB / 1.03 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001152/2.316, allocations: 2.451 MB / 1.032 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/2.316, allocations: 4 kB / 1.032 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/2.327, allocations: 1.762 MB / 1.034 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005984/2.333, allocations: 0.5852 MB / 1.034 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02399/2.358, allocations: 9.051 MB / 1.043 GB, free: 9.832 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007307/2.365, allocations: 419.4 kB / 1.044 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008206/2.366, allocations: 91.97 kB / 1.044 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/2.366, allocations: 5.562 kB / 1.044 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01616/2.382, allocations: 4.376 MB / 1.048 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/2.382, allocations: 4 kB / 1.048 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008931/2.391, allocations: 1.767 MB / 1.05 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/2.397, allocations: 0.6124 MB / 1.05 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03587/2.433, allocations: 13.26 MB / 1.063 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007229/2.44, allocations: 415.5 kB / 1.064 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007845/2.441, allocations: 91.97 kB / 1.064 GB, free: 4.461 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 (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.0009481/2.442, allocations: 239.4 kB / 1.064 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/2.444, allocations: 340 kB / 1.064 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/2.445, allocations: 396.1 kB / 1.065 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/2.445, allocations: 24 kB / 1.065 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-05/2.445, allocations: 8 kB / 1.065 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.571e-05/2.445, allocations: 23.91 kB / 1.065 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008057/2.453, allocations: 3.188 MB / 1.068 GB, free: 244 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/2.453, allocations: 4 kB / 1.068 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005351/2.459, allocations: 0.5111 MB / 1.068 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/2.469, allocations: 1.672 MB / 1.07 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006718/2.47, allocations: 51.97 kB / 1.07 GB, free: 13.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6945/3.165, allocations: 13.73 MB / 1.083 GB, free: 201.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/3.165, allocations: 5.188 kB / 1.083 GB, free: 201.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03209/3.197, allocations: 4.402 MB / 1.088 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003203/3.2, allocations: 0.6732 MB / 1.088 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/3.202, allocations: 52.44 kB / 1.088 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007458/3.209, allocations: 411.4 kB / 1.089 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001838/3.211, allocations: 304.9 kB / 1.089 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000615/3.212, allocations: 67.95 kB / 1.089 GB, free: 201.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004688/3.217, allocations: 1.496 MB / 1.091 GB, free: 201.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.32e-07/3.217, allocations: 0 / 1.091 GB, free: 201.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008706/3.225, allocations: 1.581 MB / 1.092 GB, free: 201.3 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 (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.02005/3.246, allocations: 5.067 MB / 1.097 GB, free: 200.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03533/3.281, allocations: 7.711 MB / 1.105 GB, free: 199.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.246e-05/3.281, allocations: 7.75 kB / 1.105 GB, free: 199.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/3.293, allocations: 2.795 MB / 1.107 GB, free: 198.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009933/3.303, allocations: 1.004 MB / 1.108 GB, free: 198.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/3.327, allocations: 5.597 MB / 1.114 GB, free: 197.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/3.331, allocations: 2.328 MB / 1.116 GB, free: 196.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.008687/3.34, allocations: 0.769 MB / 1.117 GB, free: 196.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004174/3.344, allocations: 1.293 MB / 1.118 GB, free: 196.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.184e-06/3.344, allocations: 3.062 kB / 1.118 GB, free: 196.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2713/3.615, allocations: 102.3 MB / 1.218 GB, free: 164.1 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/3.616, allocations: 175.9 kB / 1.218 GB, free: 163.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/11.47, allocations: 3.938 kB / 1.218 GB, free: 163.9 MB / 0.823 GB