Running command: "" <> buildModelFMU(HanserModelica.Magnetic.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_Coupling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.197/2.197, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.695e-05, allocations: 4 kB / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 49.7 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5314/0.6464, allocations: 80.13 MB / 409.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.6467, allocations: 66.16 kB / 409.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02103/0.6678, allocations: 4.577 MB / 414 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6679, allocations: 0 / 414 MB, free: 15.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.6679, allocations: 4 kB / 414 MB, free: 15.45 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009412/0.6688, allocations: 499.2 kB / 414.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.6689, allocations: 8.031 kB / 414.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.894e-05/0.669, allocations: 56.23 kB / 414.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.6691, allocations: 23.72 kB / 414.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.6695, allocations: 227.1 kB / 414.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.6695, allocations: 23.08 kB / 414.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.6696, allocations: 18.56 kB / 414.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.6701, allocations: 233.3 kB / 415.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6701, allocations: 0 / 415.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.6702, allocations: 6.938 kB / 415.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.6702, allocations: 8 kB / 415.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.6706, allocations: 130.4 kB / 415.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.6726, allocations: 0.8741 MB / 416.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.673, allocations: 114.2 kB / 416.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.6731, allocations: 44.05 kB / 416.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.6732, allocations: 4 kB / 416.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.6732, allocations: 42.44 kB / 416.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.056e-06/0.6732, allocations: 0 / 416.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001405/0.6746, allocations: 461.9 kB / 416.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.6747, allocations: 63.33 kB / 416.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.675, allocations: 166.6 kB / 417 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.675, allocations: 25.7 kB / 417 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.6752, allocations: 159.3 kB / 417.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.6752, allocations: 58.19 kB / 417.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.6753, allocations: 3.688 kB / 417.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6754, allocations: 325.2 kB / 417.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.6755, allocations: 34.62 kB / 417.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.6757, allocations: 88.14 kB / 417.7 MB, free: 12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.6759, allocations: 44.25 kB / 417.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6759, allocations: 0 / 417.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004354/0.6764, allocations: 175.9 kB / 417.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6764, allocations: 4 kB / 417.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6764, allocations: 0 / 417.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6764, allocations: 4 kB / 417.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.6769, allocations: 46.98 kB / 417.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.6769, allocations: 7.984 kB / 417.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.6771, allocations: 6.75 kB / 418 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.6771, allocations: 4 kB / 418 MB, free: 11.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001194/0.6773, allocations: 123.8 kB / 418.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.6773, allocations: 11.91 kB / 418.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.6774, allocations: 23.83 kB / 418.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6774, allocations: 0 / 418.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6774, allocations: 3.938 kB / 418.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6775, allocations: 0 / 418.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.6779, allocations: 269.4 kB / 418.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.678, allocations: 3.953 kB / 418.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.6783, allocations: 31.98 kB / 418.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6783, allocations: 0 / 418.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6784, allocations: 11.5 kB / 418.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6784, allocations: 0 / 418.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.6784, allocations: 0 / 418.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.6789, allocations: 278.8 kB / 418.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.6791, allocations: 104.5 kB / 418.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.6792, allocations: 3.625 kB / 418.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.6794, allocations: 11.61 kB / 418.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.6795, allocations: 15.98 kB / 418.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.6795, allocations: 0 / 418.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.6797, allocations: 138.3 kB / 419 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6797, allocations: 4 kB / 419 MB, free: 10.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004295/0.6802, allocations: 39.5 kB / 419 MB, free: 10.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0008647/0.6811, allocations: 0.8113 MB / 419.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.6814, allocations: 104.5 kB / 419.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6814, allocations: 0 / 419.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.6816, allocations: 53.5 kB / 420 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.682, allocations: 19.05 kB / 420 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.6834, allocations: 362.1 kB / 420.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.6838, allocations: 0.748 MB / 421.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.684, allocations: 13.55 kB / 421.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.6842, allocations: 64.16 kB / 421.2 MB, free: 8.668 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6842, allocations: 0 / 421.2 MB, free: 8.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.7141, allocations: 2.983 MB / 424.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/0.7145, allocations: 132.2 kB / 424.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.254, allocations: 8.062 kB / 424.3 MB, free: 5.516 MB / 346.7 MB