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.VariableLoad.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.VariableLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.376/4.376, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.962e-05, allocations: 4.219 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2492, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8524/1.102, allocations: 152.3 MB / 0.7834 GB, free: 57.99 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/1.102, allocations: 89.72 kB / 0.7835 GB, free: 57.99 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.07807/1.18, allocations: 19.27 MB / 0.8023 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.585e-06/1.18, allocations: 1.531 kB / 0.8023 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.964e-05/1.18, allocations: 10.06 kB / 0.8023 GB, free: 56.05 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001448/1.182, allocations: 0.5943 MB / 0.8029 GB, free: 55.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.182, allocations: 9.531 kB / 0.8029 GB, free: 55.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/1.182, allocations: 70.8 kB / 0.803 GB, free: 55.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/1.183, allocations: 98.81 kB / 0.8031 GB, free: 55.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/1.184, allocations: 303.6 kB / 0.8034 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/1.184, allocations: 19.81 kB / 0.8034 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/1.184, allocations: 33.48 kB / 0.8034 GB, free: 55.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.185, allocations: 446.1 kB / 0.8038 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/1.185, allocations: 5.641 kB / 0.8039 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/1.185, allocations: 16.8 kB / 0.8039 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.134e-05/1.185, allocations: 30.11 kB / 0.8039 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008733/1.186, allocations: 320.6 kB / 0.8042 GB, free: 55.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/1.19, allocations: 2.047 MB / 0.8062 GB, free: 53.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/1.19, allocations: 184.5 kB / 0.8064 GB, free: 53.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/1.191, allocations: 138.5 kB / 0.8065 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/1.191, allocations: 5.078 kB / 0.8065 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.191, allocations: 36.47 kB / 0.8065 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.755e-06/1.191, allocations: 0 / 0.8065 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006674/1.192, allocations: 199 kB / 0.8067 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/1.192, allocations: 52.72 kB / 0.8068 GB, free: 53.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/1.192, allocations: 229.7 kB / 0.807 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/1.192, allocations: 34.58 kB / 0.807 GB, free: 53.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.192, allocations: 213.1 kB / 0.8072 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/1.192, allocations: 60.33 kB / 0.8073 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/1.192, allocations: 4.875 kB / 0.8073 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/1.192, allocations: 335.4 kB / 0.8076 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/1.193, allocations: 70.02 kB / 0.8077 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.193, allocations: 182.3 kB / 0.8079 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/1.193, allocations: 100.5 kB / 0.808 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/1.193, allocations: 0 / 0.808 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008449/1.194, allocations: 294 kB / 0.8082 GB, free: 52.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003049/1.194, allocations: 1.4 MB / 0.8096 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.194, allocations: 3.625 kB / 0.8096 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/1.195, allocations: 29.12 kB / 0.8096 GB, free: 51.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/1.195, allocations: 81.66 kB / 0.8097 GB, free: 51.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004176/1.196, allocations: 0.5516 MB / 0.8103 GB, free: 50.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/1.196, allocations: 52.02 kB / 0.8103 GB, free: 50.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/1.196, allocations: 7.812 kB / 0.8103 GB, free: 50.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.196, allocations: 8 kB / 0.8103 GB, free: 50.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005265/1.197, allocations: 229.7 kB / 0.8105 GB, free: 50.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.197, allocations: 6.203 kB / 0.8105 GB, free: 50.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/1.197, allocations: 7.906 kB / 0.8106 GB, free: 50.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/1.197, allocations: 79.91 kB / 0.8106 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.197, allocations: 5.734 kB / 0.8106 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/1.198, allocations: 37.16 kB / 0.8107 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/1.198, allocations: 15 kB / 0.8107 GB, free: 50.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.198, allocations: 131.5 kB / 0.8108 GB, free: 50.33 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/1.198, allocations: 27.44 kB / 0.8108 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/1.198, allocations: 35.42 kB / 0.8109 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.198, allocations: 0 / 0.8109 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.198, allocations: 3.938 kB / 0.8109 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.198, allocations: 5.812 kB / 0.8109 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/1.2, allocations: 0.6972 MB / 0.8116 GB, free: 49.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.2, allocations: 1.312 kB / 0.8116 GB, free: 49.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/1.2, allocations: 46.17 kB / 0.8116 GB, free: 49.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/1.2, allocations: 24.48 kB / 0.8116 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/1.2, allocations: 13.42 kB / 0.8116 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/1.201, allocations: 1.323 MB / 0.8129 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.201, allocations: 0 / 0.8129 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/1.202, allocations: 343.1 kB / 0.8133 GB, free: 48.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/1.202, allocations: 122.7 kB / 0.8134 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/1.202, allocations: 3.375 kB / 0.8134 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/1.203, allocations: 21.98 kB / 0.8134 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/1.203, allocations: 14.98 kB / 0.8134 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/1.203, allocations: 3.969 kB / 0.8134 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002486/1.203, allocations: 181 kB / 0.8136 GB, free: 48.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.203, allocations: 4 kB / 0.8136 GB, free: 48.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008038/1.204, allocations: 147.8 kB / 0.8137 GB, free: 48.18 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008302/1.205, allocations: 1.02 MB / 0.8147 GB, free: 47.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009279/1.206, allocations: 310.9 kB / 0.815 GB, free: 47.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.206, allocations: 0 / 0.815 GB, free: 47.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/1.206, allocations: 200.1 kB / 0.8152 GB, free: 47.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/1.207, allocations: 65.58 kB / 0.8153 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/1.208, allocations: 468.2 kB / 0.8157 GB, free: 46.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/1.209, allocations: 0.8114 MB / 0.8165 GB, free: 46.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005844/1.209, allocations: 80.36 kB / 0.8166 GB, free: 46.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/1.21, allocations: 83.17 kB / 0.8167 GB, free: 46.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.884e-06/1.21, allocations: 0 / 0.8167 GB, free: 46.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/1.247, allocations: 5.852 MB / 0.8224 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.247, allocations: 178.4 kB / 0.8226 GB, free: 45.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.883, allocations: 0 / 0.8226 GB, free: 45.46 MB / 0.6511 GB