Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.674e-05, allocations: 4 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08877, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4513, allocations: 86.78 MB / 429.9 MB, free: 7.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4516, allocations: 86.25 kB / 430 MB, free: 7.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1227/0.5743, allocations: 39.68 MB / 469.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.84e-06/0.5744, allocations: 4 kB / 469.6 MB, free: 3.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001889/0.5746, allocations: 32 kB / 469.7 MB, free: 3.031 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003157/0.5778, allocations: 1.93 MB / 471.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5778, allocations: 8.031 kB / 471.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/0.5784, allocations: 285 kB / 471.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.5824, allocations: 1.885 MB / 473.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.5825, allocations: 53.55 kB / 473.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.5828, allocations: 50.11 kB / 473.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008236/0.5836, allocations: 371.5 kB / 474.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.5837, allocations: 0 / 474.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.5837, allocations: 11.88 kB / 474.3 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5837, allocations: 11.94 kB / 474.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.5845, allocations: 295 kB / 474.5 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006222/0.5907, allocations: 3.111 MB / 477.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.5914, allocations: 297.1 kB / 478 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.5918, allocations: 149.7 kB / 478.1 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.5918, allocations: 7.984 kB / 478.1 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.5919, allocations: 38.56 kB / 478.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.269e-06/0.5919, allocations: 0 / 478.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.005742/0.5976, allocations: 2.242 MB / 480.4 MB, free: 8.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.5977, allocations: 89.55 kB / 480.5 MB, free: 8.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/0.6116, allocations: 4.847 MB / 485.3 MB, free: 3.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.6118, allocations: 33.7 kB / 485.4 MB, free: 3.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.6136, allocations: 1.187 MB / 486.5 MB, free: 2.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.6139, allocations: 161.6 kB / 486.7 MB, free: 2.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.6139, allocations: 16.03 kB / 486.7 MB, free: 2.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.6141, allocations: 329.9 kB / 487 MB, free: 2.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.6145, allocations: 133.1 kB / 487.2 MB, free: 2.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.6149, allocations: 203.8 kB / 487.4 MB, free: 1.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.6154, allocations: 161.6 kB / 487.5 MB, free: 1.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.289e-06/0.6154, allocations: 4 kB / 487.5 MB, free: 1.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00335/0.6188, allocations: 1.052 MB / 488.6 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6188, allocations: 4 kB / 488.6 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.734e-06/0.6188, allocations: 0 / 488.6 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/0.6195, allocations: 157.5 kB / 488.7 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.6201, allocations: 99.81 kB / 488.8 MB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.6213, allocations: 0.7475 MB / 489.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.6221, allocations: 27.91 kB / 489.6 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.6222, allocations: 23.94 kB / 489.6 MB, free: 15.55 MB / 410.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 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.6224, allocations: 136.8 kB / 489.8 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/0.623, allocations: 276.5 kB / 490 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.6251, allocations: 0.7688 MB / 490.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.6251, allocations: 4 kB / 490.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.653e-06/0.6251, allocations: 4 kB / 490.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.51e-06/0.6251, allocations: 0 / 490.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.6282, allocations: 1.707 MB / 492.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.158e-06/0.6283, allocations: 0 / 492.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.6289, allocations: 95.88 kB / 492.6 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.6294, allocations: 100.7 kB / 492.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.6294, allocations: 16 kB / 492.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008428/0.6303, allocations: 0.6382 MB / 493.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-06/0.6303, allocations: 0 / 493.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.6326, allocations: 1.079 MB / 494.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/0.6341, allocations: 0.6772 MB / 495.1 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.6344, allocations: 16 kB / 495.1 MB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.6352, allocations: 31.97 kB / 495.2 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6353, allocations: 28.39 kB / 495.2 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.6354, allocations: 19.94 kB / 495.2 MB, free: 9.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007577/0.643, allocations: 3.8 MB / 499 MB, free: 6.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.181e-06/0.643, allocations: 0 / 499 MB, free: 6.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001484/0.6445, allocations: 332 kB / 499.3 MB, free: 5.695 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001502/0.646, allocations: 420.5 kB / 499.7 MB, free: 5.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.6471, allocations: 351 kB / 0.4884 GB, free: 5.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.532e-06/0.6471, allocations: 4 kB / 0.4884 GB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.6476, allocations: 202 kB / 0.4886 GB, free: 4.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.649, allocations: 185.4 kB / 0.4887 GB, free: 4.668 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6591, allocations: 4.836 MB / 0.4935 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/0.6617, allocations: 1.868 MB / 0.4953 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.6628, allocations: 379.6 kB / 0.4957 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000593/0.6634, allocations: 135.4 kB / 0.4958 GB, free: 13.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.637e-06/0.6634, allocations: 0 / 0.4958 GB, free: 13.38 MB / 426.7 MB Notification: Performance of Templates: time 0.06248/0.7259, allocations: 20.29 MB / 0.5156 GB, free: 9.051 MB / 442.7 MB