Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.795/4.795, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 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.002607/0.002606, allocations: 358.6 kB / 0.6446 GB, free: 185.6 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.296/4.296, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001813, allocations: 179.5 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.7216, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.9512, allocations: 170.8 MB / 1.628 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.9516, allocations: 95.89 kB / 1.628 GB, free: 113.3 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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/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.07141/1.023, allocations: 17.88 MB / 1.646 GB, free: 95.41 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.094e-06/1.023, allocations: 7.938 kB / 1.646 GB, free: 95.41 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.671e-05/1.023, allocations: 13.47 kB / 1.646 GB, free: 95.39 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001796/1.025, allocations: 0.6588 MB / 1.646 GB, free: 94.69 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.025, allocations: 15.62 kB / 1.646 GB, free: 94.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/1.027, allocations: 161.9 kB / 1.646 GB, free: 94.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/1.028, allocations: 339.2 kB / 1.647 GB, free: 94.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/1.028, allocations: 25 kB / 1.647 GB, free: 94.13 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/1.029, allocations: 35 kB / 1.647 GB, free: 94.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/1.03, allocations: 0.5232 MB / 1.647 GB, free: 93.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.03, allocations: 4.594 kB / 1.647 GB, free: 93.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/1.03, allocations: 15.98 kB / 1.647 GB, free: 93.53 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.217e-05/1.03, allocations: 29.17 kB / 1.647 GB, free: 93.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/1.032, allocations: 389.4 kB / 1.648 GB, free: 93.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/1.036, allocations: 2.405 MB / 1.65 GB, free: 90.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/1.037, allocations: 258.4 kB / 1.65 GB, free: 90.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/1.037, allocations: 113.8 kB / 1.65 GB, free: 90.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/1.037, allocations: 8.859 kB / 1.651 GB, free: 90.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.037, allocations: 39.25 kB / 1.651 GB, free: 90.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 3.697e-06/1.037, allocations: 0 / 1.651 GB, free: 90.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.003808/1.041, allocations: 1.029 MB / 1.652 GB, free: 88.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/1.041, allocations: 52.31 kB / 1.652 GB, free: 88.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/1.042, allocations: 302.2 kB / 1.652 GB, free: 88.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/1.042, allocations: 29.7 kB / 1.652 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/1.042, allocations: 227.5 kB / 1.652 GB, free: 88.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-05/1.042, allocations: 82.84 kB / 1.652 GB, free: 88.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/1.042, allocations: 8.906 kB / 1.652 GB, free: 88.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.042, allocations: 342.8 kB / 1.653 GB, free: 87.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/1.043, allocations: 98.2 kB / 1.653 GB, free: 87.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/1.043, allocations: 191.3 kB / 1.653 GB, free: 87.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/1.044, allocations: 132.9 kB / 1.653 GB, free: 87.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.044, allocations: 0.6875 kB / 1.653 GB, free: 87.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001574/1.045, allocations: 437.1 kB / 1.653 GB, free: 87.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.045, allocations: 4 kB / 1.653 GB, free: 87.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.045, allocations: 4.688 kB / 1.653 GB, free: 87.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006985/1.046, allocations: 98.91 kB / 1.653 GB, free: 86.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/1.047, allocations: 67.84 kB / 1.654 GB, free: 86.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/1.051, allocations: 4.065 MB / 1.658 GB, free: 82.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/1.052, allocations: 13.41 kB / 1.658 GB, free: 82.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/1.052, allocations: 8 kB / 1.658 GB, free: 82.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003689/1.052, allocations: 190.9 kB / 1.658 GB, free: 82.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.052, allocations: 32.36 kB / 1.658 GB, free: 82.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/1.052, allocations: 44 kB / 1.658 GB, free: 82.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.052, allocations: 0 / 1.658 GB, free: 82.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.052, allocations: 4 kB / 1.658 GB, free: 82.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.052, allocations: 0 / 1.658 GB, free: 82.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008053/1.053, allocations: 397.4 kB / 1.658 GB, free: 81.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.053, allocations: 1.188 kB / 1.658 GB, free: 81.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/1.054, allocations: 35.91 kB / 1.658 GB, free: 81.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006155/1.054, allocations: 84.95 kB / 1.658 GB, free: 81.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/1.054, allocations: 9.422 kB / 1.658 GB, free: 81.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/1.059, allocations: 4.081 MB / 1.662 GB, free: 77.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.059, allocations: 3.938 kB / 1.662 GB, free: 77.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/1.06, allocations: 0.544 MB / 1.663 GB, free: 76.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/1.061, allocations: 124.7 kB / 1.663 GB, free: 76.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/1.061, allocations: 11.89 kB / 1.663 GB, free: 76.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/1.061, allocations: 18.42 kB / 1.663 GB, free: 76.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/1.061, allocations: 11.98 kB / 1.663 GB, free: 76.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/1.061, allocations: 8 kB / 1.663 GB, free: 76.33 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003824/1.062, allocations: 211.1 kB / 1.663 GB, free: 76.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.31e-07/1.062, allocations: 0 / 1.663 GB, free: 76.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009712/1.063, allocations: 100 kB / 1.663 GB, free: 76.04 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/1.063, allocations: 110.7 kB / 1.663 GB, free: 75.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001363/1.064, allocations: 0.5996 MB / 1.664 GB, free: 75.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.064, allocations: 0 / 1.664 GB, free: 75.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000823/1.065, allocations: 481.7 kB / 1.664 GB, free: 74.78 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/1.066, allocations: 62.97 kB / 1.664 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.068, allocations: 0.8628 MB / 1.665 GB, free: 73.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.069, allocations: 0.8418 MB / 1.666 GB, free: 73.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004615/1.069, allocations: 62.33 kB / 1.666 GB, free: 72.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/1.069, allocations: 23.44 kB / 1.666 GB, free: 72.94 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/1.069, allocations: 0 / 1.666 GB, free: 72.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.01438/1.084, allocations: 4.125 MB / 1.67 GB, free: 68.91 MB / 0.8542 GB