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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.251e-05, allocations: 4 kB / 292.2 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09018, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.4903, allocations: 86.78 MB / 429.3 MB, free: 7.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004324/0.4908, allocations: 84.23 kB / 429.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1569/0.6477, allocations: 39.69 MB / 469.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.452e-06/0.6478, allocations: 0 / 469.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002201/0.648, allocations: 36 kB / 469.2 MB, free: 2.953 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.003745/0.6518, allocations: 1.926 MB / 471.1 MB, free: 1.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6519, allocations: 12.03 kB / 471.1 MB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00066/0.6525, allocations: 284.3 kB / 471.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/0.6571, allocations: 1.883 MB / 473.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.6573, allocations: 60.86 kB / 473.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.6575, allocations: 42.67 kB / 473.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.6583, allocations: 368.2 kB / 473.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.6584, allocations: 4 kB / 473.7 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.6584, allocations: 13.75 kB / 473.7 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.6585, allocations: 12 kB / 473.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.6592, allocations: 290.2 kB / 474 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006688/0.6659, allocations: 3.111 MB / 477.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.6667, allocations: 297.1 kB / 477.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.667, allocations: 149.7 kB / 477.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.6671, allocations: 8 kB / 477.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.6672, allocations: 30.56 kB / 477.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 4.153e-06/0.6672, allocations: 4 kB / 477.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.006184/0.6734, allocations: 2.246 MB / 479.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.6735, allocations: 85.48 kB / 479.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01471/0.6882, allocations: 4.851 MB / 484.8 MB, free: 3.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.6883, allocations: 33.7 kB / 484.8 MB, free: 3.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.6903, allocations: 1.191 MB / 486 MB, free: 2.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.6906, allocations: 161.6 kB / 486.2 MB, free: 2.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.6906, allocations: 12 kB / 486.2 MB, free: 2.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6908, allocations: 329.9 kB / 486.5 MB, free: 2.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.6912, allocations: 133.1 kB / 486.6 MB, free: 2.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.6916, allocations: 203.8 kB / 486.8 MB, free: 1.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.6921, allocations: 161.6 kB / 487 MB, free: 1.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.923e-06/0.6921, allocations: 0 / 487 MB, free: 1.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.003516/0.6956, allocations: 1.044 MB / 488 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.6957, allocations: 8 kB / 488.1 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6957, allocations: 3.984 kB / 488.1 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007301/0.6965, allocations: 152.9 kB / 488.2 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.6971, allocations: 103.8 kB / 488.3 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.6983, allocations: 0.7483 MB / 489.1 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.6991, allocations: 27.94 kB / 489.1 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.6992, allocations: 23.94 kB / 489.1 MB, free: 15.52 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.0001796/0.6994, allocations: 128.8 kB / 489.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/0.7, allocations: 284.6 kB / 489.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.7022, allocations: 0.7766 MB / 490.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.7022, allocations: 4 kB / 490.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.637e-06/0.7022, allocations: 0 / 490.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.7022, allocations: 0 / 490.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.7052, allocations: 1.703 MB / 492 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.267e-06/0.7052, allocations: 0 / 492 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.7059, allocations: 99.88 kB / 492.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.7064, allocations: 108.7 kB / 492.2 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.7064, allocations: 12 kB / 492.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008314/0.7073, allocations: 0.6383 MB / 492.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-06/0.7073, allocations: 0 / 492.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.7095, allocations: 1.071 MB / 493.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.711, allocations: 0.681 MB / 494.6 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.7114, allocations: 16 kB / 494.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.7121, allocations: 23.98 kB / 494.6 MB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.7122, allocations: 32.39 kB / 494.7 MB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.7123, allocations: 15.94 kB / 494.7 MB, free: 9.781 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007579/0.7199, allocations: 3.808 MB / 498.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.428e-06/0.7199, allocations: 0 / 498.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001516/0.7215, allocations: 328 kB / 498.8 MB, free: 5.66 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.001497/0.723, allocations: 419.5 kB / 499.2 MB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.724, allocations: 363.2 kB / 499.6 MB, free: 5.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.796e-06/0.7241, allocations: 0 / 499.6 MB, free: 5.008 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.7246, allocations: 193.5 kB / 499.8 MB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.726, allocations: 185.1 kB / 499.9 MB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.7362, allocations: 4.848 MB / 0.493 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.7387, allocations: 1.857 MB / 0.4948 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.7398, allocations: 379.6 kB / 0.4951 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005829/0.7404, allocations: 135.4 kB / 0.4953 GB, free: 13.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/0.7404, allocations: 0 / 0.4953 GB, free: 13.34 MB / 426.7 MB Notification: Performance of Templates: time 0.06221/0.8026, allocations: 20.3 MB / 0.5151 GB, free: 9.008 MB / 442.7 MB