Running command: "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.181/2.181, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.05e-05/5.059e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 49.7 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.559, allocations: 75.64 MB / 404.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5593, allocations: 56.42 kB / 405 MB, free: 7.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001189/0.5605, allocations: 469.5 kB / 405.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5605, allocations: 4 kB / 405.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.5605, allocations: 0 / 405.4 MB, free: 7.27 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003133/0.5609, allocations: 318.5 kB / 405.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5609, allocations: 11.97 kB / 405.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.561, allocations: 30.56 kB / 405.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.561, allocations: 7.906 kB / 405.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.5612, allocations: 159.1 kB / 405.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5612, allocations: 3.812 kB / 405.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.5613, allocations: 7.953 kB / 406 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.5614, allocations: 37.69 kB / 406 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5614, allocations: 0 / 406 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5614, allocations: 0 / 406 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5614, allocations: 0 / 406 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/0.5615, allocations: 14.8 kB / 406 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.5617, allocations: 153 kB / 406.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.258e-05/0.5618, allocations: 30.45 kB / 406.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.5619, allocations: 24.36 kB / 406.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.5619, allocations: 0 / 406.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.5619, allocations: 35.17 kB / 406.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.5619, allocations: 0 / 406.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.5621, allocations: 45.27 kB / 406.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5621, allocations: 55.39 kB / 406.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.5622, allocations: 89 kB / 406.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.5622, allocations: 29.58 kB / 406.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.5623, allocations: 86.44 kB / 406.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.5623, allocations: 19.73 kB / 406.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5623, allocations: 0 / 406.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5625, allocations: 318.7 kB / 406.9 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.5625, allocations: 4 kB / 406.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.5625, allocations: 4 kB / 406.9 MB, free: 5.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/0.5626, allocations: 7 kB / 406.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5626, allocations: 0 / 406.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.5627, allocations: 45.5 kB / 406.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5627, allocations: 9.875 kB / 406.9 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5627, allocations: 3.953 kB / 406.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5628, allocations: 0 / 406.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5629, allocations: 11.94 kB / 407 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5629, allocations: 0 / 407 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.563, allocations: 4 kB / 407 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.563, allocations: 0 / 407 MB, free: 5.555 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 8.539e-05/0.5631, allocations: 104.7 kB / 407.1 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.5631, allocations: 4 kB / 407.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.5631, allocations: 11.48 kB / 407.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5631, allocations: 3.953 kB / 407.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5632, allocations: 0 / 407.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5632, allocations: 7.875 kB / 407.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.5633, allocations: 153.2 kB / 407.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5633, allocations: 2.375 kB / 407.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5635, allocations: 8 kB / 407.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5635, allocations: 0 / 407.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5635, allocations: 0 / 407.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.5635, allocations: 4 kB / 407.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5635, allocations: 4.5 kB / 407.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.5637, allocations: 88.83 kB / 407.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.5638, allocations: 81.09 kB / 407.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.5638, allocations: 0 / 407.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.5638, allocations: 0 / 407.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.5639, allocations: 7.984 kB / 407.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5639, allocations: 0 / 407.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.049e-05/0.564, allocations: 82.59 kB / 407.5 MB, free: 4.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.564, allocations: 4.062 kB / 407.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004869/0.5645, allocations: 4 kB / 407.5 MB, free: 4.918 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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.000621/0.5651, allocations: 0.6038 MB / 408.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.5653, allocations: 19.75 kB / 408.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5653, allocations: 0 / 408.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.5654, allocations: 12.06 kB / 408.2 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.5655, allocations: 3.188 kB / 408.2 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.5662, allocations: 157 kB / 408.3 MB, free: 4.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.5666, allocations: 0.6809 MB / 409 MB, free: 3.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.622e-05/0.5666, allocations: 3.938 kB / 409 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.5667, allocations: 15.44 kB / 409 MB, free: 3.355 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5667, allocations: 0 / 409 MB, free: 3.355 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.5889, allocations: 0.875 MB / 409.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/0.5893, allocations: 141.5 kB / 410 MB, free: 2.312 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.935, allocations: 3.938 kB / 410 MB, free: 2.309 MB / 330.7 MB