Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 252.6 MB / 265.2 MB, free: 5.711 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.00139/0.00139, allocations: 177.8 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.5753 GB, free: 10.49 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.001127/0.001127, allocations: 107.7 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.003e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9223/1.128, allocations: 157.5 MB / 1.049 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.128, allocations: 94.19 kB / 1.049 GB, free: 11.08 MB / 0.6667 GB [/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/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/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.04518/1.173, allocations: 11.3 MB / 1.06 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.753e-06/1.173, allocations: 0 / 1.06 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.173, allocations: 7.984 kB / 1.06 GB, free: 1.738 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008417/1.174, allocations: 471.4 kB / 1.06 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.174, allocations: 12.03 kB / 1.06 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/1.175, allocations: 83.64 kB / 1.06 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/1.176, allocations: 236.8 kB / 1.061 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/1.176, allocations: 15.61 kB / 1.061 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/1.176, allocations: 18.69 kB / 1.061 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007119/1.177, allocations: 284.4 kB / 1.061 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.177, allocations: 0 / 1.061 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/1.177, allocations: 10.44 kB / 1.061 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/1.177, allocations: 20.3 kB / 1.061 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/1.177, allocations: 187.8 kB / 1.061 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/1.18, allocations: 1.477 MB / 1.063 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/1.18, allocations: 171 kB / 1.063 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/1.18, allocations: 30.67 kB / 1.063 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/1.18, allocations: 4 kB / 1.063 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.18, allocations: 41.25 kB / 1.063 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/1.18, allocations: 0 / 1.063 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003909/1.181, allocations: 105.3 kB / 1.063 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.181, allocations: 59.39 kB / 1.063 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/1.181, allocations: 180.7 kB / 1.063 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.181, allocations: 29.7 kB / 1.063 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/1.181, allocations: 173.1 kB / 1.063 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/1.181, allocations: 26.27 kB / 1.063 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/1.181, allocations: 3.375 kB / 1.063 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.181, allocations: 321.8 kB / 1.064 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/1.181, allocations: 41.42 kB / 1.064 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.182, allocations: 99.27 kB / 1.064 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/1.182, allocations: 49.98 kB / 1.064 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.182, allocations: 7.938 kB / 1.064 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000489/1.182, allocations: 183 kB / 1.064 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.182, allocations: 8 kB / 1.064 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.182, allocations: 0 / 1.064 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/1.182, allocations: 36.45 kB / 1.064 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/1.183, allocations: 23.98 kB / 1.064 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/1.184, allocations: 1.323 MB / 1.065 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/1.185, allocations: 22.38 kB / 1.065 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/1.185, allocations: 4 kB / 1.065 GB, free: 12.04 MB / 0.6823 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 () * 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.0001185/1.185, allocations: 115 kB / 1.065 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/1.185, allocations: 15.81 kB / 1.065 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/1.185, allocations: 23.28 kB / 1.065 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.185, allocations: 0 / 1.065 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.185, allocations: 96 / 1.065 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.185, allocations: 4 kB / 1.065 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/1.186, allocations: 444 kB / 1.066 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.186, allocations: 0 / 1.066 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/1.186, allocations: 11.98 kB / 1.066 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/1.186, allocations: 20.72 kB / 1.066 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1.186, allocations: 0 / 1.066 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/1.187, allocations: 1.305 MB / 1.067 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.187, allocations: 4.031 kB / 1.067 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/1.188, allocations: 214.3 kB / 1.067 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.188, allocations: 100.2 kB / 1.068 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/1.188, allocations: 4 kB / 1.068 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/1.188, allocations: 8 kB / 1.068 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/1.188, allocations: 2.75 kB / 1.068 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/1.188, allocations: 4 kB / 1.068 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001901/1.188, allocations: 146.6 kB / 1.068 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.188, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004512/1.189, allocations: 50.84 kB / 1.068 GB, free: 9.516 MB / 0.6823 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 () * 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.0001485/1.189, allocations: 100.1 kB / 1.068 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004786/1.19, allocations: 215 kB / 1.068 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.19, allocations: 4.062 kB / 1.068 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/1.19, allocations: 140.5 kB / 1.068 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/1.19, allocations: 36.11 kB / 1.068 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/1.191, allocations: 219.2 kB / 1.068 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/1.191, allocations: 0.7566 MB / 1.069 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001785/1.191, allocations: 25.31 kB / 1.069 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/1.192, allocations: 15.44 kB / 1.069 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of SimCode: time 9.61e-07/1.192, allocations: 0 / 1.069 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of Templates: time 0.006817/1.198, allocations: 1.636 MB / 1.071 GB, free: 6.395 MB / 0.6823 GB