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.26/2.26, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 181.3 kB / 325.5 MB, free: 2.898 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.4/2.4, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001189/0.001189, allocations: 100.6 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 18.23 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9034/1.114, allocations: 164.4 MB / 1.059 GB, free: 66.11 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.114, allocations: 93.47 kB / 1.059 GB, free: 66.11 MB / 0.698 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.07251/1.186, allocations: 17.93 MB / 1.077 GB, free: 64.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/1.187, allocations: 0 / 1.077 GB, free: 64.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.217e-05/1.187, allocations: 10.77 kB / 1.077 GB, free: 64.25 MB / 0.698 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.00161/1.188, allocations: 0.6639 MB / 1.078 GB, free: 63.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.188, allocations: 14.34 kB / 1.078 GB, free: 63.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/1.188, allocations: 76.62 kB / 1.078 GB, free: 63.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.19, allocations: 154.6 kB / 1.078 GB, free: 63.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/1.191, allocations: 338.4 kB / 1.078 GB, free: 63.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/1.191, allocations: 36.38 kB / 1.078 GB, free: 63.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.192, allocations: 32.84 kB / 1.078 GB, free: 63.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.193, allocations: 0.514 MB / 1.079 GB, free: 63.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.193, allocations: 7.938 kB / 1.079 GB, free: 63.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/1.193, allocations: 14.84 kB / 1.079 GB, free: 63.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/1.193, allocations: 27.52 kB / 1.079 GB, free: 63.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/1.194, allocations: 392.4 kB / 1.079 GB, free: 63.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/1.198, allocations: 2.404 MB / 1.082 GB, free: 61.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/1.199, allocations: 266.3 kB / 1.082 GB, free: 61.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/1.199, allocations: 5.828 kB / 1.082 GB, free: 61.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.199, allocations: 40.38 kB / 1.082 GB, free: 61.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.916e-06/1.199, allocations: 3.938 kB / 1.082 GB, free: 61.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.003189/1.202, allocations: 1.021 MB / 1.083 GB, free: 60.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.202, allocations: 57.5 kB / 1.083 GB, free: 60.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/1.203, allocations: 269.6 kB / 1.083 GB, free: 60.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/1.203, allocations: 34.89 kB / 1.083 GB, free: 60.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.203, allocations: 220.7 kB / 1.083 GB, free: 60.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/1.203, allocations: 83.73 kB / 1.083 GB, free: 60.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/1.203, allocations: 4.719 kB / 1.083 GB, free: 60.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/1.203, allocations: 336.4 kB / 1.084 GB, free: 60.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/1.204, allocations: 101.9 kB / 1.084 GB, free: 60.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/1.204, allocations: 190.5 kB / 1.084 GB, free: 60.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/1.204, allocations: 135.6 kB / 1.084 GB, free: 60.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.204, allocations: 1.156 kB / 1.084 GB, free: 60.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00124/1.206, allocations: 438.8 kB / 1.085 GB, free: 60.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.206, allocations: 6.312 kB / 1.085 GB, free: 60.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.206, allocations: 4.062 kB / 1.085 GB, free: 60.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/1.206, allocations: 94.94 kB / 1.085 GB, free: 60 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/1.207, allocations: 65.98 kB / 1.085 GB, free: 59.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/1.21, allocations: 4.1 MB / 1.089 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/1.211, allocations: 13.55 kB / 1.089 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/1.211, allocations: 15.53 kB / 1.089 GB, free: 56.18 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 () * 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.0003314/1.211, allocations: 180.1 kB / 1.089 GB, free: 56.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/1.211, allocations: 39.11 kB / 1.089 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.279e-05/1.211, allocations: 39.67 kB / 1.089 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.211, allocations: 3.906 kB / 1.089 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.211, allocations: 4 kB / 1.089 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.211, allocations: 9.719 kB / 1.089 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/1.212, allocations: 393.5 kB / 1.089 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.212, allocations: 0 / 1.089 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/1.212, allocations: 36.19 kB / 1.09 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/1.213, allocations: 89.53 kB / 1.09 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.213, allocations: 11.33 kB / 1.09 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/1.216, allocations: 4.091 MB / 1.094 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.216, allocations: 0 / 1.094 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.217, allocations: 0.5462 MB / 1.094 GB, free: 51.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/1.218, allocations: 128.7 kB / 1.094 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/1.218, allocations: 3.906 kB / 1.094 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/1.218, allocations: 15.27 kB / 1.094 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/1.218, allocations: 26.69 kB / 1.094 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/1.218, allocations: 7.906 kB / 1.094 GB, free: 51.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002904/1.218, allocations: 212.7 kB / 1.095 GB, free: 51.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.218, allocations: 3.938 kB / 1.095 GB, free: 51.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006849/1.219, allocations: 100.6 kB / 1.095 GB, free: 51.62 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 () * 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.001376/1.22, allocations: 1.093 MB / 1.096 GB, free: 50.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001148/1.222, allocations: 0.6064 MB / 1.096 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.222, allocations: 0 / 1.096 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006402/1.222, allocations: 477.4 kB / 1.097 GB, free: 50.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/1.223, allocations: 57.03 kB / 1.097 GB, free: 50.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/1.227, allocations: 3.713 MB / 1.1 GB, free: 47.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/1.228, allocations: 0.8377 MB / 1.101 GB, free: 46.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004004/1.228, allocations: 57.8 kB / 1.101 GB, free: 46.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/1.228, allocations: 111.6 kB / 1.101 GB, free: 46.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/1.228, allocations: 4 kB / 1.101 GB, free: 46.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/1.27, allocations: 7.14 MB / 1.108 GB, free: 46.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/1.27, allocations: 191.6 kB / 1.109 GB, free: 46.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.868, allocations: 0 / 1.109 GB, free: 46.2 MB / 0.698 GB