Running command: "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.296/2.296, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.747e-05/5.77e-05, allocations: 0 / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 49.71 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.59, allocations: 79.25 MB / 408.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.5904, allocations: 65.28 kB / 408.6 MB, free: 4.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.6017, allocations: 2.684 MB / 411.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6018, allocations: 3.938 kB / 411.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.6018, allocations: 4.656 kB / 411.3 MB, free: 1.875 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006678/0.6025, allocations: 420.6 kB / 411.7 MB, free: 1.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6026, allocations: 12.02 kB / 411.7 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.6027, allocations: 45.5 kB / 411.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.6027, allocations: 19.8 kB / 411.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.603, allocations: 213.9 kB / 412 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.6031, allocations: 10.05 kB / 412 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.6031, allocations: 19.5 kB / 412 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.6035, allocations: 149.2 kB / 412.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6035, allocations: 0 / 412.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.6035, allocations: 6.812 kB / 412.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.6036, allocations: 7.938 kB / 412.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.6038, allocations: 81.09 kB / 412.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.6052, allocations: 0.7477 MB / 413 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.6055, allocations: 65.19 kB / 413.1 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.6056, allocations: 35.3 kB / 413.1 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.6056, allocations: 4 kB / 413.1 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.6056, allocations: 30.56 kB / 413.1 MB, free: 40 kB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.6056, allocations: 0 / 413.1 MB, free: 40 kB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002654/0.6059, allocations: 72.59 kB / 413.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.606, allocations: 51.41 kB / 413.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.6062, allocations: 143.3 kB / 413.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.6062, allocations: 29.2 kB / 413.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.6063, allocations: 137.8 kB / 413.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.6063, allocations: 30.95 kB / 413.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.6064, allocations: 3.688 kB / 413.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6065, allocations: 322.1 kB / 413.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/0.6066, allocations: 19.38 kB / 413.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.6067, allocations: 58.61 kB / 414 MB, free: 15.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.6068, allocations: 30.36 kB / 414 MB, free: 15.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6068, allocations: 0 / 414 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002662/0.6071, allocations: 120.5 kB / 414.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6071, allocations: 4 kB / 414.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6071, allocations: 4.094 kB / 414.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6072, allocations: 3.938 kB / 414.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.6074, allocations: 28.11 kB / 414.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.6074, allocations: 4 kB / 414.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.6076, allocations: 11.78 kB / 414.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.6076, allocations: 11.89 kB / 414.2 MB, free: 15 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * 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 9.337e-05/0.6077, allocations: 108.4 kB / 414.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.6078, allocations: 7.906 kB / 414.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.6078, allocations: 12.12 kB / 414.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.6078, allocations: 3.984 kB / 414.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6078, allocations: 0 / 414.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6079, allocations: 4 kB / 414.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.6082, allocations: 238 kB / 414.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6082, allocations: 0 / 414.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.6084, allocations: 19.98 kB / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6084, allocations: 0 / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.6085, allocations: 3.75 kB / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6085, allocations: 80 / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6085, allocations: 7.922 kB / 414.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.6088, allocations: 199.2 kB / 414.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.6089, allocations: 81.05 kB / 414.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.6089, allocations: 7.984 kB / 414.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.6091, allocations: 7.438 kB / 414.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.6091, allocations: 4 kB / 414.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.6092, allocations: 3.984 kB / 414.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.6093, allocations: 109.7 kB / 415 MB, free: 14.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6093, allocations: 0 / 415 MB, free: 14.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.6097, allocations: 39.34 kB / 415 MB, free: 14.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005832/0.6103, allocations: 0.7321 MB / 415.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.6105, allocations: 57.12 kB / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6105, allocations: 0 / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.6106, allocations: 19.38 kB / 415.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.611, allocations: 27.11 kB / 415.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.6119, allocations: 292.9 kB / 416.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.6123, allocations: 0.7274 MB / 416.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.6124, allocations: 4.891 kB / 416.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.6124, allocations: 45.11 kB / 416.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6125, allocations: 0 / 416.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.6369, allocations: 2.177 MB / 419.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/0.6373, allocations: 137.1 kB / 419.2 MB, free: 9.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.978, allocations: 4.062 kB / 419.2 MB, free: 9.898 MB / 346.7 MB