Running command: "" <> buildModelFMU(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.145/2.145, allocations: 214.7 MB / 226.8 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.896e-05/3.917e-05, allocations: 3.984 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5535, allocations: 82.07 MB / 411.3 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.5537, allocations: 64.72 kB / 411.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06031/0.6141, allocations: 10.05 MB / 421.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6141, allocations: 0 / 421.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.174e-05/0.6142, allocations: 23.98 kB / 421.5 MB, free: 8.949 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001818/0.616, allocations: 0.6978 MB / 422.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.6161, allocations: 12.02 kB / 422.2 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.6163, allocations: 90.64 kB / 422.3 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.6165, allocations: 59.25 kB / 422.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.6172, allocations: 358.7 kB / 422.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.6173, allocations: 42.62 kB / 422.7 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6174, allocations: 49.05 kB / 422.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.6187, allocations: 489.1 kB / 423.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6187, allocations: 3.938 kB / 423.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.6188, allocations: 25.38 kB / 423.3 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6188, allocations: 12 kB / 423.3 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.6198, allocations: 334.2 kB / 423.6 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.6243, allocations: 1.968 MB / 425.6 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.6251, allocations: 292.1 kB / 425.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/0.6258, allocations: 204.4 kB / 426.1 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.6259, allocations: 8.281 kB / 426.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6259, allocations: 38.53 kB / 426.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/0.6259, allocations: 0 / 426.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.006024/0.6319, allocations: 1.479 MB / 427.6 MB, free: 3.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.6321, allocations: 63.77 kB / 427.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.6325, allocations: 262.2 kB / 427.9 MB, free: 3.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.6326, allocations: 33.64 kB / 427.9 MB, free: 3.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.6328, allocations: 265.8 kB / 428.2 MB, free: 3.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.633, allocations: 164.5 kB / 428.4 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.6331, allocations: 11.38 kB / 428.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6332, allocations: 346.1 kB / 428.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.6336, allocations: 133.5 kB / 428.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.6341, allocations: 208.8 kB / 429 MB, free: 2.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.6345, allocations: 162.3 kB / 429.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6345, allocations: 7.938 kB / 429.2 MB, free: 2.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001452/0.636, allocations: 0.5109 MB / 429.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.6361, allocations: 7.984 kB / 429.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6361, allocations: 7.938 kB / 429.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/0.6365, allocations: 92.56 kB / 429.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000867/0.6374, allocations: 111.7 kB / 429.9 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.6415, allocations: 3.288 MB / 433.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.6422, allocations: 22.61 kB / 433.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.6423, allocations: 15.38 kB / 433.3 MB, free: 14.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.6425, allocations: 130.2 kB / 433.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6426, allocations: 46.78 kB / 433.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.6427, allocations: 47.52 kB / 433.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6427, allocations: 4 kB / 433.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.6428, allocations: 0 / 433.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.6428, allocations: 7.984 kB / 433.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.6454, allocations: 1.158 MB / 434.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6455, allocations: 0 / 434.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.6463, allocations: 83.64 kB / 434.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.6467, allocations: 98.08 kB / 434.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.6468, allocations: 23.12 kB / 434.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.6508, allocations: 3.276 MB / 438.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6509, allocations: 4.031 kB / 438.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.6528, allocations: 0.763 MB / 438.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.6531, allocations: 149.7 kB / 439 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.6532, allocations: 11 kB / 439 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.6537, allocations: 30.47 kB / 439.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.6539, allocations: 39.2 kB / 439.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.654, allocations: 19.36 kB / 439.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003248/0.6543, allocations: 196.5 kB / 439.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6543, allocations: 4 kB / 439.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009742/0.6553, allocations: 120.1 kB / 439.4 MB, free: 9.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.converter1.i,transformer.converter1.Phi) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002215/0.6575, allocations: 1.464 MB / 440.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.659, allocations: 0.613 MB / 441.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6591, allocations: 4 kB / 441.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6601, allocations: 476.1 kB / 442 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.6607, allocations: 50.03 kB / 442 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.6636, allocations: 0.822 MB / 442.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.6642, allocations: 0.8587 MB / 443.7 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.6646, allocations: 39.27 kB / 443.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.6649, allocations: 162.4 kB / 443.9 MB, free: 5.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6649, allocations: 0 / 443.9 MB, free: 5.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.7087, allocations: 8.193 MB / 452.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/0.7091, allocations: 166.5 kB / 452.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/3.486, allocations: 3.938 kB / 452.3 MB, free: 12.93 MB / 378.7 MB