Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.938/2.938, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.239e-05, allocations: 2.188 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5262/0.6617, allocations: 81.22 MB / 375.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.6621, allocations: 76.55 kB / 375.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05329/0.7154, allocations: 9.099 MB / 384.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.7155, allocations: 0 / 384.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.7155, allocations: 3.969 kB / 384.7 MB, free: 20.19 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001779/0.7173, allocations: 0.5876 MB / 385.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7174, allocations: 7.875 kB / 385.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.691e-05/0.7175, allocations: 52.97 kB / 385.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.7176, allocations: 39.11 kB / 385.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.7183, allocations: 328.2 kB / 385.7 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-05/0.7184, allocations: 41.88 kB / 385.7 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.7187, allocations: 31.39 kB / 385.7 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000799/0.7195, allocations: 237.3 kB / 386 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.7202, allocations: 261.4 kB / 386.2 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.7202, allocations: 3.984 kB / 386.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.7203, allocations: 3.953 kB / 386.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.7203, allocations: 7.781 kB / 386.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.7231, allocations: 1.102 MB / 387.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.7237, allocations: 253.1 kB / 387.6 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.7241, allocations: 136.4 kB / 387.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.7242, allocations: 7.281 kB / 387.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.7242, allocations: 41.77 kB / 387.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.757e-06/0.7242, allocations: 0 / 387.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.01602/0.7403, allocations: 1.913 MB / 389.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.7404, allocations: 88.7 kB / 389.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.741, allocations: 246.7 kB / 390 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.7411, allocations: 25.7 kB / 390 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.7413, allocations: 165.5 kB / 390.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.7415, allocations: 136.7 kB / 390.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.7415, allocations: 0 / 390.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.7417, allocations: 339.4 kB / 390.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.7422, allocations: 135 kB / 390.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.7427, allocations: 187.9 kB / 391 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.7432, allocations: 148 kB / 391.1 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7432, allocations: 0 / 391.1 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01793/0.7612, allocations: 1.434 MB / 392.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.7613, allocations: 6.406 kB / 392.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.7613, allocations: 3.188 kB / 392.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/0.7794, allocations: 1.038 MB / 393.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.7803, allocations: 64.95 kB / 393.7 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03074/0.8111, allocations: 4.272 MB / 397.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.8128, allocations: 28.73 kB / 398 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.8129, allocations: 20.25 kB / 398 MB, free: 14.19 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004165/0.8134, allocations: 123.8 kB / 398.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.8137, allocations: 30.25 kB / 398.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/0.818, allocations: 0.563 MB / 398.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.818, allocations: 3.844 kB / 398.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8181, allocations: 3.938 kB / 398.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.8181, allocations: 7.516 kB / 398.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007974/0.8261, allocations: 1.132 MB / 399.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/0.8262, allocations: 0 / 399.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.828, allocations: 92.95 kB / 399.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004863/0.8329, allocations: 261.7 kB / 400.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.8331, allocations: 6.969 kB / 400.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009816/0.8429, allocations: 2.077 MB / 402.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/0.843, allocations: 4 kB / 402.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.8486, allocations: 0.9033 MB / 403.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.8492, allocations: 155.6 kB / 403.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.8494, allocations: 0 / 403.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.851, allocations: 23.45 kB / 403.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.8514, allocations: 43.52 kB / 403.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.8515, allocations: 15.38 kB / 403.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000565/0.8521, allocations: 196.1 kB / 403.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.8521, allocations: 0 / 403.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002169/0.8543, allocations: 119.3 kB / 403.7 MB, free: 11.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.006767/0.8611, allocations: 1.556 MB / 405.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.8638, allocations: 0.5142 MB / 405.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.8638, allocations: 0 / 405.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.8652, allocations: 328.7 kB / 406.1 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8663, allocations: 27.3 kB / 406.1 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.8716, allocations: 0.7826 MB / 406.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008368/0.8725, allocations: 0.7984 MB / 407.7 MB, free: 8.688 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006121/0.8731, allocations: 34.91 kB / 407.8 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.8737, allocations: 120.1 kB / 407.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.8738, allocations: 0 / 407.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/0.9913, allocations: 10.45 MB / 418.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003993/0.9918, allocations: 180.4 kB / 418.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.094/5.086, allocations: 0 / 418.5 MB, free: 15.07 MB / 330.7 MB