Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.421/4.421, allocations: 432.7 MB / 445.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.672e-05, allocations: 3.781 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.641/5.816, allocations: 2.219 GB / 2.853 GB, free: 146 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/5.816, allocations: 99.94 kB / 2.853 GB, free: 145.9 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.2557/6.072, allocations: 67.71 MB / 2.92 GB, free: 77.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.311e-06/6.072, allocations: 0 / 2.92 GB, free: 77.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001205/6.072, allocations: 32 kB / 2.92 GB, free: 77.87 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.004182/6.076, allocations: 1.582 MB / 2.921 GB, free: 76.22 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/6.076, allocations: 12.03 kB / 2.921 GB, free: 76.21 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007647/6.084, allocations: 0.9225 MB / 2.922 GB, free: 75.28 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/6.086, allocations: 0.826 MB / 2.923 GB, free: 74.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/6.086, allocations: 106.8 kB / 2.923 GB, free: 74.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/6.087, allocations: 140 kB / 2.923 GB, free: 74.17 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/6.091, allocations: 1.74 MB / 2.925 GB, free: 72.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/6.091, allocations: 7.938 kB / 2.925 GB, free: 72.35 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/6.091, allocations: 56 kB / 2.925 GB, free: 72.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.742e-05/6.091, allocations: 70.66 kB / 2.925 GB, free: 72.23 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004775/6.096, allocations: 2.013 MB / 2.927 GB, free: 70.21 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/6.11, allocations: 6.247 MB / 2.933 GB, free: 63.74 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/6.113, allocations: 1.364 MB / 2.934 GB, free: 62.36 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/6.115, allocations: 0.6358 MB / 2.935 GB, free: 61.73 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006878/6.115, allocations: 494.6 kB / 2.935 GB, free: 61.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/6.117, allocations: 0.8314 MB / 2.936 GB, free: 60.29 MB / 0.823 GB Notification: Performance of pre-optimization done (n=128): time 5.439e-06/6.117, allocations: 0 / 2.936 GB, free: 60.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=128): time 0.003214/6.12, allocations: 1.294 MB / 2.937 GB, free: 58.99 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/6.12, allocations: 333.4 kB / 2.938 GB, free: 58.59 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/6.122, allocations: 0.7233 MB / 2.939 GB, free: 57.85 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/6.122, allocations: 49.7 kB / 2.939 GB, free: 57.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/6.122, allocations: 0.5547 MB / 2.939 GB, free: 57.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/6.123, allocations: 429.7 kB / 2.94 GB, free: 56.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/6.123, allocations: 24 kB / 2.94 GB, free: 56.78 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000165/6.123, allocations: 406.7 kB / 2.94 GB, free: 56.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/6.124, allocations: 0.4947 MB / 2.94 GB, free: 55.88 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/6.125, allocations: 0.689 MB / 2.941 GB, free: 55.13 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/6.127, allocations: 0.6073 MB / 2.942 GB, free: 54.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.97e-06/6.127, allocations: 4 kB / 2.942 GB, free: 54.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003419/6.13, allocations: 1.527 MB / 2.943 GB, free: 52.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/6.13, allocations: 1.102 MB / 2.944 GB, free: 51.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/6.13, allocations: 3.938 kB / 2.944 GB, free: 51.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/6.131, allocations: 32.84 kB / 2.944 GB, free: 51.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/6.133, allocations: 347.5 kB / 2.945 GB, free: 51.39 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003387/6.133, allocations: 0.5367 MB / 2.945 GB, free: 50.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/6.135, allocations: 202.8 kB / 2.945 GB, free: 50.63 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/6.136, allocations: 59.95 kB / 2.945 GB, free: 50.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/6.136, allocations: 4 kB / 2.945 GB, free: 50.57 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003139/6.139, allocations: 1.401 MB / 2.947 GB, free: 49.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.98e-06/6.139, allocations: 0 / 2.947 GB, free: 49.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/6.139, allocations: 8 kB / 2.947 GB, free: 49.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/6.141, allocations: 355.8 kB / 2.947 GB, free: 48.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/6.141, allocations: 11.98 kB / 2.947 GB, free: 48.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/6.143, allocations: 182.9 kB / 2.947 GB, free: 48.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/6.143, allocations: 63.94 kB / 2.947 GB, free: 48.54 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 () * 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.000417/6.144, allocations: 176.7 kB / 2.948 GB, free: 48.36 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/6.144, allocations: 118.6 kB / 2.948 GB, free: 48.25 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/6.149, allocations: 1.689 MB / 2.949 GB, free: 46.54 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/6.149, allocations: 12 kB / 2.949 GB, free: 46.53 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.801e-06/6.149, allocations: 4 kB / 2.949 GB, free: 46.53 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/6.149, allocations: 7.969 kB / 2.949 GB, free: 46.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/6.155, allocations: 3.52 MB / 2.953 GB, free: 42.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.628e-06/6.155, allocations: 0 / 2.953 GB, free: 42.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/6.158, allocations: 311.7 kB / 2.953 GB, free: 42.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/6.158, allocations: 32.84 kB / 2.953 GB, free: 42.58 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/6.158, allocations: 39.97 kB / 2.953 GB, free: 42.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008672/6.159, allocations: 1.288 MB / 2.954 GB, free: 41.12 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.202e-06/6.159, allocations: 0 / 2.954 GB, free: 41.12 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/6.162, allocations: 1.535 MB / 2.956 GB, free: 39.52 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000938/6.163, allocations: 423 kB / 2.956 GB, free: 39.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/6.164, allocations: 28 kB / 2.956 GB, free: 39.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/6.165, allocations: 139.9 kB / 2.956 GB, free: 38.92 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/6.165, allocations: 97.14 kB / 2.957 GB, free: 38.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/6.166, allocations: 55.95 kB / 2.957 GB, free: 38.77 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009836/6.167, allocations: 0.5929 MB / 2.957 GB, free: 38.18 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.28e-07/6.167, allocations: 0 / 2.957 GB, free: 38.18 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002445/6.169, allocations: 0.7514 MB / 2.958 GB, free: 37.43 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.001984/6.171, allocations: 0.6291 MB / 2.959 GB, free: 36.93 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004701/6.176, allocations: 2.258 MB / 2.961 GB, free: 34.62 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.77e-06/6.176, allocations: 0 / 2.961 GB, free: 34.62 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/6.178, allocations: 0.7922 MB / 2.961 GB, free: 33.82 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/6.179, allocations: 235.8 kB / 2.962 GB, free: 33.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/6.184, allocations: 1.977 MB / 2.964 GB, free: 31.57 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/6.184, allocations: 1.242 MB / 2.965 GB, free: 30.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004407/6.189, allocations: 0.625 MB / 2.965 GB, free: 29.67 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007688/6.19, allocations: 127.3 kB / 2.966 GB, free: 29.55 MB / 0.823 GB Notification: Performance of SimCode: time 2.051e-06/6.19, allocations: 0 / 2.966 GB, free: 29.55 MB / 0.823 GB Notification: Performance of Templates: time 0.05399/6.244, allocations: 19.84 MB / 2.985 GB, free: 9.82 MB / 0.823 GB