Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.41/2.41, allocations: 253.2 MB / 260.6 MB, free: 7.504 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.001477/0.001476, allocations: 187.4 kB / 319.9 MB, free: 3.102 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.129/2.129, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001124/0.001124, allocations: 100.9 kB / 0.6751 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.853e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1984, allocations: 106.2 MB / 0.8887 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9412/1.14, allocations: 159.8 MB / 1.045 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005411/1.14, allocations: 96.44 kB / 1.045 GB, free: 11.63 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.07677/1.217, allocations: 17.68 MB / 1.062 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/1.217, allocations: 0 / 1.062 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.169e-05/1.217, allocations: 12 kB / 1.062 GB, free: 13.07 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00157/1.219, allocations: 0.5987 MB / 1.063 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.219, allocations: 12.02 kB / 1.063 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/1.22, allocations: 115.4 kB / 1.063 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/1.221, allocations: 333.5 kB / 1.063 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/1.221, allocations: 42.48 kB / 1.063 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/1.221, allocations: 20 kB / 1.063 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008542/1.222, allocations: 316.6 kB / 1.063 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/1.223, allocations: 436.1 kB / 1.064 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/1.223, allocations: 4 kB / 1.064 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/1.223, allocations: 0 / 1.064 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.157e-05/1.223, allocations: 32.66 kB / 1.064 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/1.227, allocations: 2.139 MB / 1.066 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.228, allocations: 244.9 kB / 1.066 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/1.229, allocations: 134.2 kB / 1.066 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/1.229, allocations: 11.92 kB / 1.066 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.229, allocations: 33.62 kB / 1.066 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.785e-06/1.229, allocations: 0 / 1.066 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.000973/1.23, allocations: 246.6 kB / 1.067 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.23, allocations: 55.41 kB / 1.067 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/1.23, allocations: 181.6 kB / 1.067 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/1.23, allocations: 25.7 kB / 1.067 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/1.231, allocations: 209.8 kB / 1.067 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/1.231, allocations: 65.58 kB / 1.067 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/1.231, allocations: 0 / 1.067 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.231, allocations: 337.3 kB / 1.068 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/1.231, allocations: 65.86 kB / 1.068 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/1.231, allocations: 157.3 kB / 1.068 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/1.232, allocations: 94.92 kB / 1.068 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/1.232, allocations: 4 kB / 1.068 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00107/1.233, allocations: 312.3 kB / 1.068 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004865/1.233, allocations: 0.9635 MB / 1.069 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.233, allocations: 4 kB / 1.069 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/1.234, allocations: 104.7 kB / 1.069 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/1.234, allocations: 55.91 kB / 1.069 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/1.238, allocations: 1.951 MB / 1.071 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/1.238, allocations: 35.95 kB / 1.071 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/1.238, allocations: 8 kB / 1.071 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.238, allocations: 4 kB / 1.071 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000912/1.239, allocations: 243 kB / 1.071 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.239, allocations: 4.031 kB / 1.071 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/1.24, allocations: 74.86 kB / 1.071 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/1.24, allocations: 59.91 kB / 1.072 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/1.243, allocations: 1.425 MB / 1.073 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/1.244, allocations: 23.83 kB / 1.073 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/1.244, allocations: 15.38 kB / 1.073 GB, free: 2.285 MB / 0.6823 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.0001985/1.244, allocations: 115.4 kB / 1.073 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/1.244, allocations: 19.81 kB / 1.073 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/1.244, allocations: 32.59 kB / 1.073 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.244, allocations: 0 / 1.073 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.244, allocations: 0 / 1.073 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.244, allocations: 0 / 1.073 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/1.246, allocations: 0.7275 MB / 1.074 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.246, allocations: 0 / 1.074 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/1.247, allocations: 35.48 kB / 1.074 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/1.247, allocations: 96.45 kB / 1.074 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.247, allocations: 7.984 kB / 1.074 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/1.251, allocations: 2.688 MB / 1.077 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/1.251, allocations: 0 / 1.077 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/1.252, allocations: 390.8 kB / 1.077 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/1.253, allocations: 115.7 kB / 1.077 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/1.253, allocations: 0 / 1.077 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/1.253, allocations: 11.98 kB / 1.077 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.253, allocations: 19.47 kB / 1.077 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/1.253, allocations: 8 kB / 1.077 GB, free: 14.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001861/1.253, allocations: 140.7 kB / 1.077 GB, free: 13.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.253, allocations: 0 / 1.077 GB, free: 13.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009147/1.254, allocations: 155.3 kB / 1.077 GB, free: 13.74 MB / 0.698 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.0001934/1.254, allocations: 105 kB / 1.077 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002531/1.257, allocations: 0.5697 MB / 1.078 GB, free: 13.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.257, allocations: 4.312 kB / 1.078 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.258, allocations: 336.7 kB / 1.078 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/1.259, allocations: 46.27 kB / 1.078 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.26, allocations: 389.8 kB / 1.079 GB, free: 12.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/1.261, allocations: 0.8237 MB / 1.08 GB, free: 11.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004398/1.261, allocations: 58.03 kB / 1.08 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/1.261, allocations: 15.44 kB / 1.08 GB, free: 11.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.041e-06/1.261, allocations: 0 / 1.08 GB, free: 11.49 MB / 0.698 GB Notification: Performance of Templates: time 0.01285/1.274, allocations: 3.952 MB / 1.084 GB, free: 7.574 MB / 0.698 GB