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.353/2.353, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001596/0.001596, allocations: 181.7 kB / 315.4 MB, free: 3.992 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.109/2.109, allocations: 205.3 MB / 0.5662 GB, free: 0.6289 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.001181/0.001181, allocations: 86.53 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.495e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2184, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9166/1.135, allocations: 158.9 MB / 1.039 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.135, allocations: 93.19 kB / 1.039 GB, free: 14.29 MB / 0.6667 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.0469/1.182, allocations: 11.65 MB / 1.051 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.348e-06/1.182, allocations: 7.984 kB / 1.051 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.305e-05/1.182, allocations: 8 kB / 1.051 GB, free: 4.723 MB / 0.6667 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.0009636/1.183, allocations: 489.4 kB / 1.051 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.183, allocations: 8.031 kB / 1.051 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/1.184, allocations: 87.64 kB / 1.051 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/1.185, allocations: 254.1 kB / 1.052 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/1.185, allocations: 8 kB / 1.052 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/1.185, allocations: 8 kB / 1.052 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005454/1.186, allocations: 172.1 kB / 1.052 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/1.186, allocations: 276.2 kB / 1.052 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/1.186, allocations: 0 / 1.052 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/1.186, allocations: 0 / 1.052 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/1.186, allocations: 23.59 kB / 1.052 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/1.189, allocations: 1.438 MB / 1.053 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/1.189, allocations: 182.1 kB / 1.054 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/1.19, allocations: 38.22 kB / 1.054 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/1.19, allocations: 4 kB / 1.054 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.19, allocations: 37.25 kB / 1.054 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 3.407e-06/1.19, allocations: 0 / 1.054 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004261/1.19, allocations: 102.3 kB / 1.054 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/1.19, allocations: 59.33 kB / 1.054 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/1.19, allocations: 179.5 kB / 1.054 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/1.19, allocations: 25.7 kB / 1.054 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.191, allocations: 172.8 kB / 1.054 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/1.191, allocations: 27.03 kB / 1.054 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/1.191, allocations: 4 kB / 1.054 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.191, allocations: 326.7 kB / 1.055 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/1.191, allocations: 34.38 kB / 1.055 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/1.191, allocations: 101.5 kB / 1.055 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.191, allocations: 51.56 kB / 1.055 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.191, allocations: 7.938 kB / 1.055 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005089/1.192, allocations: 168.9 kB / 1.055 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.192, allocations: 8 kB / 1.055 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.192, allocations: 3.953 kB / 1.055 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/1.192, allocations: 32.19 kB / 1.055 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/1.192, allocations: 31.92 kB / 1.055 GB, free: 484 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/1.194, allocations: 1.272 MB / 1.056 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/1.194, allocations: 19.83 kB / 1.056 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/1.194, allocations: 4 kB / 1.056 GB, free: 15.11 MB / 0.6823 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 () * 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.0001182/1.194, allocations: 112.3 kB / 1.056 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003337/1.195, allocations: 115.4 kB / 1.056 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/1.195, allocations: 19.91 kB / 1.056 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/1.195, allocations: 20.77 kB / 1.056 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.195, allocations: 0 / 1.056 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.195, allocations: 4 kB / 1.056 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/1.195, allocations: 0 / 1.056 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/1.196, allocations: 416.5 kB / 1.057 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.196, allocations: 3.938 kB / 1.057 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/1.196, allocations: 11.98 kB / 1.057 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/1.196, allocations: 28.38 kB / 1.057 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.196, allocations: 3.938 kB / 1.057 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/1.197, allocations: 1.254 MB / 1.058 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.197, allocations: 0 / 1.058 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/1.198, allocations: 221.3 kB / 1.058 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/1.198, allocations: 92.48 kB / 1.058 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/1.198, allocations: 3.984 kB / 1.058 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/1.198, allocations: 12.09 kB / 1.058 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/1.198, allocations: 7.984 kB / 1.058 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.198, allocations: 4 kB / 1.058 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001668/1.198, allocations: 142.8 kB / 1.059 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/1.198, allocations: 3.938 kB / 1.059 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005083/1.199, allocations: 47.84 kB / 1.059 GB, free: 12.57 MB / 0.6823 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 () * 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.0006993/1.2, allocations: 0.7428 MB / 1.059 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005356/1.2, allocations: 204.6 kB / 1.06 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.2, allocations: 0 / 1.06 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/1.2, allocations: 148.9 kB / 1.06 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/1.201, allocations: 31.25 kB / 1.06 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.202, allocations: 294.4 kB / 1.06 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.202, allocations: 0.7576 MB / 1.061 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002071/1.203, allocations: 29.64 kB / 1.061 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.203, allocations: 55.23 kB / 1.061 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.523e-06/1.203, allocations: 0 / 1.061 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/1.246, allocations: 3.003 MB / 1.064 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/1.247, allocations: 144.2 kB / 1.064 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.654, allocations: 0 / 1.064 GB, free: 7.172 MB / 0.6823 GB