Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|WindingPrim.i|WindingSec.i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 194.9 MB / 210.6 MB, free: 9.316 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.565e-05, allocations: 0 / 258.8 MB, free: 9.016 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2935, allocations: 44.5 MB / 303.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004518/0.2981, allocations: 2.679 MB / 306 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3014, allocations: 1.271 MB / 307.3 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.3017, allocations: 8.25 kB / 307.3 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.3057, allocations: 2.073 MB / 309.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007544/0.3065, allocations: 139.5 kB / 309.5 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.3071, allocations: 135.6 kB / 309.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.3093, allocations: 0.9367 MB / 310.6 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.3096, allocations: 73.53 kB / 310.6 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.3101, allocations: 235.5 kB / 310.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.3106, allocations: 279.3 kB / 311.1 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.3109, allocations: 39.94 kB / 311.2 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.311, allocations: 24 kB / 311.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009282/0.3119, allocations: 0.8259 MB / 312 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.3123, allocations: 92 kB / 312.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.3152, allocations: 2.076 MB / 314.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3153, allocations: 0 / 314.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3153, allocations: 3.938 kB / 314.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.594e-05/0.3153, allocations: 4 kB / 314.2 MB, free: 2.832 MB / 250.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.003787/0.3191, allocations: 1.829 MB / 316 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3192, allocations: 8.031 kB / 316 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.3199, allocations: 280.3 kB / 316.3 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.3242, allocations: 1.677 MB / 318 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.3244, allocations: 58.7 kB / 318 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.3247, allocations: 43.98 kB / 318.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3258, allocations: 399 kB / 318.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.3259, allocations: 0 / 318.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.3259, allocations: 12 kB / 318.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3259, allocations: 8 kB / 318.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3272, allocations: 343.7 kB / 318.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007053/0.3343, allocations: 2.906 MB / 321.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3355, allocations: 322.3 kB / 322 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.32e-05/0.3356, allocations: 15.94 kB / 322.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3356, allocations: 30.56 kB / 322.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 3.797e-06/0.3356, allocations: 0 / 322.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.00845/0.3441, allocations: 2.397 MB / 324.5 MB, free: 8.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.3442, allocations: 85.53 kB / 324.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/0.3552, allocations: 5.031 MB / 329.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.3553, allocations: 33.7 kB / 329.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.3571, allocations: 1.144 MB / 330.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.3574, allocations: 169.5 kB / 330.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.3574, allocations: 12 kB / 331 MB, free: 1.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3576, allocations: 330 kB / 331.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.3582, allocations: 141.1 kB / 331.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.3588, allocations: 225.8 kB / 331.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.3595, allocations: 229.5 kB / 331.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3595, allocations: 0 / 331.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002386/0.3619, allocations: 0.7527 MB / 332.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.362, allocations: 63.39 kB / 332.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3621, allocations: 0 / 332.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.3621, allocations: 4 kB / 332.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/0.3631, allocations: 128.1 kB / 332.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.3631, allocations: 7.953 kB / 332.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.3641, allocations: 19.98 kB / 332.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.3642, allocations: 20 kB / 332.9 MB, free: 15.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * 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.001863/0.3661, allocations: 0.9191 MB / 333.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006444/0.3667, allocations: 264.5 kB / 334 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.3693, allocations: 0.7861 MB / 334.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.3693, allocations: 8 kB / 334.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3693, allocations: 0 / 334.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.3693, allocations: 3.984 kB / 334.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.3723, allocations: 1.465 MB / 336.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3723, allocations: 11.89 kB / 336.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.3733, allocations: 99.88 kB / 336.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.3738, allocations: 88.78 kB / 336.5 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.3739, allocations: 8 kB / 336.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007883/0.3747, allocations: 0.6421 MB / 337.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3747, allocations: 4.031 kB / 337.1 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.3777, allocations: 1.09 MB / 338.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.3791, allocations: 497.4 kB / 338.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/0.3795, allocations: 15.98 kB / 338.7 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/0.3804, allocations: 12 kB / 338.7 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.3805, allocations: 36.39 kB / 338.8 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.3806, allocations: 15.98 kB / 338.8 MB, free: 9.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.008735/0.3893, allocations: 3.969 MB / 342.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.3894, allocations: 0 / 342.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001384/0.3908, allocations: 212 kB / 343 MB, free: 5.438 MB / 282.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.001118/0.3919, allocations: 370.1 kB / 343.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.3934, allocations: 0.4965 MB / 343.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3935, allocations: 0 / 343.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007705/0.3943, allocations: 214.4 kB / 344 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.3958, allocations: 168.9 kB / 344.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.4087, allocations: 5.888 MB / 350.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/0.4115, allocations: 1.857 MB / 352 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000965/0.4125, allocations: 267.5 kB / 352.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.413, allocations: 95.36 kB / 352.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.413, allocations: 0 / 352.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of Templates: time 0.04887/0.4619, allocations: 13.89 MB / 366.2 MB, free: 14.12 MB / 314.7 MB