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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.265/4.265, allocations: 433.2 MB / 440.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.512e-05, allocations: 6.938 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 98.73 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.303/7.517, allocations: 2.218 GB / 2.847 GB, free: 117.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/7.518, allocations: 103.4 kB / 2.847 GB, free: 117.5 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.2973/7.815, allocations: 66.22 MB / 2.912 GB, free: 60.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/7.815, allocations: 0 / 2.912 GB, free: 60.89 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001151/7.815, allocations: 40 kB / 2.912 GB, free: 60.86 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.004975/7.82, allocations: 1.579 MB / 2.913 GB, free: 59.27 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/7.82, allocations: 12.03 kB / 2.913 GB, free: 59.26 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/7.831, allocations: 0.9147 MB / 2.914 GB, free: 58.34 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/7.834, allocations: 0.8261 MB / 2.915 GB, free: 57.48 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/7.834, allocations: 44 kB / 2.915 GB, free: 57.43 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/7.835, allocations: 95.89 kB / 2.915 GB, free: 57.34 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005109/7.84, allocations: 1.926 MB / 2.917 GB, free: 55.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/7.844, allocations: 1.535 MB / 2.918 GB, free: 53.81 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/7.844, allocations: 3.938 kB / 2.918 GB, free: 53.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/7.845, allocations: 3.984 kB / 2.918 GB, free: 53.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-05/7.845, allocations: 66.72 kB / 2.919 GB, free: 53.73 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/7.862, allocations: 5.991 MB / 2.924 GB, free: 47.54 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/7.865, allocations: 1.296 MB / 2.926 GB, free: 46.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/7.866, allocations: 0.6027 MB / 2.926 GB, free: 45.62 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/7.867, allocations: 494.9 kB / 2.927 GB, free: 45.05 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/7.869, allocations: 0.7865 MB / 2.927 GB, free: 44.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=128): time 4.268e-06/7.869, allocations: 0 / 2.927 GB, free: 44.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=128): time 0.01382/7.883, allocations: 2.081 MB / 2.929 GB, free: 42.14 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/7.883, allocations: 329.7 kB / 2.93 GB, free: 41.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/7.884, allocations: 0.6251 MB / 2.93 GB, free: 41.12 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/7.884, allocations: 29.7 kB / 2.93 GB, free: 41.08 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/7.885, allocations: 0.5584 MB / 2.931 GB, free: 40.51 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/7.885, allocations: 421.8 kB / 2.931 GB, free: 40.09 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/7.886, allocations: 0 / 2.931 GB, free: 40.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001437/7.886, allocations: 398.7 kB / 2.932 GB, free: 39.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/7.887, allocations: 478.5 kB / 2.932 GB, free: 39.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/7.888, allocations: 0.6588 MB / 2.933 GB, free: 38.51 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/7.903, allocations: 1.384 MB / 2.934 GB, free: 37.12 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/7.903, allocations: 4 kB / 2.934 GB, free: 37.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.02086/7.924, allocations: 2.238 MB / 2.936 GB, free: 34.87 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004247/7.924, allocations: 1.102 MB / 2.937 GB, free: 33.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/7.924, allocations: 7.938 kB / 2.938 GB, free: 33.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/7.925, allocations: 28.84 kB / 2.938 GB, free: 33.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/7.93, allocations: 347.5 kB / 2.938 GB, free: 33.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004148/7.93, allocations: 0.5406 MB / 2.938 GB, free: 32.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/7.934, allocations: 170.9 kB / 2.939 GB, free: 32.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005639/7.935, allocations: 55.95 kB / 2.939 GB, free: 32.51 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/7.935, allocations: 4 kB / 2.939 GB, free: 32.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01908/7.954, allocations: 2.1 MB / 2.941 GB, free: 30.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/7.954, allocations: 0 / 2.941 GB, free: 30.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/7.954, allocations: 12.33 kB / 2.941 GB, free: 30.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/7.959, allocations: 355.5 kB / 2.941 GB, free: 30.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/7.959, allocations: 8 kB / 2.941 GB, free: 30.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/7.962, allocations: 155 kB / 2.941 GB, free: 29.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/7.963, allocations: 59.95 kB / 2.941 GB, free: 29.82 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.0006733/7.963, allocations: 132.7 kB / 2.941 GB, free: 29.69 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01976/7.983, allocations: 2.085 MB / 2.943 GB, free: 27.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007618/7.984, allocations: 106.7 kB / 2.943 GB, free: 27.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0221/8.006, allocations: 2.434 MB / 2.946 GB, free: 25.03 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/8.006, allocations: 12 kB / 2.946 GB, free: 25.02 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/8.006, allocations: 4 kB / 2.946 GB, free: 25.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/8.006, allocations: 7.938 kB / 2.946 GB, free: 25.01 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/8.027, allocations: 4.11 MB / 2.95 GB, free: 20.83 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/8.027, allocations: 4 kB / 2.95 GB, free: 20.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/8.03, allocations: 315.6 kB / 2.95 GB, free: 20.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/8.03, allocations: 32.84 kB / 2.95 GB, free: 20.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003192/8.031, allocations: 27.92 kB / 2.95 GB, free: 20.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009332/8.032, allocations: 1.229 MB / 2.951 GB, free: 19.11 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/8.032, allocations: 0 / 2.951 GB, free: 19.11 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/8.046, allocations: 2.316 MB / 2.954 GB, free: 16.73 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/8.047, allocations: 411.2 kB / 2.954 GB, free: 16.31 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/8.047, allocations: 8 kB / 2.954 GB, free: 16.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002819/8.05, allocations: 127.8 kB / 2.954 GB, free: 16.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/8.051, allocations: 89.14 kB / 2.954 GB, free: 16.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/8.051, allocations: 55.95 kB / 2.954 GB, free: 16.03 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001032/8.052, allocations: 0.4991 MB / 2.955 GB, free: 15.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.11e-07/8.052, allocations: 0 / 2.955 GB, free: 15.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003618/8.056, allocations: 0.6926 MB / 2.956 GB, free: 14.84 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.01633/8.072, allocations: 3.602 MB / 2.959 GB, free: 11.24 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005638/8.078, allocations: 2.16 MB / 2.961 GB, free: 9.035 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/8.078, allocations: 5.375 kB / 2.961 GB, free: 9.031 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/8.08, allocations: 0.7486 MB / 2.962 GB, free: 8.273 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/8.082, allocations: 199.3 kB / 2.962 GB, free: 8.078 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/8.089, allocations: 2.18 MB / 2.964 GB, free: 5.836 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/8.09, allocations: 1.246 MB / 2.965 GB, free: 4.562 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005701/8.096, allocations: 0.6167 MB / 2.966 GB, free: 3.941 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/8.098, allocations: 0.5266 MB / 2.967 GB, free: 3.414 MB / 0.823 GB Notification: Performance of SimCode: time 1.463e-06/8.098, allocations: 0 / 2.967 GB, free: 3.414 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6953/8.793, allocations: 27.69 MB / 2.994 GB, free: 266.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/8.793, allocations: 178.9 kB / 2.994 GB, free: 266.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.037/12.83, allocations: 0 / 2.994 GB, free: 266.5 MB / 0.823 GB