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.332/2.332, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 187 kB / 325.6 MB, free: 2.828 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.405/2.405, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001201/0.0012, allocations: 90.42 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004855, allocations: 12.62 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2122, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2709/0.4831, allocations: 159.7 MB / 1.055 GB, free: 1.594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/0.4835, allocations: 91.94 kB / 1.055 GB, free: 1.504 MB / 0.698 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.6931/1.177, allocations: 17.86 MB / 1.072 GB, free: 154.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/1.177, allocations: 0 / 1.072 GB, free: 154.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.105e-05/1.177, allocations: 14.47 kB / 1.072 GB, free: 154.7 MB / 0.698 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.001658/1.178, allocations: 0.6424 MB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.179, allocations: 9.188 kB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/1.18, allocations: 117.7 kB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/1.181, allocations: 318.4 kB / 1.073 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.807e-05/1.181, allocations: 55.42 kB / 1.073 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/1.181, allocations: 30.88 kB / 1.073 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.182, allocations: 0.4967 MB / 1.074 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.183, allocations: 1.344 kB / 1.074 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/1.183, allocations: 19.11 kB / 1.074 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.78e-05/1.183, allocations: 20.81 kB / 1.074 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/1.184, allocations: 401.4 kB / 1.074 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/1.187, allocations: 2.223 MB / 1.077 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.189, allocations: 272.8 kB / 1.077 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/1.189, allocations: 6.781 kB / 1.077 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.189, allocations: 47.67 kB / 1.077 GB, free: 151.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.484e-06/1.189, allocations: 0 / 1.077 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002435/1.191, allocations: 0.5897 MB / 1.077 GB, free: 151.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.191, allocations: 57.03 kB / 1.078 GB, free: 151.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/1.192, allocations: 200.7 kB / 1.078 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/1.192, allocations: 31.3 kB / 1.078 GB, free: 151 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/1.192, allocations: 214.2 kB / 1.078 GB, free: 150.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/1.192, allocations: 64.88 kB / 1.078 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/1.192, allocations: 4.531 kB / 1.078 GB, free: 150.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/1.192, allocations: 332 kB / 1.078 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/1.193, allocations: 102.6 kB / 1.078 GB, free: 150.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/1.193, allocations: 178.3 kB / 1.079 GB, free: 150.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/1.194, allocations: 129.2 kB / 1.079 GB, free: 150.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.194, allocations: 1.375 kB / 1.079 GB, free: 150.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001509/1.195, allocations: 387.3 kB / 1.079 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/1.195, allocations: 0.8762 MB / 1.08 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.195, allocations: 2.531 kB / 1.08 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008166/1.196, allocations: 108.5 kB / 1.08 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.197, allocations: 58.31 kB / 1.08 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/1.2, allocations: 2.061 MB / 1.082 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/1.201, allocations: 33.09 kB / 1.082 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/1.201, allocations: 15.58 kB / 1.082 GB, free: 147.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.201, allocations: 4.531 kB / 1.082 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/1.202, allocations: 315.1 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.202, allocations: 2.281 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/1.203, allocations: 88.56 kB / 1.083 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/1.203, allocations: 53.75 kB / 1.083 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/1.206, allocations: 1.521 MB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/1.206, allocations: 37.73 kB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/1.206, allocations: 10.66 kB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0003776/1.207, allocations: 251.8 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/1.207, allocations: 18.5 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.514e-05/1.207, allocations: 32.77 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.207, allocations: 6.062 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.207, allocations: 0 / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.207, allocations: 0 / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/1.208, allocations: 375.7 kB / 1.085 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.208, allocations: 5.062 kB / 1.085 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/1.208, allocations: 31.94 kB / 1.085 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00067/1.209, allocations: 100.8 kB / 1.085 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/1.209, allocations: 4 kB / 1.085 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/1.213, allocations: 2.834 MB / 1.088 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.213, allocations: 5.125 kB / 1.088 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/1.214, allocations: 409.6 kB / 1.088 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.214, allocations: 117 kB / 1.088 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/1.214, allocations: 5.312 kB / 1.088 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/1.215, allocations: 20.09 kB / 1.088 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.215, allocations: 18.78 kB / 1.088 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/1.215, allocations: 5.188 kB / 1.088 GB, free: 142 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002154/1.215, allocations: 162.1 kB / 1.088 GB, free: 141.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.215, allocations: 0 / 1.088 GB, free: 141.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00094/1.216, allocations: 164.1 kB / 1.089 GB, free: 141.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.0001707/1.216, allocations: 112.7 kB / 1.089 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003206/1.219, allocations: 0.6674 MB / 1.089 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.219, allocations: 1.312 kB / 1.089 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.221, allocations: 376.3 kB / 1.09 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/1.221, allocations: 60.41 kB / 1.09 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/1.223, allocations: 0.6725 MB / 1.09 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/1.223, allocations: 0.8188 MB / 1.091 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004483/1.224, allocations: 65.89 kB / 1.091 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/1.224, allocations: 21.59 kB / 1.091 GB, free: 139.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/1.224, allocations: 0.5312 kB / 1.091 GB, free: 139.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01191/1.236, allocations: 3.98 MB / 1.095 GB, free: 137.7 MB / 0.698 GB