Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.55/4.55, allocations: 404.1 MB / 411.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.467e-05, allocations: 4 kB / 0.4945 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7525, allocations: 92.68 MB / 0.585 GB, free: 2.332 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/1.058, allocations: 145.7 MB / 0.7273 GB, free: 468 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/1.058, allocations: 87.89 kB / 0.7274 GB, free: 380 kB / 0.6042 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.07586/1.134, allocations: 15.84 MB / 0.7429 GB, free: 316 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/1.134, allocations: 0 / 0.7429 GB, free: 316 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.52e-05/1.134, allocations: 12 kB / 0.7429 GB, free: 304 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001267/1.136, allocations: 0.5492 MB / 0.7434 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.136, allocations: 8.031 kB / 0.7434 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/1.137, allocations: 143.4 kB / 0.7436 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/1.138, allocations: 294.3 kB / 0.7438 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/1.138, allocations: 8 kB / 0.7438 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/1.138, allocations: 16 kB / 0.7439 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008362/1.139, allocations: 273.5 kB / 0.7441 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.14, allocations: 407.7 kB / 0.7445 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/1.14, allocations: 3.938 kB / 0.7445 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/1.14, allocations: 0 / 0.7445 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/1.141, allocations: 28.5 kB / 0.7445 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/1.144, allocations: 1.602 MB / 0.7461 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/1.145, allocations: 239.8 kB / 0.7463 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/1.145, allocations: 108.8 kB / 0.7464 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/1.145, allocations: 0 / 0.7464 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.145, allocations: 30.56 kB / 0.7465 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 4.829e-06/1.145, allocations: 4 kB / 0.7465 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0005775/1.146, allocations: 154.6 kB / 0.7466 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.146, allocations: 59.34 kB / 0.7467 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/1.146, allocations: 187.1 kB / 0.7468 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/1.146, allocations: 29.69 kB / 0.7469 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/1.147, allocations: 207.4 kB / 0.7471 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/1.147, allocations: 47.3 kB / 0.7471 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/1.147, allocations: 3.938 kB / 0.7471 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.147, allocations: 334.8 kB / 0.7474 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/1.147, allocations: 48.45 kB / 0.7475 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/1.147, allocations: 131.8 kB / 0.7476 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/1.148, allocations: 71.91 kB / 0.7477 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.148, allocations: 0 / 0.7477 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007279/1.148, allocations: 237.9 kB / 0.7479 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.148, allocations: 4 kB / 0.7479 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.148, allocations: 4 kB / 0.7479 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/1.149, allocations: 29.22 kB / 0.7479 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/1.149, allocations: 47.92 kB / 0.748 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/1.151, allocations: 1.272 MB / 0.7492 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/1.151, allocations: 15.84 kB / 0.7492 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/1.151, allocations: 8 kB / 0.7493 GB, free: 9.301 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0001437/1.151, allocations: 112.9 kB / 0.7494 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004805/1.152, allocations: 154.2 kB / 0.7495 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/1.152, allocations: 23.77 kB / 0.7495 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/1.152, allocations: 26.03 kB / 0.7496 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.152, allocations: 4 kB / 0.7496 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.152, allocations: 0 / 0.7496 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.152, allocations: 0 / 0.7496 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/1.154, allocations: 0.5865 MB / 0.7501 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.154, allocations: 0 / 0.7501 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/1.154, allocations: 31.92 kB / 0.7502 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/1.154, allocations: 20.84 kB / 0.7502 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.154, allocations: 0 / 0.7502 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1.156, allocations: 1.253 MB / 0.7514 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.156, allocations: 0 / 0.7514 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/1.156, allocations: 388.5 kB / 0.7518 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/1.156, allocations: 108.9 kB / 0.7519 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/1.156, allocations: 7.938 kB / 0.7519 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/1.157, allocations: 15.92 kB / 0.7519 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/1.157, allocations: 23.94 kB / 0.7519 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/1.157, allocations: 4 kB / 0.7519 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002293/1.157, allocations: 149.6 kB / 0.7521 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/1.157, allocations: 0 / 0.7521 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007008/1.158, allocations: 67.75 kB / 0.7521 GB, free: 6.059 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.001168/1.159, allocations: 1.325 MB / 0.7534 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000758/1.16, allocations: 242.1 kB / 0.7537 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.16, allocations: 4.25 kB / 0.7537 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/1.16, allocations: 169.7 kB / 0.7538 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/1.161, allocations: 44.58 kB / 0.7539 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/1.163, allocations: 454.9 kB / 0.7543 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/1.164, allocations: 0.8025 MB / 0.7551 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003396/1.164, allocations: 38.05 kB / 0.7551 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/1.164, allocations: 79.41 kB / 0.7552 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/1.164, allocations: 0 / 0.7552 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2196/1.384, allocations: 4.022 MB / 0.7591 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0009965/1.385, allocations: 148.3 kB / 0.7593 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.128/4.513, allocations: 0 / 0.7593 GB, free: 14.56 MB / 0.6511 GB