Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.655/4.655, allocations: 404.1 MB / 411.3 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.023e-05, allocations: 0 / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7462, allocations: 92.68 MB / 0.585 GB, free: 2.289 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/1.049, allocations: 147.3 MB / 0.7289 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004/1.05, allocations: 95.94 kB / 0.729 GB, free: 14.72 MB / 0.6198 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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.09389/1.144, allocations: 19.05 MB / 0.7476 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.344e-06/1.144, allocations: 4 kB / 0.7476 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.537e-05/1.144, allocations: 8 kB / 0.7476 GB, free: 11.41 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001615/1.146, allocations: 0.5939 MB / 0.7482 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.146, allocations: 12.03 kB / 0.7482 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/1.147, allocations: 95.48 kB / 0.7483 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/1.148, allocations: 302.1 kB / 0.7485 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/1.148, allocations: 8 kB / 0.7485 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/1.148, allocations: 20 kB / 0.7486 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000908/1.149, allocations: 286.1 kB / 0.7488 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.15, allocations: 406 kB / 0.7492 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/1.15, allocations: 3.953 kB / 0.7492 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/1.15, allocations: 4 kB / 0.7492 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-05/1.15, allocations: 28.77 kB / 0.7493 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/1.153, allocations: 1.468 MB / 0.7507 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/1.154, allocations: 179.1 kB / 0.7509 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/1.155, allocations: 140.9 kB / 0.751 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/1.155, allocations: 0 / 0.751 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.155, allocations: 38.56 kB / 0.751 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 5.009e-06/1.155, allocations: 0 / 0.751 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007126/1.156, allocations: 189.3 kB / 0.7512 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.156, allocations: 59.41 kB / 0.7513 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/1.156, allocations: 196.4 kB / 0.7515 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/1.156, allocations: 29.69 kB / 0.7515 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/1.156, allocations: 212 kB / 0.7517 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/1.156, allocations: 59.11 kB / 0.7517 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/1.156, allocations: 0 / 0.7517 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.156, allocations: 330.8 kB / 0.7521 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/1.157, allocations: 60.55 kB / 0.7521 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/1.157, allocations: 175.4 kB / 0.7523 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/1.157, allocations: 87.89 kB / 0.7524 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.157, allocations: 4 kB / 0.7524 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008546/1.158, allocations: 266.3 kB / 0.7526 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006241/1.159, allocations: 1.401 MB / 0.754 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.159, allocations: 4 kB / 0.754 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/1.159, allocations: 28.84 kB / 0.754 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/1.16, allocations: 75.83 kB / 0.7541 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005889/1.16, allocations: 0.5446 MB / 0.7546 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/1.161, allocations: 47.66 kB / 0.7547 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/1.161, allocations: 12 kB / 0.7547 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.161, allocations: 4 kB / 0.7547 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005906/1.162, allocations: 195.6 kB / 0.7549 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.162, allocations: 4 kB / 0.7549 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/1.162, allocations: 4 kB / 0.7549 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/1.162, allocations: 76.36 kB / 0.755 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.162, allocations: 11.94 kB / 0.755 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/1.163, allocations: 35.81 kB / 0.755 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/1.163, allocations: 12 kB / 0.755 GB, free: 3.336 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.163, allocations: 108.9 kB / 0.7551 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005875/1.164, allocations: 186.1 kB / 0.7553 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/1.164, allocations: 23.72 kB / 0.7553 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/1.164, allocations: 33.84 kB / 0.7554 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.164, allocations: 4 kB / 0.7554 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.164, allocations: 0 / 0.7554 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.164, allocations: 0 / 0.7554 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/1.165, allocations: 0.5886 MB / 0.7559 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.165, allocations: 3.938 kB / 0.7559 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/1.166, allocations: 39.97 kB / 0.756 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/1.166, allocations: 28.91 kB / 0.756 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/1.166, allocations: 7.984 kB / 0.756 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/1.168, allocations: 1.268 MB / 0.7572 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.168, allocations: 0 / 0.7572 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/1.168, allocations: 329.2 kB / 0.7576 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.168, allocations: 116.8 kB / 0.7577 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/1.169, allocations: 3.984 kB / 0.7577 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.169, allocations: 19.98 kB / 0.7577 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/1.169, allocations: 7.984 kB / 0.7577 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/1.169, allocations: 8 kB / 0.7577 GB, free: 340 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002106/1.169, allocations: 148.5 kB / 0.7579 GB, free: 196 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.41e-07/1.169, allocations: 4 kB / 0.7579 GB, free: 192 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009843/1.17, allocations: 135.4 kB / 0.758 GB, free: 56 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/1.171, allocations: 1.003 MB / 0.759 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00103/1.172, allocations: 282.1 kB / 0.7592 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.173, allocations: 0 / 0.7592 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/1.173, allocations: 185.8 kB / 0.7594 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/1.174, allocations: 50.41 kB / 0.7595 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/1.175, allocations: 481.4 kB / 0.7599 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/1.176, allocations: 0.812 MB / 0.7607 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005885/1.177, allocations: 73.98 kB / 0.7608 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/1.177, allocations: 87.41 kB / 0.7609 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.177, allocations: 3.938 kB / 0.7609 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06067/1.237, allocations: 5.044 MB / 0.7658 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003416/1.238, allocations: 145.2 kB / 0.7659 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.93/4.168, allocations: 0 / 0.7659 GB, free: 7.789 MB / 0.6511 GB