Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.299/2.299, 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.001529/0.001529, allocations: 175.8 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.436/2.436, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001121/0.001121, allocations: 100.9 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006457/0.0006459, allocations: 12 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2305, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.4986, allocations: 158.7 MB / 1.054 GB, free: 2.543 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/0.499, allocations: 95.94 kB / 1.054 GB, free: 2.449 MB / 0.698 GB [/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/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/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.6528/1.152, allocations: 11.79 MB / 1.065 GB, free: 155.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.152, allocations: 0.75 kB / 1.065 GB, free: 155.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.498e-05/1.152, allocations: 4.188 kB / 1.065 GB, free: 155.2 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001011/1.153, allocations: 0.51 MB / 1.066 GB, free: 154.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.153, allocations: 9.297 kB / 1.066 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/1.153, allocations: 67.02 kB / 1.066 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009883/1.154, allocations: 81.08 kB / 1.066 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/1.155, allocations: 246 kB / 1.066 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.155, allocations: 16.56 kB / 1.066 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/1.155, allocations: 17.56 kB / 1.066 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/1.156, allocations: 311 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/1.156, allocations: 0.9688 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/1.156, allocations: 7.922 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/1.156, allocations: 17.05 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/1.156, allocations: 215.9 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/1.158, allocations: 1.501 MB / 1.068 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/1.159, allocations: 200.8 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/1.159, allocations: 1.062 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/1.159, allocations: 36.56 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/1.159, allocations: 0 / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008358/1.16, allocations: 260.2 kB / 1.069 GB, free: 152.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/1.16, allocations: 56.89 kB / 1.069 GB, free: 152.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/1.16, allocations: 192.8 kB / 1.069 GB, free: 152.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/1.16, allocations: 26.48 kB / 1.069 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.16, allocations: 177.2 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/1.16, allocations: 26.2 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/1.161, allocations: 5.25 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/1.161, allocations: 324.7 kB / 1.07 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.161, allocations: 43.45 kB / 1.07 GB, free: 152.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/1.161, allocations: 113.7 kB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/1.161, allocations: 63.77 kB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.161, allocations: 0.8438 kB / 1.07 GB, free: 152.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000599/1.162, allocations: 216 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.162, allocations: 5.594 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.162, allocations: 2.828 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/1.162, allocations: 29.7 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/1.162, allocations: 28.53 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/1.164, allocations: 1.317 MB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.164, allocations: 31.09 kB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/1.164, allocations: 14.52 kB / 1.071 GB, free: 150.7 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 (18): * Single equations (assignments): 17 * 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.0002149/1.164, allocations: 142.8 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/1.164, allocations: 24.02 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/1.164, allocations: 16.78 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.164, allocations: 1.688 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.164, allocations: 4 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.164, allocations: 5.016 kB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/1.165, allocations: 485.9 kB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.165, allocations: 1.688 kB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/1.165, allocations: 8.812 kB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/1.165, allocations: 25.19 kB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.165, allocations: 0.8438 kB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009798/1.166, allocations: 1.314 MB / 1.073 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.166, allocations: 1.062 kB / 1.073 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/1.167, allocations: 242.2 kB / 1.074 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/1.167, allocations: 103.6 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/1.167, allocations: 0.875 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.167, allocations: 13.19 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/1.167, allocations: 11.42 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.167, allocations: 5.578 kB / 1.074 GB, free: 148.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001889/1.168, allocations: 144.7 kB / 1.074 GB, free: 148.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.168, allocations: 0 / 1.074 GB, free: 148.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005408/1.168, allocations: 54.78 kB / 1.074 GB, free: 148.6 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 (7): * Single equations (assignments): 6 * 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.000664/1.169, allocations: 0.7658 MB / 1.075 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006707/1.17, allocations: 231.9 kB / 1.075 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.17, allocations: 0.75 kB / 1.075 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/1.17, allocations: 157.3 kB / 1.075 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/1.17, allocations: 36.7 kB / 1.075 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/1.173, allocations: 2.499 MB / 1.078 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.173, allocations: 0.7571 MB / 1.078 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000216/1.174, allocations: 21.97 kB / 1.078 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/1.174, allocations: 60.2 kB / 1.078 GB, free: 145 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.174, allocations: 0 / 1.078 GB, free: 145 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/1.205, allocations: 3.584 MB / 1.082 GB, free: 144.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.205, allocations: 204.7 kB / 1.082 GB, free: 144.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.612, allocations: 0 / 1.082 GB, free: 144.3 MB / 0.698 GB