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 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.Sources.Examples.PVSimple,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.261/4.261, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.529e-05/4.538e-05, allocations: 4.344 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2178, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.301/7.519, allocations: 2.219 GB / 2.853 GB, free: 83.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/7.519, allocations: 97 kB / 2.853 GB, free: 83.48 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.3038/7.823, allocations: 66.64 MB / 2.919 GB, free: 25.65 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.434e-06/7.823, allocations: 0 / 2.919 GB, free: 25.65 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001382/7.823, allocations: 39.94 kB / 2.919 GB, free: 25.61 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.005195/7.829, allocations: 1.586 MB / 2.92 GB, free: 23.96 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/7.829, allocations: 12.02 kB / 2.92 GB, free: 23.95 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006748/7.829, allocations: 207.3 kB / 2.92 GB, free: 23.73 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/7.84, allocations: 0.9225 MB / 2.921 GB, free: 22.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/7.843, allocations: 0.8222 MB / 2.922 GB, free: 21.94 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/7.843, allocations: 106.8 kB / 2.922 GB, free: 21.83 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/7.844, allocations: 144 kB / 2.922 GB, free: 21.69 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00516/7.849, allocations: 1.74 MB / 2.924 GB, free: 19.88 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/7.849, allocations: 4 kB / 2.924 GB, free: 19.88 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/7.849, allocations: 59.94 kB / 2.924 GB, free: 19.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/7.85, allocations: 70.72 kB / 2.924 GB, free: 19.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006197/7.856, allocations: 2.017 MB / 2.926 GB, free: 17.73 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/7.876, allocations: 6.244 MB / 2.932 GB, free: 11.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007534/7.884, allocations: 1.37 MB / 2.933 GB, free: 9.883 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/7.887, allocations: 0.6369 MB / 2.934 GB, free: 9.246 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/7.888, allocations: 486.5 kB / 2.935 GB, free: 8.68 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009825/7.898, allocations: 0.8392 MB / 2.935 GB, free: 7.809 MB / 0.823 GB Notification: Performance of pre-optimization done (n=128): time 6.702e-06/7.898, allocations: 0 / 2.935 GB, free: 7.809 MB / 0.823 GB Notification: Performance of matching and sorting (n=128): time 0.02155/7.92, allocations: 1.286 MB / 2.937 GB, free: 6.512 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/7.92, allocations: 325.4 kB / 2.937 GB, free: 6.117 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/7.922, allocations: 0.7233 MB / 2.938 GB, free: 5.383 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004427/7.923, allocations: 53.77 kB / 2.938 GB, free: 5.324 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/7.923, allocations: 0.5547 MB / 2.938 GB, free: 4.758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006705/7.924, allocations: 433.7 kB / 2.939 GB, free: 4.328 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/7.924, allocations: 24 kB / 2.939 GB, free: 4.305 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002168/7.924, allocations: 402.7 kB / 2.939 GB, free: 3.902 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01459/7.939, allocations: 0.4947 MB / 2.94 GB, free: 3.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/7.942, allocations: 0.691 MB / 2.94 GB, free: 2.656 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/7.945, allocations: 0.6073 MB / 2.941 GB, free: 2.039 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/7.945, allocations: 8 kB / 2.941 GB, free: 2.031 MB / 0.823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00721/7.952, allocations: 1.515 MB / 2.942 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.5761/8.528, allocations: 1.104 MB / 2.943 GB, free: 263.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/8.528, allocations: 4.812 kB / 2.943 GB, free: 263.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/8.529, allocations: 28.62 kB / 2.943 GB, free: 263.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/8.533, allocations: 348.1 kB / 2.944 GB, free: 263.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005045/8.533, allocations: 0.5409 MB / 2.944 GB, free: 263.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/8.537, allocations: 199.8 kB / 2.944 GB, free: 263.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/8.537, allocations: 60.94 kB / 2.945 GB, free: 263.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/8.537, allocations: 3.188 kB / 2.945 GB, free: 263.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004496/8.542, allocations: 1.4 MB / 2.946 GB, free: 263.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/8.542, allocations: 4.484 kB / 2.946 GB, free: 263.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/8.542, allocations: 11.28 kB / 2.946 GB, free: 263.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/8.546, allocations: 346.8 kB / 2.946 GB, free: 263.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-05/8.546, allocations: 13.08 kB / 2.946 GB, free: 263.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/8.549, allocations: 190.2 kB / 2.946 GB, free: 263.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/8.549, allocations: 57.45 kB / 2.947 GB, free: 263.3 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.0006169/8.55, allocations: 179.3 kB / 2.947 GB, free: 263.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/8.55, allocations: 117.9 kB / 2.947 GB, free: 263.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006743/8.557, allocations: 1.684 MB / 2.948 GB, free: 263.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/8.557, allocations: 13.56 kB / 2.948 GB, free: 263.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/8.557, allocations: 3.203 kB / 2.948 GB, free: 263.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/8.557, allocations: 5.812 kB / 2.948 GB, free: 263.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/8.568, allocations: 3.513 MB / 2.952 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/8.568, allocations: 0.8438 kB / 2.952 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003775/8.572, allocations: 319.2 kB / 2.952 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/8.572, allocations: 25.86 kB / 2.952 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000337/8.572, allocations: 44.31 kB / 2.952 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/8.573, allocations: 1.282 MB / 2.954 GB, free: 261.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/8.573, allocations: 1.25 kB / 2.954 GB, free: 261.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005006/8.578, allocations: 1.54 MB / 2.955 GB, free: 260.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/8.58, allocations: 424.4 kB / 2.955 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/8.581, allocations: 25.42 kB / 2.955 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/8.584, allocations: 148 kB / 2.956 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/8.584, allocations: 94.52 kB / 2.956 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/8.584, allocations: 57.78 kB / 2.956 GB, free: 260.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001556/8.586, allocations: 0.5939 MB / 2.956 GB, free: 260.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.91e-07/8.586, allocations: 0 / 2.956 GB, free: 260.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003667/8.59, allocations: 0.7463 MB / 2.957 GB, free: 260.5 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.007117/8.597, allocations: 2.883 MB / 2.96 GB, free: 259.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007221/8.604, allocations: 2.255 MB / 2.962 GB, free: 259 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/8.604, allocations: 1.375 kB / 2.962 GB, free: 259 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/8.606, allocations: 0.7984 MB / 2.963 GB, free: 258.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/8.609, allocations: 231.9 kB / 2.963 GB, free: 258.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00856/8.617, allocations: 2.293 MB / 2.965 GB, free: 258.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/8.619, allocations: 1.248 MB / 2.967 GB, free: 257.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006129/8.625, allocations: 0.631 MB / 2.967 GB, free: 257.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/8.627, allocations: 0.5223 MB / 2.968 GB, free: 257.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.943e-06/8.627, allocations: 1.156 kB / 2.968 GB, free: 257.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/8.729, allocations: 29.61 MB / 2.997 GB, free: 255.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/8.73, allocations: 230.7 kB / 2.997 GB, free: 255.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.789/12.52, allocations: 0 / 2.997 GB, free: 255.5 MB / 0.823 GB