Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.841/4.841, allocations: 404.1 MB / 411.3 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.897e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7146, allocations: 92.69 MB / 0.585 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/1.001, allocations: 141.4 MB / 0.7232 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005543/1.002, allocations: 87.94 kB / 0.7233 GB, free: 4.566 MB / 0.6042 GB [/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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.0852/1.087, allocations: 9.406 MB / 0.7325 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.514e-06/1.087, allocations: 0 / 0.7325 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.34e-05/1.087, allocations: 4 kB / 0.7325 GB, free: 11.03 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001008/1.088, allocations: 422.3 kB / 0.7329 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.557e-05/1.088, allocations: 12.03 kB / 0.7329 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.09, allocations: 51.77 kB / 0.7329 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/1.09, allocations: 214.8 kB / 0.7331 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/1.09, allocations: 4 kB / 0.7331 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/1.09, allocations: 8 kB / 0.7331 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006036/1.091, allocations: 124.2 kB / 0.7333 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007745/1.092, allocations: 198.5 kB / 0.7334 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.092, allocations: 4 kB / 0.7334 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/1.092, allocations: 3.953 kB / 0.7334 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.24e-05/1.092, allocations: 20.25 kB / 0.7335 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/1.094, allocations: 0.833 MB / 0.7343 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/1.094, allocations: 22.58 kB / 0.7343 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/1.094, allocations: 12.86 kB / 0.7343 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/1.094, allocations: 4.094 kB / 0.7343 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/1.094, allocations: 34.55 kB / 0.7344 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/1.094, allocations: 0 / 0.7344 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002383/1.094, allocations: 53.59 kB / 0.7344 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.094, allocations: 51.41 kB / 0.7345 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/1.095, allocations: 131 kB / 0.7346 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.095, allocations: 29.64 kB / 0.7346 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/1.095, allocations: 151.2 kB / 0.7348 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/1.095, allocations: 15.89 kB / 0.7348 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/1.095, allocations: 0 / 0.7348 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.095, allocations: 322.8 kB / 0.7351 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/1.095, allocations: 15.98 kB / 0.7351 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/1.095, allocations: 89.38 kB / 0.7352 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/1.096, allocations: 32.44 kB / 0.7352 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/1.096, allocations: 4 kB / 0.7352 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003634/1.096, allocations: 113.4 kB / 0.7353 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005479/1.097, allocations: 0.9651 MB / 0.7363 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.097, allocations: 4 kB / 0.7363 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.097, allocations: 8 kB / 0.7363 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/1.097, allocations: 23.98 kB / 0.7363 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.097, allocations: 3.938 kB / 0.7363 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/1.097, allocations: 15.84 kB / 0.7363 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/1.097, allocations: 4 kB / 0.7363 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.097, allocations: 6.812 kB / 0.7363 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002628/1.097, allocations: 84.02 kB / 0.7364 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.097, allocations: 4 kB / 0.7364 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/1.097, allocations: 4 kB / 0.7364 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.098, allocations: 23.94 kB / 0.7364 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.098, allocations: 7.984 kB / 0.7364 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/1.098, allocations: 11.89 kB / 0.7365 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/1.098, allocations: 8 kB / 0.7365 GB, free: 6.578 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.098, allocations: 111 kB / 0.7366 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001512/1.098, allocations: 53.59 kB / 0.7366 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/1.098, allocations: 11.97 kB / 0.7366 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/1.098, allocations: 8.344 kB / 0.7366 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.098, allocations: 3.953 kB / 0.7366 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.098, allocations: 192 / 0.7366 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.098, allocations: 3.984 kB / 0.7366 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/1.099, allocations: 416.8 kB / 0.737 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.099, allocations: 96 / 0.737 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/1.099, allocations: 8 kB / 0.737 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/1.099, allocations: 3.953 kB / 0.7371 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.099, allocations: 4 kB / 0.7371 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.099, allocations: 3.984 kB / 0.7371 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.099, allocations: 0 / 0.7371 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/1.099, allocations: 126 kB / 0.7372 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/1.099, allocations: 89 kB / 0.7373 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/1.1, allocations: 0 / 0.7373 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/1.1, allocations: 0 / 0.7373 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/1.1, allocations: 4 kB / 0.7373 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/1.1, allocations: 0 / 0.7373 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001304/1.1, allocations: 109.1 kB / 0.7374 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.12e-07/1.1, allocations: 3.938 kB / 0.7374 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007727/1.101, allocations: 55.78 kB / 0.7374 GB, free: 5.457 MB / 0.6198 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006476/1.101, allocations: 0.8015 MB / 0.7382 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003336/1.102, allocations: 87.78 kB / 0.7383 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.102, allocations: 0 / 0.7383 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/1.102, allocations: 8 kB / 0.7383 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/1.102, allocations: 17.42 kB / 0.7383 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/1.103, allocations: 227.9 kB / 0.7385 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/1.103, allocations: 0.7202 MB / 0.7392 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000238/1.104, allocations: 32.52 kB / 0.7393 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.104, allocations: 39.36 kB / 0.7393 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/1.104, allocations: 0 / 0.7393 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/1.153, allocations: 1.644 MB / 0.7409 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003332/1.153, allocations: 157.7 kB / 0.7411 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.648/3.802, allocations: 0.7031 kB / 0.7411 GB, free: 1.598 MB / 0.6198 GB