Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.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: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008864/0.008864, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001083/0.001083, allocations: 179.3 kB / 15.94 MB, free: 5.93 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.929/1.929, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.16/2.16, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5403, allocations: 98.71 MB / 0.6833 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.653/6.194, allocations: 2.209 GB / 2.892 GB, free: 194.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/6.194, allocations: 107.5 kB / 2.892 GB, free: 194.7 MB / 0.823 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/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.2611/6.455, allocations: 68.12 MB / 2.959 GB, free: 136.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.48e-06/6.455, allocations: 0 / 2.959 GB, free: 136.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.75e-05/6.455, allocations: 43.92 kB / 2.959 GB, free: 136 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003791/6.459, allocations: 1.72 MB / 2.96 GB, free: 134.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/6.459, allocations: 12.03 kB / 2.96 GB, free: 134.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007409/6.466, allocations: 0.918 MB / 2.961 GB, free: 133.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/6.469, allocations: 0.8264 MB / 2.962 GB, free: 132.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/6.469, allocations: 105 kB / 2.962 GB, free: 132.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/6.47, allocations: 138.5 kB / 2.962 GB, free: 132.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006489/6.476, allocations: 1.983 MB / 2.964 GB, free: 131.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/6.476, allocations: 0 / 2.964 GB, free: 131.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/6.476, allocations: 69.67 kB / 2.964 GB, free: 131.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/6.477, allocations: 65.22 kB / 2.964 GB, free: 131 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008063/6.485, allocations: 2.48 MB / 2.967 GB, free: 129.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/6.498, allocations: 6.246 MB / 2.973 GB, free: 123.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/6.504, allocations: 1.717 MB / 2.974 GB, free: 121.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/6.505, allocations: 490.6 kB / 2.975 GB, free: 120.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002951/6.508, allocations: 0.9874 MB / 2.976 GB, free: 119.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=128): time 5.086e-06/6.508, allocations: 0 / 2.976 GB, free: 119.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=128): time 0.00836/6.516, allocations: 2.341 MB / 2.978 GB, free: 117.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/6.516, allocations: 333.4 kB / 2.978 GB, free: 117 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/6.518, allocations: 0.7309 MB / 2.979 GB, free: 116.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002796/6.518, allocations: 49.7 kB / 2.979 GB, free: 116.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/6.518, allocations: 0.5624 MB / 2.98 GB, free: 115.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/6.519, allocations: 417.9 kB / 2.98 GB, free: 115.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/6.519, allocations: 24 kB / 2.98 GB, free: 115.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001528/6.519, allocations: 406.7 kB / 2.981 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/6.522, allocations: 0.6506 MB / 2.981 GB, free: 114.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/6.524, allocations: 0.8507 MB / 2.982 GB, free: 113.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/6.527, allocations: 0.7554 MB / 2.983 GB, free: 112.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.16e-06/6.527, allocations: 4 kB / 2.983 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005933/6.533, allocations: 1.839 MB / 2.985 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002619/6.533, allocations: 1.11 MB / 2.986 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/6.533, allocations: 0 / 2.986 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/6.533, allocations: 36.84 kB / 2.986 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/6.536, allocations: 339.5 kB / 2.986 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000344/6.536, allocations: 0.5484 MB / 2.987 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/6.538, allocations: 202.7 kB / 2.987 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/6.538, allocations: 59.94 kB / 2.987 GB, free: 108.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/6.538, allocations: 4 kB / 2.987 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005524/6.544, allocations: 1.721 MB / 2.989 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/6.544, allocations: 4 kB / 2.989 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/6.544, allocations: 8.188 kB / 2.989 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/6.546, allocations: 347.5 kB / 2.989 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/6.546, allocations: 19.91 kB / 2.989 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/6.548, allocations: 183 kB / 2.989 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/6.548, allocations: 67.94 kB / 2.989 GB, free: 105.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001046/6.55, allocations: 429.3 kB / 2.99 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/6.55, allocations: 114.6 kB / 2.99 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006773/6.557, allocations: 1.99 MB / 2.992 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/6.557, allocations: 16 kB / 2.992 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/6.557, allocations: 4 kB / 2.992 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/6.557, allocations: 11.95 kB / 2.992 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009389/6.566, allocations: 3.657 MB / 2.995 GB, free: 99.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/6.566, allocations: 0 / 2.995 GB, free: 99.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/6.569, allocations: 319.6 kB / 2.995 GB, free: 99.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/6.569, allocations: 24.84 kB / 2.996 GB, free: 99.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/6.569, allocations: 43.95 kB / 2.996 GB, free: 99.15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009083/6.57, allocations: 1.292 MB / 2.997 GB, free: 97.73 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.188e-06/6.57, allocations: 8.203 kB / 2.997 GB, free: 97.72 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/6.576, allocations: 1.801 MB / 2.999 GB, free: 95.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/6.577, allocations: 427 kB / 2.999 GB, free: 95.44 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/6.577, allocations: 31.94 kB / 2.999 GB, free: 95.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/6.579, allocations: 155.7 kB / 2.999 GB, free: 95.26 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/6.579, allocations: 81.19 kB / 2.999 GB, free: 95.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/6.58, allocations: 47.97 kB / 2.999 GB, free: 95.13 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001094/6.581, allocations: 0.6044 MB / 3 GB, free: 94.53 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.2e-07/6.581, allocations: 4 kB / 3 GB, free: 94.53 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002698/6.583, allocations: 0.7398 MB / 3.001 GB, free: 93.79 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/6.586, allocations: 0.6673 MB / 3.001 GB, free: 93.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008663/6.594, allocations: 2.703 MB / 3.004 GB, free: 90.54 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.923e-06/6.594, allocations: 4.312 kB / 3.004 GB, free: 90.54 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/6.597, allocations: 0.9432 MB / 3.005 GB, free: 89.58 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/6.599, allocations: 241.6 kB / 3.005 GB, free: 89.36 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/6.606, allocations: 3.277 MB / 3.008 GB, free: 86.04 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/6.606, allocations: 1.245 MB / 3.009 GB, free: 84.76 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00408/6.611, allocations: 0.5352 MB / 3.01 GB, free: 84.22 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008665/6.611, allocations: 147.3 kB / 3.01 GB, free: 84.08 MB / 0.823 GB Notification: Performance of SimCode: time 2.08e-06/6.611, allocations: 0 / 3.01 GB, free: 84.08 MB / 0.823 GB Notification: Performance of Templates: time 0.04179/6.653, allocations: 18.55 MB / 3.028 GB, free: 65.66 MB / 0.823 GB