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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.966/3.966, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.925e-05, allocations: 4 kB / 0.5325 GB, free: 1.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.523, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2303/0.7533, allocations: 151.6 MB / 0.777 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.7537, allocations: 91.94 kB / 0.7771 GB, free: 7.824 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.06829/0.822, allocations: 19.19 MB / 0.7958 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.898e-06/0.822, allocations: 3.938 kB / 0.7958 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.589e-05/0.8221, allocations: 8 kB / 0.7958 GB, free: 4.375 MB / 0.6667 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.001147/0.8232, allocations: 0.5884 MB / 0.7964 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8233, allocations: 12.02 kB / 0.7964 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.8243, allocations: 99.44 kB / 0.7965 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.8248, allocations: 306 kB / 0.7968 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.8248, allocations: 8 kB / 0.7968 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.8249, allocations: 16 kB / 0.7968 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006708/0.8256, allocations: 281.5 kB / 0.7971 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.8264, allocations: 406 kB / 0.7975 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.8264, allocations: 0 / 0.7975 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.8265, allocations: 0 / 0.7975 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/0.8266, allocations: 36.72 kB / 0.7975 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.8295, allocations: 1.982 MB / 0.7994 GB, free: 364 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.8301, allocations: 178.8 kB / 0.7996 GB, free: 176 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.8304, allocations: 128.8 kB / 0.7997 GB, free: 44 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.8305, allocations: 8 kB / 0.7997 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4733/1.304, allocations: 34.56 kB / 0.7998 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 6.204e-06/1.304, allocations: 0 / 0.7998 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0007105/1.305, allocations: 177.3 kB / 0.7999 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/1.305, allocations: 53.88 kB / 0.8 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/1.305, allocations: 198.2 kB / 0.8002 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.305, allocations: 26.2 kB / 0.8002 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.305, allocations: 215.1 kB / 0.8004 GB, free: 158.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/1.305, allocations: 63.39 kB / 0.8005 GB, free: 158.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/1.305, allocations: 0 / 0.8005 GB, free: 158.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/1.305, allocations: 337 kB / 0.8008 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.306, allocations: 58.94 kB / 0.8008 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/1.306, allocations: 175.4 kB / 0.801 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/1.306, allocations: 85.06 kB / 0.8011 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.154e-06/1.306, allocations: 1.188 kB / 0.8011 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007565/1.307, allocations: 279.6 kB / 0.8014 GB, free: 157.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/1.307, allocations: 1.392 MB / 0.8027 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.307, allocations: 13.61 kB / 0.8027 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/1.307, allocations: 26.7 kB / 0.8028 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/1.308, allocations: 73.33 kB / 0.8028 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003643/1.308, allocations: 0.5533 MB / 0.8034 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/1.309, allocations: 39.55 kB / 0.8034 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/1.309, allocations: 14.59 kB / 0.8034 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.309, allocations: 3.719 kB / 0.8034 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000524/1.309, allocations: 191 kB / 0.8036 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.309, allocations: 4.688 kB / 0.8036 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.309, allocations: 8.953 kB / 0.8036 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/1.31, allocations: 72.64 kB / 0.8037 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/1.31, allocations: 12.86 kB / 0.8037 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/1.31, allocations: 40.14 kB / 0.8037 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/1.31, allocations: 10.95 kB / 0.8038 GB, free: 155.6 MB / 0.6667 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.0001115/1.31, allocations: 118.3 kB / 0.8039 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/1.31, allocations: 27.25 kB / 0.8039 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.151e-05/1.31, allocations: 25.2 kB / 0.8039 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.653e-06/1.31, allocations: 4.656 kB / 0.8039 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.344e-06/1.31, allocations: 4.453 kB / 0.8039 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.253e-06/1.31, allocations: 1.25 kB / 0.8039 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.312, allocations: 0.6253 MB / 0.8045 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.266e-06/1.312, allocations: 1.562 kB / 0.8045 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/1.312, allocations: 45.91 kB / 0.8046 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/1.312, allocations: 32.58 kB / 0.8046 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/1.312, allocations: 2.641 kB / 0.8046 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009823/1.313, allocations: 1.263 MB / 0.8058 GB, free: 154 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.504e-06/1.313, allocations: 1.438 kB / 0.8058 GB, free: 154 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/1.314, allocations: 329 kB / 0.8062 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/1.314, allocations: 116.7 kB / 0.8063 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/1.314, allocations: 2.062 kB / 0.8063 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/1.314, allocations: 20.39 kB / 0.8063 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/1.314, allocations: 12.05 kB / 0.8063 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/1.314, allocations: 10.36 kB / 0.8063 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001578/1.314, allocations: 150.2 kB / 0.8065 GB, free: 153.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.59e-07/1.315, allocations: 0 / 0.8065 GB, free: 153.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008275/1.315, allocations: 133.6 kB / 0.8066 GB, free: 153.6 MB / 0.6667 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.0001278/1.315, allocations: 108.3 kB / 0.8067 GB, free: 153.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007666/1.316, allocations: 287.2 kB / 0.807 GB, free: 153.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.835e-06/1.316, allocations: 0.5625 kB / 0.807 GB, free: 153.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/1.317, allocations: 186.2 kB / 0.8071 GB, free: 153.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/1.317, allocations: 52.3 kB / 0.8072 GB, free: 153.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/1.318, allocations: 369.5 kB / 0.8075 GB, free: 153.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.318, allocations: 0.8053 MB / 0.8083 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003943/1.319, allocations: 78.59 kB / 0.8084 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/1.319, allocations: 22.66 kB / 0.8084 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.915e-06/1.319, allocations: 1.125 kB / 0.8084 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.01111/1.33, allocations: 2.988 MB / 0.8113 GB, free: 152.3 MB / 0.6667 GB