Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",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.684/2.684, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001548/0.001547, allocations: 176.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 102.4 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.414e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2349, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9033/1.138, allocations: 164.4 MB / 1.051 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.139, allocations: 89.19 kB / 1.051 GB, free: 5.184 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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);. [/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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);. [/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.07101/1.21, allocations: 17.82 MB / 1.069 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.483e-06/1.21, allocations: 3.938 kB / 1.069 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.079e-05/1.21, allocations: 8 kB / 1.069 GB, free: 6.32 MB / 0.6823 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.00147/1.211, allocations: 0.6263 MB / 1.069 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.211, allocations: 8.031 kB / 1.069 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/1.211, allocations: 74.38 kB / 1.069 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/1.213, allocations: 159.2 kB / 1.07 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/1.214, allocations: 342.1 kB / 1.07 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/1.214, allocations: 27.58 kB / 1.07 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/1.214, allocations: 33.94 kB / 1.07 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.215, allocations: 0.5174 MB / 1.07 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.215, allocations: 0 / 1.07 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/1.215, allocations: 18.75 kB / 1.07 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.751e-05/1.215, allocations: 24.77 kB / 1.07 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/1.217, allocations: 377 kB / 1.071 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/1.221, allocations: 2.408 MB / 1.073 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/1.221, allocations: 261.8 kB / 1.073 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/1.222, allocations: 109.9 kB / 1.074 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/1.222, allocations: 0 / 1.074 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.222, allocations: 41.88 kB / 1.074 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/1.222, allocations: 0 / 1.074 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002726/1.224, allocations: 0.8608 MB / 1.074 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/1.225, allocations: 51.41 kB / 1.074 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/1.225, allocations: 259.7 kB / 1.075 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/1.225, allocations: 29.14 kB / 1.075 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/1.225, allocations: 236.8 kB / 1.075 GB, free: 420 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.225, allocations: 77.16 kB / 1.075 GB, free: 352 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.225, allocations: 7.938 kB / 1.075 GB, free: 348 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.226, allocations: 344.9 kB / 1.075 GB, free: 8 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/1.226, allocations: 102.1 kB / 1.075 GB, free: 15.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/1.226, allocations: 179.2 kB / 1.076 GB, free: 15.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/1.227, allocations: 127.1 kB / 1.076 GB, free: 15.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.227, allocations: 8 kB / 1.076 GB, free: 15.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001252/1.228, allocations: 425.1 kB / 1.076 GB, free: 15.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.228, allocations: 10.69 kB / 1.076 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.228, allocations: 4 kB / 1.076 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/1.229, allocations: 96.31 kB / 1.076 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/1.229, allocations: 59.91 kB / 1.076 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/1.236, allocations: 4.071 MB / 1.08 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/1.237, allocations: 11.67 kB / 1.08 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/1.237, allocations: 15.25 kB / 1.08 GB, free: 10.9 MB / 0.698 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 () * 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.0002805/1.237, allocations: 128.2 kB / 1.08 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.237, allocations: 27.72 kB / 1.08 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/1.238, allocations: 43.92 kB / 1.081 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.238, allocations: 0 / 1.081 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/1.238, allocations: 7.938 kB / 1.081 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/1.238, allocations: 0 / 1.081 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/1.239, allocations: 397.2 kB / 1.081 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.239, allocations: 3.938 kB / 1.081 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/1.24, allocations: 31.97 kB / 1.081 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/1.241, allocations: 90.02 kB / 1.081 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/1.241, allocations: 7.438 kB / 1.081 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006601/1.247, allocations: 4.071 MB / 1.085 GB, free: 5.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.247, allocations: 4.031 kB / 1.085 GB, free: 5.973 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/1.249, allocations: 0.5349 MB / 1.086 GB, free: 5.535 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/1.249, allocations: 124.6 kB / 1.086 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/1.249, allocations: 10.25 kB / 1.086 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/1.249, allocations: 15.89 kB / 1.086 GB, free: 5.383 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/1.25, allocations: 19.78 kB / 1.086 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/1.25, allocations: 7.875 kB / 1.086 GB, free: 5.363 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003208/1.25, allocations: 206 kB / 1.086 GB, free: 5.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.25, allocations: 0 / 1.086 GB, free: 5.199 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006613/1.251, allocations: 102.2 kB / 1.086 GB, free: 5.109 MB / 0.698 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 () * 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.001621/1.252, allocations: 1.087 MB / 1.087 GB, free: 4.109 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.253, allocations: 0.6102 MB / 1.088 GB, free: 3.547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.253, allocations: 0.6875 kB / 1.088 GB, free: 3.547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007411/1.254, allocations: 462.9 kB / 1.088 GB, free: 3.098 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/1.255, allocations: 70.86 kB / 1.088 GB, free: 3.043 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.257, allocations: 0.5929 MB / 1.089 GB, free: 2.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/1.257, allocations: 0.8411 MB / 1.09 GB, free: 1.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003649/1.257, allocations: 58.94 kB / 1.09 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/1.258, allocations: 111.1 kB / 1.09 GB, free: 1.539 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/1.258, allocations: 0 / 1.09 GB, free: 1.539 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/1.303, allocations: 7.123 MB / 1.097 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003629/1.304, allocations: 164.1 kB / 1.097 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.792, allocations: 0 / 1.097 GB, free: 10.37 MB / 0.7136 GB