Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.954/4.954, allocations: 404.1 MB / 411.3 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.57e-05, allocations: 4 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.659, allocations: 92.69 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.9508, allocations: 145.5 MB / 0.7271 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.9512, allocations: 91.95 kB / 0.7272 GB, free: 0.5078 MB / 0.6042 GB [/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/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/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.0468/0.998, allocations: 11.11 MB / 0.7381 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.998, allocations: 0 / 0.7381 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.9981, allocations: 4 kB / 0.7381 GB, free: 5.223 MB / 0.6198 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.000941/0.999, allocations: 478.2 kB / 0.7385 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.9991, allocations: 8.031 kB / 0.7385 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1, allocations: 83.61 kB / 0.7386 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/1.001, allocations: 240.6 kB / 0.7389 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/1.001, allocations: 4 kB / 0.7389 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/1.001, allocations: 15.98 kB / 0.7389 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005362/1.002, allocations: 172.8 kB / 0.739 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/1.002, allocations: 262.8 kB / 0.7393 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.002, allocations: 0 / 0.7393 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/1.002, allocations: 3.953 kB / 0.7393 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.002, allocations: 12.38 kB / 0.7393 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/1.005, allocations: 1.052 MB / 0.7403 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/1.005, allocations: 175.7 kB / 0.7405 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/1.005, allocations: 28.8 kB / 0.7405 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/1.005, allocations: 8.031 kB / 0.7405 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.005, allocations: 34.55 kB / 0.7406 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/1.005, allocations: 0 / 0.7406 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004111/1.006, allocations: 106.3 kB / 0.7407 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.006, allocations: 51.41 kB / 0.7407 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/1.006, allocations: 157.5 kB / 0.7409 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/1.006, allocations: 29.64 kB / 0.7409 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/1.006, allocations: 171.6 kB / 0.7411 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/1.006, allocations: 23.64 kB / 0.7411 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/1.006, allocations: 0 / 0.7411 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.006, allocations: 326.8 kB / 0.7414 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/1.006, allocations: 35.92 kB / 0.7414 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/1.007, allocations: 93.09 kB / 0.7415 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/1.007, allocations: 51.86 kB / 0.7416 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.007, allocations: 0 / 0.7416 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004878/1.007, allocations: 170.1 kB / 0.7417 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.007, allocations: 6.969 kB / 0.7417 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.007, allocations: 7.953 kB / 0.7417 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/1.008, allocations: 29.12 kB / 0.7418 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.008, allocations: 27.92 kB / 0.7418 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/1.009, allocations: 1.26 MB / 0.743 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/1.009, allocations: 11.84 kB / 0.743 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/1.009, allocations: 8 kB / 0.743 GB, free: 15.72 MB / 0.6355 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 (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.0001126/1.01, allocations: 110.5 kB / 0.7432 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000327/1.01, allocations: 106.3 kB / 0.7433 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/1.01, allocations: 15.81 kB / 0.7433 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/1.01, allocations: 21.94 kB / 0.7433 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.01, allocations: 0 / 0.7433 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.01, allocations: 0 / 0.7433 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.01, allocations: 0 / 0.7433 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007456/1.011, allocations: 400 kB / 0.7437 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.011, allocations: 0 / 0.7437 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/1.011, allocations: 8 kB / 0.7437 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/1.011, allocations: 24.91 kB / 0.7437 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.011, allocations: 4 kB / 0.7437 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.012, allocations: 1.252 MB / 0.7449 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.012, allocations: 4.031 kB / 0.7449 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/1.013, allocations: 208.2 kB / 0.7451 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.013, allocations: 100.8 kB / 0.7452 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/1.013, allocations: 4 kB / 0.7452 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.013, allocations: 0 / 0.7452 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/1.013, allocations: 8.094 kB / 0.7452 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.013, allocations: 11.92 kB / 0.7452 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001498/1.013, allocations: 128.3 kB / 0.7454 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/1.013, allocations: 0 / 0.7454 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005661/1.014, allocations: 47.84 kB / 0.7454 GB, free: 13.08 MB / 0.6355 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 (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.0006765/1.015, allocations: 0.7402 MB / 0.7461 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000497/1.015, allocations: 189.7 kB / 0.7463 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.015, allocations: 0 / 0.7463 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/1.015, allocations: 138.3 kB / 0.7465 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/1.016, allocations: 29 kB / 0.7465 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.017, allocations: 283.2 kB / 0.7468 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.017, allocations: 0.7592 MB / 0.7475 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001677/1.018, allocations: 17.19 kB / 0.7475 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.018, allocations: 51.42 kB / 0.7476 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/1.018, allocations: 4 kB / 0.7476 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1937/1.211, allocations: 2.721 MB / 0.7502 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000294/1.212, allocations: 145.5 kB / 0.7504 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.139/4.351, allocations: 0 / 0.7504 GB, free: 7.883 MB / 0.6355 GB