Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.212/2.212, allocations: 248.7 MB / 256.2 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 184.5 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 95.84 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.355e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.959/1.157, allocations: 157.7 MB / 1.038 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.158, allocations: 93.11 kB / 1.038 GB, free: 15.14 MB / 0.6667 GB [/home/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);. [/home/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);. [/home/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.04648/1.204, allocations: 11.26 MB / 1.049 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.053e-06/1.204, allocations: 0 / 1.049 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.451e-05/1.204, allocations: 4 kB / 1.049 GB, free: 5.926 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.0009924/1.205, allocations: 485.2 kB / 1.05 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/1.205, allocations: 11.97 kB / 1.05 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.206, allocations: 79.64 kB / 1.05 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/1.207, allocations: 239.6 kB / 1.05 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.207, allocations: 4 kB / 1.05 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/1.207, allocations: 12 kB / 1.05 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004798/1.208, allocations: 166.1 kB / 1.05 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/1.208, allocations: 263.8 kB / 1.05 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.208, allocations: 4 kB / 1.05 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/1.208, allocations: 0 / 1.05 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/1.208, allocations: 12.38 kB / 1.05 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/1.211, allocations: 1.417 MB / 1.052 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/1.211, allocations: 171.9 kB / 1.052 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/1.211, allocations: 35.36 kB / 1.052 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/1.211, allocations: 0 / 1.052 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.211, allocations: 30.56 kB / 1.052 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/1.211, allocations: 0 / 1.052 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0004012/1.212, allocations: 104 kB / 1.052 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.212, allocations: 55.39 kB / 1.052 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/1.212, allocations: 163.3 kB / 1.052 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/1.212, allocations: 25.7 kB / 1.052 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/1.212, allocations: 169.6 kB / 1.053 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/1.212, allocations: 27.14 kB / 1.053 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/1.212, allocations: 0 / 1.053 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.212, allocations: 329.7 kB / 1.053 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/1.212, allocations: 29.75 kB / 1.053 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/1.213, allocations: 94.27 kB / 1.053 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/1.213, allocations: 49.22 kB / 1.053 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.213, allocations: 4 kB / 1.053 GB, free: 2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004864/1.213, allocations: 165.2 kB / 1.053 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.213, allocations: 4.094 kB / 1.053 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.213, allocations: 7.938 kB / 1.053 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/1.214, allocations: 29.06 kB / 1.053 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/1.214, allocations: 31.92 kB / 1.053 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/1.215, allocations: 1.265 MB / 1.055 GB, free: 464 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/1.216, allocations: 15.75 kB / 1.055 GB, free: 448 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/1.216, allocations: 4 kB / 1.055 GB, free: 444 kB / 0.6667 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.0001258/1.216, allocations: 114.4 kB / 1.055 GB, free: 328 kB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002918/1.216, allocations: 102.5 kB / 1.055 GB, free: 228 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/1.216, allocations: 23.02 kB / 1.055 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.788e-05/1.216, allocations: 17.61 kB / 1.055 GB, free: 196 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/1.216, allocations: 4 kB / 1.055 GB, free: 192 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.216, allocations: 0 / 1.055 GB, free: 192 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.216, allocations: 0 / 1.055 GB, free: 192 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/1.217, allocations: 400.4 kB / 1.055 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.217, allocations: 0 / 1.055 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/1.217, allocations: 4 kB / 1.055 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/1.217, allocations: 28.03 kB / 1.055 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.217, allocations: 64 / 1.055 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.219, allocations: 1.258 MB / 1.056 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.219, allocations: 0 / 1.056 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/1.219, allocations: 200.8 kB / 1.057 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.219, allocations: 99.98 kB / 1.057 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/1.219, allocations: 0 / 1.057 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/1.219, allocations: 7.984 kB / 1.057 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/1.22, allocations: 4.062 kB / 1.057 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.22, allocations: 4 kB / 1.057 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001533/1.22, allocations: 122.9 kB / 1.057 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/1.22, allocations: 4 kB / 1.057 GB, free: 14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005486/1.22, allocations: 47.84 kB / 1.057 GB, free: 13.96 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.000726/1.221, allocations: 0.7326 MB / 1.058 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005052/1.222, allocations: 201.8 kB / 1.058 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.222, allocations: 0 / 1.058 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/1.222, allocations: 137.6 kB / 1.058 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/1.222, allocations: 24.05 kB / 1.058 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/1.223, allocations: 273.7 kB / 1.058 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/1.224, allocations: 0.7465 MB / 1.059 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001917/1.224, allocations: 33.11 kB / 1.059 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/1.224, allocations: 52.23 kB / 1.059 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/1.224, allocations: 0 / 1.059 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/1.26, allocations: 2.713 MB / 1.062 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/1.26, allocations: 142.4 kB / 1.062 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.59, allocations: 0 / 1.062 GB, free: 8.898 MB / 0.6823 GB