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.496/2.496, allocations: 251 MB / 265.9 MB, free: 11.68 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.001653/0.001652, allocations: 170 kB / 325.5 MB, free: 2.902 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.356/2.356, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.00116/0.00116, allocations: 99.73 kB / 0.6809 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004782, allocations: 12.12 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2074, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/0.464, allocations: 157.5 MB / 1.053 GB, free: 3.676 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.4644, allocations: 91.94 kB / 1.053 GB, free: 3.586 MB / 0.698 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.6179/1.082, allocations: 11.39 MB / 1.064 GB, free: 154.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.082, allocations: 0 / 1.064 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.088e-05/1.082, allocations: 7.141 kB / 1.064 GB, free: 154.8 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008422/1.083, allocations: 499.9 kB / 1.064 GB, free: 154.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.083, allocations: 9.062 kB / 1.064 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.516e-05/1.083, allocations: 59.09 kB / 1.064 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/1.084, allocations: 82.42 kB / 1.065 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/1.085, allocations: 242.5 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.085, allocations: 12.36 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/1.085, allocations: 24.03 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/1.086, allocations: 291.1 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.086, allocations: 0.625 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/1.086, allocations: 9.844 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/1.086, allocations: 15.33 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/1.086, allocations: 199.9 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/1.088, allocations: 1.466 MB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/1.089, allocations: 179.6 kB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/1.089, allocations: 0.9375 kB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/1.089, allocations: 32.81 kB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.775e-06/1.089, allocations: 0 / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000688/1.09, allocations: 235.6 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.09, allocations: 52.22 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/1.09, allocations: 177.3 kB / 1.067 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.09, allocations: 27.66 kB / 1.067 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.09, allocations: 166.7 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/1.09, allocations: 25.64 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/1.09, allocations: 4.844 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/1.09, allocations: 322.1 kB / 1.068 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/1.09, allocations: 38.22 kB / 1.068 GB, free: 151.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/1.091, allocations: 101.5 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/1.091, allocations: 54.83 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.091, allocations: 0.5 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004892/1.091, allocations: 183.2 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.091, allocations: 10.7 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.091, allocations: 2.562 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/1.091, allocations: 34.2 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/1.092, allocations: 32.27 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/1.093, allocations: 1.326 MB / 1.07 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/1.093, allocations: 17.83 kB / 1.07 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/1.093, allocations: 6.281 kB / 1.07 GB, free: 150.3 MB / 0.698 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 () * Number of clocked 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.0002085/1.093, allocations: 146.6 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/1.093, allocations: 18.38 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/1.093, allocations: 27.61 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.093, allocations: 0.8125 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.094, allocations: 0.75 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.094, allocations: 1.484 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/1.094, allocations: 446.4 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.094, allocations: 1.094 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/1.094, allocations: 11.53 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/1.095, allocations: 21.72 kB / 1.07 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/1.095, allocations: 5.297 kB / 1.07 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/1.096, allocations: 1.316 MB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.096, allocations: 0.7188 kB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/1.096, allocations: 214.3 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/1.096, allocations: 89.97 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/1.096, allocations: 9.609 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.096, allocations: 16.08 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/1.096, allocations: 4.656 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.096, allocations: 2.562 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001947/1.097, allocations: 151.1 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.097, allocations: 0.6875 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004989/1.097, allocations: 48.72 kB / 1.072 GB, free: 148.2 MB / 0.698 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 () * Number of clocked 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.0005204/1.098, allocations: 0.7419 MB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000537/1.098, allocations: 206.9 kB / 1.073 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.098, allocations: 0.5625 kB / 1.073 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/1.098, allocations: 155.8 kB / 1.073 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/1.099, allocations: 37.88 kB / 1.073 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/1.101, allocations: 2.379 MB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/1.102, allocations: 0.752 MB / 1.076 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001937/1.102, allocations: 29.5 kB / 1.076 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/1.102, allocations: 53.88 kB / 1.076 GB, free: 144.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.102, allocations: 0 / 1.076 GB, free: 144.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/1.126, allocations: 3.336 MB / 1.08 GB, free: 144.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.126, allocations: 207.5 kB / 1.08 GB, free: 144.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.437, allocations: 8.188 kB / 1.08 GB, free: 144.1 MB / 0.698 GB