Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.348/4.348, allocations: 460.4 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.486e-05, allocations: 0 / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2475, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9417/1.189, allocations: 148.2 MB / 0.8167 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.19, allocations: 79.97 kB / 0.8167 GB, free: 12.71 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.0208/1.21, allocations: 5.583 MB / 0.8222 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/1.211, allocations: 0 / 0.8222 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.949e-05/1.211, allocations: 3.875 kB / 0.8222 GB, free: 11.9 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006739/1.211, allocations: 460.6 kB / 0.8226 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.211, allocations: 7.688 kB / 0.8226 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/1.211, allocations: 41.94 kB / 0.8227 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/1.212, allocations: 33.36 kB / 0.8227 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/1.212, allocations: 211 kB / 0.8229 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/1.212, allocations: 33.8 kB / 0.8229 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/1.212, allocations: 11 kB / 0.823 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/1.213, allocations: 145.8 kB / 0.8231 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.213, allocations: 11.89 kB / 0.8231 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/1.213, allocations: 7.188 kB / 0.8231 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/1.213, allocations: 4 kB / 0.8231 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/1.213, allocations: 71.91 kB / 0.8232 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/1.214, allocations: 0.6353 MB / 0.8238 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/1.215, allocations: 52.66 kB / 0.8239 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/1.215, allocations: 22.73 kB / 0.8239 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/1.215, allocations: 0 / 0.8239 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/1.215, allocations: 140.7 kB / 0.824 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.716e-06/1.215, allocations: 0 / 0.824 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003966/1.216, allocations: 130.5 kB / 0.8241 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/1.216, allocations: 136.3 kB / 0.8243 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/1.216, allocations: 158.7 kB / 0.8244 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/1.216, allocations: 29.48 kB / 0.8244 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.216, allocations: 138.1 kB / 0.8246 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/1.216, allocations: 23.03 kB / 0.8246 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/1.216, allocations: 6.938 kB / 0.8246 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/1.216, allocations: 325.8 kB / 0.8249 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/1.216, allocations: 29.56 kB / 0.8249 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/1.217, allocations: 103.9 kB / 0.825 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/1.217, allocations: 96.95 kB / 0.8251 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.217, allocations: 4 kB / 0.8251 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005925/1.217, allocations: 221.4 kB / 0.8254 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/1.217, allocations: 70.56 kB / 0.8254 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.218, allocations: 0 / 0.8254 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/1.218, allocations: 3.875 kB / 0.8254 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/1.218, allocations: 31.45 kB / 0.8255 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.218, allocations: 7.812 kB / 0.8255 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/1.218, allocations: 30.86 kB / 0.8255 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/1.218, allocations: 11.66 kB / 0.8255 GB, free: 9.164 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/1.218, allocations: 153.8 kB / 0.8256 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/1.219, allocations: 11.53 kB / 0.8257 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/1.219, allocations: 16.89 kB / 0.8257 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.219, allocations: 7.938 kB / 0.8257 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.219, allocations: 0 / 0.8257 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.219, allocations: 0 / 0.8257 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/1.219, allocations: 213.9 kB / 0.8259 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.219, allocations: 0 / 0.8259 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.22, allocations: 11.67 kB / 0.8259 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.22, allocations: 0 / 0.8259 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/1.22, allocations: 7.438 kB / 0.8259 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.22, allocations: 3.953 kB / 0.8259 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.22, allocations: 4 kB / 0.8259 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/1.22, allocations: 199.2 kB / 0.8261 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/1.22, allocations: 88.8 kB / 0.8262 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/1.22, allocations: 3.875 kB / 0.8262 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/1.221, allocations: 11.64 kB / 0.8262 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/1.221, allocations: 14.81 kB / 0.8262 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/1.221, allocations: 3.844 kB / 0.8262 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002329/1.221, allocations: 136 kB / 0.8263 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.61e-07/1.221, allocations: 0 / 0.8263 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007094/1.222, allocations: 30.88 kB / 0.8264 GB, free: 24.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/1.223, allocations: 0.7337 MB / 0.8271 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005174/1.223, allocations: 207 kB / 0.8273 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.224, allocations: 0 / 0.8273 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/1.224, allocations: 95.97 kB / 0.8274 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/1.224, allocations: 19 kB / 0.8274 GB, free: 23.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/1.225, allocations: 241.5 kB / 0.8276 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/1.226, allocations: 0.7297 MB / 0.8283 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001672/1.226, allocations: 16.44 kB / 0.8284 GB, free: 22.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.226, allocations: 32.08 kB / 0.8284 GB, free: 22.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/1.226, allocations: 4 kB / 0.8284 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06245/1.289, allocations: 2.637 MB / 0.831 GB, free: 21.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.289, allocations: 175.7 kB / 0.8311 GB, free: 21.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/3.517, allocations: 0 / 0.8311 GB, free: 21.16 MB / 0.6511 GB