Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.317/4.317, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.424e-05, allocations: 3.094 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8955/1.116, allocations: 152.6 MB / 0.7837 GB, free: 57.95 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/1.117, allocations: 90.72 kB / 0.7838 GB, free: 57.95 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.07271/1.189, allocations: 17.71 MB / 0.8011 GB, free: 56.06 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.863e-06/1.189, allocations: 0 / 0.8011 GB, free: 56.06 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.915e-05/1.189, allocations: 7.781 kB / 0.8011 GB, free: 56.06 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001448/1.191, allocations: 0.6083 MB / 0.8017 GB, free: 55.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.191, allocations: 8.625 kB / 0.8017 GB, free: 55.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/1.191, allocations: 78.31 kB / 0.8018 GB, free: 55.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/1.192, allocations: 116.6 kB / 0.8019 GB, free: 55.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/1.193, allocations: 325.8 kB / 0.8022 GB, free: 55.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/1.193, allocations: 54.55 kB / 0.8022 GB, free: 55.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/1.193, allocations: 37.16 kB / 0.8023 GB, free: 55.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/1.194, allocations: 477.5 kB / 0.8027 GB, free: 55.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/1.195, allocations: 0 / 0.8027 GB, free: 55.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/1.195, allocations: 19.55 kB / 0.8027 GB, free: 55.19 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.415e-05/1.195, allocations: 35.58 kB / 0.8028 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/1.196, allocations: 342.6 kB / 0.8031 GB, free: 55.17 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/1.199, allocations: 2.223 MB / 0.8053 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.2, allocations: 248.8 kB / 0.8055 GB, free: 53.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/1.201, allocations: 135.5 kB / 0.8056 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/1.201, allocations: 6.906 kB / 0.8056 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.201, allocations: 43.83 kB / 0.8057 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.305e-06/1.201, allocations: 0 / 0.8057 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001009/1.202, allocations: 255.5 kB / 0.8059 GB, free: 53.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/1.202, allocations: 58.06 kB / 0.806 GB, free: 53.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/1.202, allocations: 205.5 kB / 0.8062 GB, free: 53.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/1.202, allocations: 39.05 kB / 0.8062 GB, free: 53.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/1.202, allocations: 210.1 kB / 0.8064 GB, free: 53.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/1.202, allocations: 69.55 kB / 0.8065 GB, free: 53.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/1.202, allocations: 3.812 kB / 0.8065 GB, free: 53.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.238e-05/1.203, allocations: 329 kB / 0.8068 GB, free: 52.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/1.203, allocations: 79.31 kB / 0.8069 GB, free: 52.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/1.203, allocations: 159 kB / 0.807 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/1.203, allocations: 100.8 kB / 0.8071 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.203, allocations: 0 / 0.8071 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001085/1.204, allocations: 344.1 kB / 0.8075 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/1.205, allocations: 0.9583 MB / 0.8084 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.205, allocations: 5.438 kB / 0.8084 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/1.205, allocations: 109.5 kB / 0.8085 GB, free: 51.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/1.206, allocations: 57.94 kB / 0.8086 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/1.209, allocations: 2.032 MB / 0.8105 GB, free: 49.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/1.209, allocations: 34.73 kB / 0.8106 GB, free: 49.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/1.209, allocations: 13.94 kB / 0.8106 GB, free: 49.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.209, allocations: 2.5 kB / 0.8106 GB, free: 49.65 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008619/1.21, allocations: 272.2 kB / 0.8108 GB, free: 49.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.21, allocations: 3.906 kB / 0.8108 GB, free: 49.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/1.211, allocations: 80.69 kB / 0.8109 GB, free: 49.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/1.211, allocations: 54.72 kB / 0.811 GB, free: 49.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/1.213, allocations: 1.474 MB / 0.8124 GB, free: 48.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/1.214, allocations: 40.14 kB / 0.8125 GB, free: 48.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/1.214, allocations: 7.875 kB / 0.8125 GB, free: 48.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.214, allocations: 116.4 kB / 0.8126 GB, free: 48.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/1.214, allocations: 27.38 kB / 0.8126 GB, free: 48.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/1.214, allocations: 29.42 kB / 0.8126 GB, free: 48.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.214, allocations: 3.906 kB / 0.8126 GB, free: 48.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.214, allocations: 0 / 0.8126 GB, free: 48.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.214, allocations: 4 kB / 0.8126 GB, free: 48.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/1.216, allocations: 0.8026 MB / 0.8134 GB, free: 47.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/1.216, allocations: 64 / 0.8134 GB, free: 47.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/1.216, allocations: 37 kB / 0.8135 GB, free: 47.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005726/1.217, allocations: 109.8 kB / 0.8136 GB, free: 47.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/1.217, allocations: 7.344 kB / 0.8136 GB, free: 47.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/1.22, allocations: 2.787 MB / 0.8163 GB, free: 45.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.22, allocations: 0 / 0.8163 GB, free: 45.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/1.221, allocations: 401.5 kB / 0.8167 GB, free: 44.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/1.222, allocations: 121.1 kB / 0.8168 GB, free: 44.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/1.222, allocations: 11.94 kB / 0.8168 GB, free: 44.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/1.222, allocations: 15.5 kB / 0.8168 GB, free: 44.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.222, allocations: 22.48 kB / 0.8168 GB, free: 44.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/1.222, allocations: 3.906 kB / 0.8168 GB, free: 44.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000214/1.222, allocations: 159.9 kB / 0.817 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.884e-06/1.222, allocations: 0 / 0.817 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008757/1.223, allocations: 171.4 kB / 0.8172 GB, free: 44.74 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/1.224, allocations: 1.081 MB / 0.8182 GB, free: 43.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002517/1.227, allocations: 0.6067 MB / 0.8188 GB, free: 43.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.227, allocations: 0.9375 kB / 0.8188 GB, free: 43.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.228, allocations: 352.5 kB / 0.8191 GB, free: 43.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/1.229, allocations: 49.97 kB / 0.8192 GB, free: 43.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.23, allocations: 0.4888 MB / 0.8197 GB, free: 43.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/1.231, allocations: 0.8199 MB / 0.8205 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004094/1.231, allocations: 70.45 kB / 0.8205 GB, free: 42.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/1.231, allocations: 89.28 kB / 0.8206 GB, free: 42.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.231, allocations: 0 / 0.8206 GB, free: 42.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/1.266, allocations: 6.667 MB / 0.8271 GB, free: 41.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/1.266, allocations: 183.9 kB / 0.8273 GB, free: 41.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.014, allocations: 3.938 kB / 0.8273 GB, free: 41.62 MB / 0.6511 GB