Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.Resistance.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.823/4.823, allocations: 0.5623 GB / 0.5775 GB, free: 3.383 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002442/0.002441, allocations: 362.5 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.089/4.089, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002307/0.002307, allocations: 171.6 kB / 1.226 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005845/0.0005847, allocations: 14.16 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2062, allocations: 115.3 MB / 1.461 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9943/1.201, allocations: 163.9 MB / 1.621 GB, free: 11.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004378/1.201, allocations: 89.95 kB / 1.621 GB, free: 11.93 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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.0559/1.257, allocations: 11.39 MB / 1.633 GB, free: 2.535 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.257, allocations: 0 / 1.633 GB, free: 2.535 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.199e-05/1.257, allocations: 4 kB / 1.633 GB, free: 2.531 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009954/1.258, allocations: 489.3 kB / 1.633 GB, free: 2.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.258, allocations: 11.97 kB / 1.633 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/1.259, allocations: 87.64 kB / 1.633 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/1.26, allocations: 244.8 kB / 1.633 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/1.26, allocations: 15.25 kB / 1.633 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/1.26, allocations: 15.88 kB / 1.633 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/1.26, allocations: 296.7 kB / 1.634 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.261, allocations: 0 / 1.634 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/1.261, allocations: 6.312 kB / 1.634 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/1.261, allocations: 12.38 kB / 1.634 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/1.261, allocations: 200.8 kB / 1.634 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/1.263, allocations: 1.463 MB / 1.635 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/1.264, allocations: 176 kB / 1.635 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/1.264, allocations: 36.09 kB / 1.636 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/1.264, allocations: 0 / 1.636 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.264, allocations: 34.5 kB / 1.636 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/1.264, allocations: 0 / 1.636 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000733/1.265, allocations: 227.4 kB / 1.636 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.265, allocations: 59.3 kB / 1.636 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/1.265, allocations: 210.7 kB / 1.636 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/1.265, allocations: 29.08 kB / 1.636 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/1.265, allocations: 160.4 kB / 1.636 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/1.265, allocations: 28.89 kB / 1.636 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/1.265, allocations: 0 / 1.636 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.266, allocations: 325.9 kB / 1.637 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.815e-05/1.266, allocations: 30.05 kB / 1.637 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.266, allocations: 103.5 kB / 1.637 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/1.266, allocations: 54.8 kB / 1.637 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.266, allocations: 0 / 1.637 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005142/1.267, allocations: 187 kB / 1.637 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.267, allocations: 8.094 kB / 1.637 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.267, allocations: 3.938 kB / 1.637 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/1.267, allocations: 32.77 kB / 1.637 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/1.267, allocations: 31.92 kB / 1.637 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/1.269, allocations: 1.315 MB / 1.638 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.269, allocations: 19.83 kB / 1.638 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/1.269, allocations: 11.92 kB / 1.638 GB, free: 12.67 MB / 0.7136 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 (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002173/1.269, allocations: 141.2 kB / 1.638 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/1.269, allocations: 11.91 kB / 1.638 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/1.269, allocations: 21.14 kB / 1.638 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.269, allocations: 15.98 kB / 1.638 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.269, allocations: 0 / 1.638 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.269, allocations: 0 / 1.638 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/1.27, allocations: 448.7 kB / 1.639 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/1.27, allocations: 0 / 1.639 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/1.27, allocations: 11.94 kB / 1.639 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/1.27, allocations: 20.59 kB / 1.639 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.27, allocations: 8 kB / 1.639 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/1.272, allocations: 1.303 MB / 1.64 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.272, allocations: 3.938 kB / 1.64 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/1.272, allocations: 209 kB / 1.64 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.272, allocations: 100.2 kB / 1.641 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/1.272, allocations: 0 / 1.641 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/1.272, allocations: 4 kB / 1.641 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/1.272, allocations: 7.438 kB / 1.641 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/1.272, allocations: 15.92 kB / 1.641 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000199/1.273, allocations: 144.2 kB / 1.641 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.273, allocations: 0 / 1.641 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004607/1.273, allocations: 51.66 kB / 1.641 GB, free: 10.12 MB / 0.7136 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 (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/1.273, allocations: 107.2 kB / 1.641 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005216/1.274, allocations: 207.7 kB / 1.641 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.274, allocations: 3.938 kB / 1.641 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/1.274, allocations: 141.6 kB / 1.641 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/1.275, allocations: 38.61 kB / 1.641 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/1.276, allocations: 423.9 kB / 1.642 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/1.276, allocations: 0.7547 MB / 1.642 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001784/1.276, allocations: 29.52 kB / 1.642 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/1.276, allocations: 15.44 kB / 1.642 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/1.276, allocations: 0 / 1.642 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.006794/1.283, allocations: 1.642 MB / 1.644 GB, free: 6.785 MB / 0.7136 GB