Running command: "" <> buildModelFMU(HanserModelica.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.094/2.094, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.58e-05, allocations: 4 kB / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 49.7 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5567, allocations: 84.52 MB / 413.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.557, allocations: 69.45 kB / 413.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1456/0.7026, allocations: 33.15 MB / 447 MB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7026, allocations: 8 kB / 447 MB, free: 3.344 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002523/0.7029, allocations: 59.92 kB / 447.1 MB, free: 3.285 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.009194/0.7121, allocations: 2.247 MB / 449.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7122, allocations: 8.031 kB / 449.3 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00124/0.7135, allocations: 331.2 kB / 449.6 MB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.7149, allocations: 280.9 kB / 449.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005042/0.72, allocations: 1.448 MB / 451.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.7203, allocations: 167.5 kB / 451.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.7213, allocations: 243.6 kB / 451.8 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.7314, allocations: 2.918 MB / 454.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.7316, allocations: 3.25 kB / 454.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006386/0.7322, allocations: 100.4 kB / 454.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/0.7323, allocations: 52 kB / 454.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008028/0.7403, allocations: 2.297 MB / 457.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/0.7652, allocations: 7.928 MB / 465.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004499/0.7698, allocations: 3.03 MB / 468.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.7726, allocations: 1.042 MB / 469.1 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.621e-05/0.7727, allocations: 13 kB / 469.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/0.7748, allocations: 0.9201 MB / 470.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.888e-06/0.7749, allocations: 0 / 470.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.01008/0.785, allocations: 3.715 MB / 473.8 MB, free: 9.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.7852, allocations: 201.2 kB / 474 MB, free: 9.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.7878, allocations: 1.101 MB / 475.1 MB, free: 8.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.7881, allocations: 57.69 kB / 475.1 MB, free: 8.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.7894, allocations: 0.9281 MB / 476.1 MB, free: 7.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/0.7901, allocations: 429.8 kB / 476.5 MB, free: 6.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.7902, allocations: 24 kB / 476.5 MB, free: 6.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.7904, allocations: 357.9 kB / 476.9 MB, free: 6.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.792, allocations: 0.6116 MB / 477.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.7939, allocations: 0.8969 MB / 478.4 MB, free: 4.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.7957, allocations: 0.7347 MB / 479.1 MB, free: 4.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.7957, allocations: 4 kB / 479.1 MB, free: 4.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004889/0.8006, allocations: 1.886 MB / 481 MB, free: 2.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.8007, allocations: 8 kB / 481 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.8007, allocations: 8 kB / 481 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.8018, allocations: 288.9 kB / 481.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.8038, allocations: 255.7 kB / 481.5 MB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/0.8112, allocations: 3.766 MB / 485.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.8129, allocations: 88 kB / 485.4 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.8131, allocations: 47.98 kB / 485.4 MB, free: 13.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[5].mean.y,rootMeanSquare[5].mean.y,$PRE.rootMeanSquare[4].mean.y,rootMeanSquare[4].mean.y,$PRE.rootMeanSquare[3].mean.y,rootMeanSquare[3].mean.y,$PRE.rootMeanSquare[2].mean.y,rootMeanSquare[2].mean.y,$PRE.rootMeanSquare[1].mean.y,rootMeanSquare[1].mean.y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004128/0.8135, allocations: 190.9 kB / 485.6 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.8139, allocations: 134.5 kB / 485.8 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.8144, allocations: 169.3 kB / 485.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.8144, allocations: 12 kB / 485.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.8145, allocations: 4 kB / 485.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.8145, allocations: 15.92 kB / 486 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.8262, allocations: 4.216 MB / 490.2 MB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.8262, allocations: 4 kB / 490.2 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.828, allocations: 191.8 kB / 490.4 MB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.8291, allocations: 277 kB / 490.6 MB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.8293, allocations: 43.97 kB / 490.7 MB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007446/0.8368, allocations: 3.697 MB / 494.4 MB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.8368, allocations: 4.031 kB / 494.4 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/0.8438, allocations: 2.784 MB / 497.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.8452, allocations: 363.5 kB / 497.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/0.8457, allocations: 51.95 kB / 497.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.8471, allocations: 79.94 kB / 497.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/0.8477, allocations: 132.8 kB / 497.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.8479, allocations: 39.97 kB / 497.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002094/0.85, allocations: 0.8547 MB / 498.7 MB, free: 104 kB / 410.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.85, allocations: 0 / 498.7 MB, free: 104 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.002352/0.8524, allocations: 432 kB / 499.1 MB, free: 15.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,inductorLoad.inductor[4].i,inductorLoad.inductor[5].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y,rootMeanSquare[1].mean.y,rootMeanSquare[2].mean.y,rootMeanSquare[3].mean.y,rootMeanSquare[4].mean.y,rootMeanSquare[5].mean.y) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007259/0.8597, allocations: 3.744 MB / 0.491 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004726/0.8644, allocations: 1.699 MB / 0.4927 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.8645, allocations: 4.188 kB / 0.4927 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.8676, allocations: 1.015 MB / 0.4937 GB, free: 9.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.8703, allocations: 293.1 kB / 0.494 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.884, allocations: 4.495 MB / 0.4984 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.8869, allocations: 2.05 MB / 0.5004 GB, free: 2.191 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001758/0.8886, allocations: 358 kB / 0.5007 GB, free: 1.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/0.8905, allocations: 0.7531 MB / 0.5014 GB, free: 1.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8905, allocations: 0 / 0.5014 GB, free: 1.086 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4363/1.327, allocations: 34.39 MB / 0.535 GB, free: 131.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.327, allocations: 162.1 kB / 0.5352 GB, free: 130.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/4.974, allocations: 0 / 0.5352 GB, free: 130.9 MB / 442.7 MB