Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.233/2.233, allocations: 253.2 MB / 260.6 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 185.4 kB / 319.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 88.95 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.953e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9333/1.163, allocations: 159.6 MB / 1.044 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.164, allocations: 86.42 kB / 1.045 GB, free: 11.89 MB / 0.6667 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.07439/1.238, allocations: 19.27 MB / 1.063 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/1.238, allocations: 7.938 kB / 1.063 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.105e-05/1.238, allocations: 15.92 kB / 1.063 GB, free: 12.17 MB / 0.6823 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.001451/1.24, allocations: 0.5824 MB / 1.064 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.24, allocations: 12.02 kB / 1.064 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.241, allocations: 99.75 kB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/1.241, allocations: 294.1 kB / 1.064 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/1.241, allocations: 8 kB / 1.064 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/1.241, allocations: 16 kB / 1.064 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007536/1.242, allocations: 280.5 kB / 1.065 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/1.243, allocations: 407 kB / 1.065 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.243, allocations: 0 / 1.065 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/1.243, allocations: 0 / 1.065 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.625e-05/1.243, allocations: 39.95 kB / 1.065 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/1.247, allocations: 1.982 MB / 1.067 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/1.247, allocations: 186.4 kB / 1.067 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/1.248, allocations: 128.6 kB / 1.067 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/1.248, allocations: 3.984 kB / 1.067 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.248, allocations: 42.06 kB / 1.067 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 4.999e-06/1.248, allocations: 0 / 1.067 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006349/1.249, allocations: 185.2 kB / 1.068 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/1.249, allocations: 51.41 kB / 1.068 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/1.249, allocations: 196.7 kB / 1.068 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/1.249, allocations: 25.7 kB / 1.068 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/1.249, allocations: 214.5 kB / 1.068 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/1.249, allocations: 61.86 kB / 1.068 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/1.249, allocations: 4 kB / 1.068 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.25, allocations: 335.4 kB / 1.068 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/1.25, allocations: 59.61 kB / 1.068 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.25, allocations: 174 kB / 1.069 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/1.25, allocations: 93.33 kB / 1.069 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.25, allocations: 0 / 1.069 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007689/1.251, allocations: 274.2 kB / 1.069 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006771/1.252, allocations: 1.39 MB / 1.07 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.252, allocations: 4 kB / 1.07 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/1.252, allocations: 28.28 kB / 1.07 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/1.253, allocations: 79.33 kB / 1.07 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005236/1.253, allocations: 0.5462 MB / 1.071 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/1.254, allocations: 39.81 kB / 1.071 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/1.254, allocations: 15.25 kB / 1.071 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.254, allocations: 4 kB / 1.071 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005195/1.254, allocations: 191.8 kB / 1.071 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.254, allocations: 8.094 kB / 1.071 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/1.254, allocations: 4 kB / 1.071 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/1.255, allocations: 83.27 kB / 1.071 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.255, allocations: 4 kB / 1.071 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/1.255, allocations: 31.81 kB / 1.071 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/1.255, allocations: 19.44 kB / 1.071 GB, free: 4.273 MB / 0.6823 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.0001448/1.255, allocations: 121.3 kB / 1.071 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/1.256, allocations: 23.72 kB / 1.071 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.004e-05/1.256, allocations: 27.45 kB / 1.072 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.256, allocations: 4 kB / 1.072 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.256, allocations: 4 kB / 1.072 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.256, allocations: 0 / 1.072 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.257, allocations: 0.6319 MB / 1.072 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.257, allocations: 4 kB / 1.072 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/1.258, allocations: 51.34 kB / 1.072 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/1.258, allocations: 27.78 kB / 1.072 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/1.258, allocations: 0 / 1.072 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/1.259, allocations: 1.267 MB / 1.073 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.259, allocations: 0 / 1.073 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/1.26, allocations: 333.8 kB / 1.074 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/1.26, allocations: 112.6 kB / 1.074 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/1.26, allocations: 3.953 kB / 1.074 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/1.26, allocations: 23.59 kB / 1.074 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/1.26, allocations: 11.98 kB / 1.074 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/1.26, allocations: 11.31 kB / 1.074 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002023/1.261, allocations: 148.8 kB / 1.074 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.261, allocations: 0 / 1.074 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008562/1.262, allocations: 135.5 kB / 1.074 GB, free: 1.344 MB / 0.6823 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.0001857/1.262, allocations: 101 kB / 1.074 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009319/1.263, allocations: 294.7 kB / 1.075 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.263, allocations: 0 / 1.075 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/1.263, allocations: 176.9 kB / 1.075 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/1.264, allocations: 57.16 kB / 1.075 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.265, allocations: 372.6 kB / 1.075 GB, free: 460 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/1.265, allocations: 0.811 MB / 1.076 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004995/1.266, allocations: 77.98 kB / 1.076 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/1.266, allocations: 15.44 kB / 1.076 GB, free: 15.53 MB / 0.698 GB Notification: Performance of SimCode: time 3.046e-06/1.266, allocations: 4 kB / 1.076 GB, free: 15.53 MB / 0.698 GB Notification: Performance of Templates: time 0.01179/1.278, allocations: 2.985 MB / 1.079 GB, free: 12.58 MB / 0.698 GB