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.319/2.319, allocations: 248.7 MB / 256.2 MB, free: 6.996 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.001638/0.001638, allocations: 174.1 kB / 315.4 MB, free: 4 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.045/2.045, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001162/0.001161, allocations: 98.39 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.471e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2059, allocations: 106.2 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9813/1.187, allocations: 164.6 MB / 1.045 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004807/1.188, allocations: 90.88 kB / 1.045 GB, free: 8.449 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.111/1.299, allocations: 17.74 MB / 1.062 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.196e-06/1.299, allocations: 8 kB / 1.062 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.756e-05/1.299, allocations: 8 kB / 1.062 GB, free: 9.77 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.002227/1.301, allocations: 0.6231 MB / 1.063 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/1.301, allocations: 8.031 kB / 1.063 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/1.304, allocations: 159.6 kB / 1.063 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/1.306, allocations: 337.5 kB / 1.063 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/1.306, allocations: 12 kB / 1.063 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.306, allocations: 20 kB / 1.063 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001413/1.308, allocations: 340.2 kB / 1.064 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/1.309, allocations: 470.5 kB / 1.064 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/1.309, allocations: 3.938 kB / 1.064 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/1.309, allocations: 0 / 1.064 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/1.309, allocations: 36.53 kB / 1.064 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006236/1.316, allocations: 2.325 MB / 1.067 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.317, allocations: 258.2 kB / 1.067 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/1.317, allocations: 97.42 kB / 1.067 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.317, allocations: 7.953 kB / 1.067 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/1.317, allocations: 37.44 kB / 1.067 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 4.469e-06/1.317, allocations: 0 / 1.067 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.003658/1.321, allocations: 0.7831 MB / 1.068 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.321, allocations: 55.41 kB / 1.068 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/1.322, allocations: 228.2 kB / 1.068 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/1.322, allocations: 25.7 kB / 1.068 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/1.322, allocations: 229.4 kB / 1.068 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/1.322, allocations: 87.81 kB / 1.068 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/1.322, allocations: 0 / 1.068 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.323, allocations: 337.2 kB / 1.069 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/1.323, allocations: 97.06 kB / 1.069 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/1.324, allocations: 177.7 kB / 1.069 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/1.324, allocations: 118.5 kB / 1.069 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.324, allocations: 0 / 1.069 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00175/1.326, allocations: 399.9 kB / 1.069 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/1.326, allocations: 12.03 kB / 1.069 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.326, allocations: 0 / 1.069 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/1.327, allocations: 87.14 kB / 1.069 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/1.328, allocations: 67.27 kB / 1.069 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006257/1.334, allocations: 3.897 MB / 1.073 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/1.334, allocations: 4 kB / 1.073 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/1.335, allocations: 19.06 kB / 1.073 GB, free: 14.88 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.0002317/1.335, allocations: 120.9 kB / 1.073 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001397/1.336, allocations: 302.9 kB / 1.074 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.336, allocations: 27.62 kB / 1.074 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/1.337, allocations: 36.02 kB / 1.074 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.337, allocations: 0 / 1.074 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.337, allocations: 7.938 kB / 1.074 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.337, allocations: 0 / 1.074 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/1.338, allocations: 343 kB / 1.074 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.338, allocations: 0 / 1.074 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/1.338, allocations: 35.92 kB / 1.074 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/1.339, allocations: 86.44 kB / 1.074 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/1.339, allocations: 4 kB / 1.074 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006029/1.345, allocations: 3.896 MB / 1.078 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/1.345, allocations: 0 / 1.078 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.347, allocations: 0.5274 MB / 1.079 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/1.348, allocations: 121.6 kB / 1.079 GB, free: 9.422 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/1.348, allocations: 7.953 kB / 1.079 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/1.348, allocations: 4 kB / 1.079 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.348, allocations: 15.97 kB / 1.079 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/1.348, allocations: 7.5 kB / 1.079 GB, free: 9.391 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003795/1.349, allocations: 175.6 kB / 1.079 GB, free: 9.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.62e-07/1.349, allocations: 0 / 1.079 GB, free: 9.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001133/1.35, allocations: 88 kB / 1.079 GB, free: 9.164 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.002404/1.352, allocations: 1.063 MB / 1.08 GB, free: 8.184 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.354, allocations: 0.5619 MB / 1.081 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.354, allocations: 0 / 1.081 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.355, allocations: 443.8 kB / 1.081 GB, free: 7.254 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/1.356, allocations: 64.75 kB / 1.081 GB, free: 7.203 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/1.359, allocations: 0.5805 MB / 1.082 GB, free: 6.637 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/1.36, allocations: 0.8407 MB / 1.082 GB, free: 5.781 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005556/1.361, allocations: 55.25 kB / 1.082 GB, free: 5.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/1.361, allocations: 104.1 kB / 1.083 GB, free: 5.703 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/1.361, allocations: 0 / 1.083 GB, free: 5.703 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/1.415, allocations: 6.208 MB / 1.089 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003565/1.416, allocations: 137.6 kB / 1.089 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.898, allocations: 7.938 kB / 1.089 GB, free: 15.34 MB / 0.7136 GB