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.VoltageSource.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.VoltageSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.358/4.358, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.384e-05, allocations: 3.25 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2182, allocations: 98.74 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9167/1.135, allocations: 151.6 MB / 0.7828 GB, free: 57.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.135, allocations: 89.17 kB / 0.7829 GB, free: 57.84 MB / 0.6511 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.0491/1.184, allocations: 11.64 MB / 0.7942 GB, free: 56.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.854e-06/1.185, allocations: 1.844 kB / 0.7942 GB, free: 56.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.445e-05/1.185, allocations: 7 kB / 0.7943 GB, free: 56.54 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000965/1.186, allocations: 0.4903 MB / 0.7947 GB, free: 56.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.186, allocations: 11.2 kB / 0.7947 GB, free: 56.12 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.079e-05/1.186, allocations: 54.72 kB / 0.7948 GB, free: 56.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/1.187, allocations: 85.48 kB / 0.7949 GB, free: 56.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/1.187, allocations: 244.7 kB / 0.7951 GB, free: 55.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.187, allocations: 17.56 kB / 0.7951 GB, free: 55.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/1.187, allocations: 21.69 kB / 0.7951 GB, free: 55.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/1.188, allocations: 300.8 kB / 0.7954 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.188, allocations: 0 / 0.7954 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/1.188, allocations: 8.531 kB / 0.7954 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/1.188, allocations: 16.42 kB / 0.7955 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/1.189, allocations: 203.8 kB / 0.7957 GB, free: 55.74 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/1.191, allocations: 1.487 MB / 0.7971 GB, free: 54.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/1.192, allocations: 194.9 kB / 0.7973 GB, free: 54.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.192, allocations: 36.8 kB / 0.7973 GB, free: 54.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/1.192, allocations: 0 / 0.7973 GB, free: 54.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/1.192, allocations: 38.25 kB / 0.7974 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/1.192, allocations: 0 / 0.7974 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.000441/1.192, allocations: 128.2 kB / 0.7975 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/1.192, allocations: 52.91 kB / 0.7975 GB, free: 54.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/1.193, allocations: 186.6 kB / 0.7977 GB, free: 54.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/1.193, allocations: 27.8 kB / 0.7977 GB, free: 54.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.193, allocations: 171.1 kB / 0.7979 GB, free: 53.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/1.193, allocations: 35.91 kB / 0.7979 GB, free: 53.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/1.193, allocations: 4 kB / 0.7979 GB, free: 53.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/1.193, allocations: 324.2 kB / 0.7982 GB, free: 53.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/1.193, allocations: 37.7 kB / 0.7983 GB, free: 53.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/1.193, allocations: 102 kB / 0.7984 GB, free: 53.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.194, allocations: 58.38 kB / 0.7984 GB, free: 53.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.194, allocations: 1 kB / 0.7984 GB, free: 53.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004991/1.194, allocations: 199.7 kB / 0.7986 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.194, allocations: 6.188 kB / 0.7986 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.194, allocations: 1.688 kB / 0.7986 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/1.194, allocations: 31.95 kB / 0.7987 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/1.195, allocations: 36.2 kB / 0.7987 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/1.196, allocations: 1.32 MB / 0.8 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/1.196, allocations: 26.53 kB / 0.8 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/1.196, allocations: 9.344 kB / 0.8 GB, free: 52.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/1.196, allocations: 112.8 kB / 0.8001 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/1.196, allocations: 19.02 kB / 0.8002 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/1.196, allocations: 19.33 kB / 0.8002 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.196, allocations: 5.188 kB / 0.8002 GB, free: 52.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.196, allocations: 5.188 kB / 0.8002 GB, free: 52.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.196, allocations: 2.578 kB / 0.8002 GB, free: 52.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/1.197, allocations: 459.5 kB / 0.8006 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.197, allocations: 3.609 kB / 0.8006 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.197, allocations: 9.438 kB / 0.8006 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/1.198, allocations: 23.67 kB / 0.8007 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.198, allocations: 3.688 kB / 0.8007 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/1.199, allocations: 1.311 MB / 0.8019 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.199, allocations: 4.156 kB / 0.8019 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/1.199, allocations: 221 kB / 0.8022 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.199, allocations: 103.9 kB / 0.8023 GB, free: 50.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/1.199, allocations: 1.406 kB / 0.8023 GB, free: 50.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/1.199, allocations: 5.531 kB / 0.8023 GB, free: 50.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/1.199, allocations: 14.91 kB / 0.8023 GB, free: 50.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/1.199, allocations: 6.875 kB / 0.8023 GB, free: 50.19 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000187/1.2, allocations: 144 kB / 0.8024 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.2, allocations: 5.562 kB / 0.8024 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005042/1.2, allocations: 54.53 kB / 0.8025 GB, free: 50.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005783/1.201, allocations: 0.757 MB / 0.8032 GB, free: 49.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006018/1.201, allocations: 216.4 kB / 0.8034 GB, free: 49.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.201, allocations: 0 / 0.8034 GB, free: 49.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/1.202, allocations: 153 kB / 0.8036 GB, free: 49.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/1.202, allocations: 37 kB / 0.8036 GB, free: 49.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/1.203, allocations: 299.5 kB / 0.8039 GB, free: 49.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.203, allocations: 0.761 MB / 0.8046 GB, free: 48.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001957/1.204, allocations: 25.23 kB / 0.8047 GB, free: 48.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.204, allocations: 57.27 kB / 0.8047 GB, free: 48.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/1.204, allocations: 7.938 kB / 0.8047 GB, free: 48.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/1.236, allocations: 3.575 MB / 0.8082 GB, free: 47.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.237, allocations: 179.6 kB / 0.8084 GB, free: 47.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.813, allocations: 3.938 kB / 0.8084 GB, free: 47.69 MB / 0.6511 GB