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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.178/4.178, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.084e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4987, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.463/5.962, allocations: 2.218 GB / 2.847 GB, free: 100.6 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/5.962, allocations: 99 kB / 2.847 GB, free: 100.5 MB / 0.8073 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.2216/6.184, allocations: 66.46 MB / 2.912 GB, free: 33.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.451e-06/6.184, allocations: 0 / 2.912 GB, free: 33.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.751e-05/6.184, allocations: 43.94 kB / 2.912 GB, free: 33.7 MB / 0.8073 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.003331/6.187, allocations: 1.571 MB / 2.913 GB, free: 32.06 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/6.187, allocations: 16.02 kB / 2.913 GB, free: 32.05 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007626/6.195, allocations: 0.9186 MB / 2.914 GB, free: 31.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/6.197, allocations: 0.8222 MB / 2.915 GB, free: 30.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/6.197, allocations: 48 kB / 2.915 GB, free: 30.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/6.197, allocations: 83.95 kB / 2.915 GB, free: 30.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004449/6.202, allocations: 1.922 MB / 2.917 GB, free: 28.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/6.206, allocations: 1.547 MB / 2.919 GB, free: 26.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/6.206, allocations: 3.938 kB / 2.919 GB, free: 26.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/6.206, allocations: 4 kB / 2.919 GB, free: 26.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-05/6.206, allocations: 66.72 kB / 2.919 GB, free: 26.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/6.219, allocations: 5.991 MB / 2.925 GB, free: 20.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/6.222, allocations: 1.298 MB / 2.926 GB, free: 19.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/6.224, allocations: 0.6001 MB / 2.926 GB, free: 18.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006854/6.224, allocations: 498.7 kB / 2.927 GB, free: 17.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/6.226, allocations: 0.7904 MB / 2.928 GB, free: 17.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=128): time 5.822e-06/6.226, allocations: 0 / 2.928 GB, free: 17.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=128): time 0.01034/6.236, allocations: 2.085 MB / 2.93 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/6.237, allocations: 325.8 kB / 2.93 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/6.238, allocations: 0.6212 MB / 2.931 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/6.238, allocations: 25.7 kB / 2.931 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/6.238, allocations: 0.5663 MB / 2.931 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/6.239, allocations: 409.7 kB / 2.932 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/6.239, allocations: 0 / 2.932 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001459/6.239, allocations: 402.7 kB / 2.932 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/6.24, allocations: 482.5 kB / 2.932 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/6.241, allocations: 0.657 MB / 2.933 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007951/6.249, allocations: 1.384 MB / 2.934 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/6.249, allocations: 4 kB / 2.934 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.01029/6.26, allocations: 2.234 MB / 2.937 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002606/6.26, allocations: 1.102 MB / 2.938 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/6.26, allocations: 4 kB / 2.938 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/6.26, allocations: 28.84 kB / 2.938 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/6.263, allocations: 347.5 kB / 2.938 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003546/6.263, allocations: 0.5368 MB / 2.939 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/6.265, allocations: 166.9 kB / 2.939 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/6.265, allocations: 63.94 kB / 2.939 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/6.265, allocations: 4 kB / 2.939 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/6.276, allocations: 2.096 MB / 2.941 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/6.276, allocations: 4 kB / 2.941 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/6.276, allocations: 12.33 kB / 2.941 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/6.278, allocations: 347.5 kB / 2.941 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/6.278, allocations: 8 kB / 2.941 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/6.28, allocations: 159 kB / 2.941 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/6.281, allocations: 59.95 kB / 2.941 GB, free: 2.617 MB / 0.8073 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.0004309/6.281, allocations: 124.7 kB / 2.942 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/6.281, allocations: 114.6 kB / 2.942 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4702/6.752, allocations: 2.443 MB / 2.944 GB, free: 260.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/6.752, allocations: 17.38 kB / 2.944 GB, free: 260.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/6.752, allocations: 1.125 kB / 2.944 GB, free: 260.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/6.752, allocations: 6.828 kB / 2.944 GB, free: 260.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/6.767, allocations: 4.09 MB / 2.948 GB, free: 259.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/6.767, allocations: 6.719 kB / 2.948 GB, free: 259.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/6.769, allocations: 320.8 kB / 2.948 GB, free: 259.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/6.77, allocations: 24.42 kB / 2.948 GB, free: 259.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/6.77, allocations: 31.78 kB / 2.948 GB, free: 259.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008748/6.771, allocations: 1.225 MB / 2.95 GB, free: 258.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.244e-06/6.771, allocations: 1.688 kB / 2.95 GB, free: 258.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/6.782, allocations: 2.318 MB / 2.952 GB, free: 258.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009578/6.783, allocations: 419.8 kB / 2.952 GB, free: 258.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/6.784, allocations: 6.812 kB / 2.952 GB, free: 258.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/6.785, allocations: 121.6 kB / 2.952 GB, free: 258.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/6.786, allocations: 90.73 kB / 2.953 GB, free: 258.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/6.786, allocations: 55.97 kB / 2.953 GB, free: 258.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009435/6.787, allocations: 0.5028 MB / 2.953 GB, free: 258.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.18e-07/6.787, allocations: 0 / 2.953 GB, free: 258.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002959/6.79, allocations: 0.6899 MB / 2.954 GB, free: 258 MB / 0.8073 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.001955/6.792, allocations: 0.5643 MB / 2.954 GB, free: 257.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005079/6.797, allocations: 2.165 MB / 2.956 GB, free: 257.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/6.797, allocations: 2.672 kB / 2.956 GB, free: 257.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/6.799, allocations: 0.7584 MB / 2.957 GB, free: 257.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/6.8, allocations: 212.4 kB / 2.957 GB, free: 257.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/6.805, allocations: 1.899 MB / 2.959 GB, free: 257 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008798/6.806, allocations: 1.243 MB / 2.96 GB, free: 256.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0047/6.811, allocations: 0.6137 MB / 2.961 GB, free: 256.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007653/6.812, allocations: 123.4 kB / 2.961 GB, free: 256.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.896e-06/6.812, allocations: 3.828 kB / 2.961 GB, free: 256.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.04314/6.855, allocations: 18.64 MB / 2.979 GB, free: 255.1 MB / 0.8073 GB