Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadModel(Buildings): time 4.13/4.13, allocations: 432.7 MB / 445.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.956e-05, allocations: 4.656 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2111, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7457/0.9568, allocations: 152.3 MB / 0.7834 GB, free: 57.94 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000442/0.9573, allocations: 90.39 kB / 0.7835 GB, free: 57.94 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.1281/1.085, allocations: 19.27 MB / 0.8023 GB, free: 56.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.624e-06/1.086, allocations: 0 / 0.8023 GB, free: 56.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.59e-05/1.086, allocations: 8.062 kB / 0.8023 GB, free: 56.01 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.001001/1.087, allocations: 0.5937 MB / 0.8029 GB, free: 55.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.087, allocations: 8.406 kB / 0.8029 GB, free: 55.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009906/1.088, allocations: 105.9 kB / 0.803 GB, free: 55.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/1.088, allocations: 297.2 kB / 0.8033 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/1.088, allocations: 23.59 kB / 0.8033 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/1.088, allocations: 32.86 kB / 0.8034 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/1.089, allocations: 441.1 kB / 0.8038 GB, free: 55.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.089, allocations: 7.875 kB / 0.8038 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/1.089, allocations: 16.34 kB / 0.8038 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/1.089, allocations: 32.19 kB / 0.8038 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/1.09, allocations: 312 kB / 0.8041 GB, free: 55.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/1.092, allocations: 2.048 MB / 0.8061 GB, free: 53.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/1.093, allocations: 193 kB / 0.8063 GB, free: 53.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/1.093, allocations: 140.7 kB / 0.8065 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/1.093, allocations: 6.781 kB / 0.8065 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/1.093, allocations: 35.78 kB / 0.8065 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.969e-06/1.093, allocations: 0 / 0.8065 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005502/1.094, allocations: 202.3 kB / 0.8067 GB, free: 53.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/1.094, allocations: 58.14 kB / 0.8067 GB, free: 53.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/1.094, allocations: 229.2 kB / 0.807 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.094, allocations: 30.73 kB / 0.807 GB, free: 53.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/1.094, allocations: 211.2 kB / 0.8072 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/1.094, allocations: 60.97 kB / 0.8073 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/1.094, allocations: 3.5 kB / 0.8073 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/1.094, allocations: 335.1 kB / 0.8076 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/1.094, allocations: 63.02 kB / 0.8076 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/1.095, allocations: 186 kB / 0.8078 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/1.095, allocations: 101.3 kB / 0.8079 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.789e-06/1.095, allocations: 0 / 0.8079 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006402/1.096, allocations: 298 kB / 0.8082 GB, free: 52.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/1.096, allocations: 1.397 MB / 0.8096 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.33e-06/1.096, allocations: 4.375 kB / 0.8096 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/1.096, allocations: 31.36 kB / 0.8096 GB, free: 51.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/1.096, allocations: 74.56 kB / 0.8097 GB, free: 51.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003221/1.097, allocations: 0.5564 MB / 0.8102 GB, free: 50.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/1.097, allocations: 50.97 kB / 0.8103 GB, free: 50.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/1.097, allocations: 18.47 kB / 0.8103 GB, free: 50.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.243e-06/1.097, allocations: 4.469 kB / 0.8103 GB, free: 50.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004407/1.098, allocations: 229 kB / 0.8105 GB, free: 50.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.499e-06/1.098, allocations: 7.938 kB / 0.8105 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.58e-06/1.098, allocations: 3.625 kB / 0.8105 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/1.098, allocations: 73.91 kB / 0.8106 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.008e-06/1.098, allocations: 5.906 kB / 0.8106 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/1.098, allocations: 44.42 kB / 0.8106 GB, free: 50.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/1.098, allocations: 11.75 kB / 0.8106 GB, free: 50.45 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 9.651e-05/1.099, allocations: 123.8 kB / 0.8108 GB, free: 50.33 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/1.099, allocations: 23.44 kB / 0.8108 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.057e-05/1.099, allocations: 36.05 kB / 0.8108 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-06/1.099, allocations: 3.906 kB / 0.8108 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.555e-06/1.099, allocations: 3.938 kB / 0.8108 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-06/1.099, allocations: 0 / 0.8108 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/1.1, allocations: 0.7058 MB / 0.8115 GB, free: 49.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-06/1.1, allocations: 0 / 0.8115 GB, free: 49.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/1.1, allocations: 47.95 kB / 0.8116 GB, free: 49.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/1.1, allocations: 33.28 kB / 0.8116 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.1, allocations: 7.469 kB / 0.8116 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009437/1.101, allocations: 1.327 MB / 0.8129 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.489e-06/1.101, allocations: 3.906 kB / 0.8129 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/1.102, allocations: 338 kB / 0.8132 GB, free: 48.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/1.102, allocations: 113.8 kB / 0.8133 GB, free: 48.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/1.102, allocations: 7.844 kB / 0.8133 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/1.102, allocations: 21.67 kB / 0.8134 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/1.102, allocations: 25.84 kB / 0.8134 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.103, allocations: 11.91 kB / 0.8134 GB, free: 48.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001901/1.103, allocations: 180.6 kB / 0.8136 GB, free: 48.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.14e-07/1.103, allocations: 0 / 0.8136 GB, free: 48.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007764/1.104, allocations: 140.2 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.0001223/1.104, allocations: 102.3 kB / 0.8138 GB, free: 48.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006842/1.104, allocations: 317.9 kB / 0.8141 GB, free: 48.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.104, allocations: 0 / 0.8141 GB, free: 48.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/1.105, allocations: 197.9 kB / 0.8143 GB, free: 47.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/1.105, allocations: 61.91 kB / 0.8143 GB, free: 47.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/1.106, allocations: 378.9 kB / 0.8147 GB, free: 47.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/1.106, allocations: 0.8107 MB / 0.8155 GB, free: 47.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003633/1.107, allocations: 84.98 kB / 0.8156 GB, free: 47.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/1.107, allocations: 19.25 kB / 0.8156 GB, free: 47.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.652e-06/1.107, allocations: 0 / 0.8156 GB, free: 47.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.008986/1.116, allocations: 3.301 MB / 0.8188 GB, free: 46.82 MB / 0.6511 GB