Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 2.2/2.2, allocations: 194.9 MB / 211.2 MB, free: 9.324 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.669e-05, allocations: 4 kB / 258.8 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3411, allocations: 44.52 MB / 303.3 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003708/0.3449, allocations: 2.145 MB / 305.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.3469, allocations: 0.7543 MB / 306.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.3471, allocations: 6.438 kB / 306.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.3473, allocations: 44.98 kB / 306.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.3477, allocations: 95.12 kB / 306.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.348, allocations: 69.55 kB / 306.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.3484, allocations: 181.2 kB / 306.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3486, allocations: 59.34 kB / 306.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.3489, allocations: 101.9 kB / 306.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3491, allocations: 116.5 kB / 306.8 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.3492, allocations: 17.38 kB / 306.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.3493, allocations: 12.38 kB / 306.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.3494, allocations: 39.84 kB / 306.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.3494, allocations: 26.69 kB / 306.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.3499, allocations: 272.2 kB / 307.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3499, allocations: 0 / 307.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3499, allocations: 0 / 307.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.3499, allocations: 0 / 307.2 MB, free: 9.59 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001338/0.3513, allocations: 0.5329 MB / 307.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3514, allocations: 9.375 kB / 307.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.3515, allocations: 39.56 kB / 307.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.3519, allocations: 247.7 kB / 308 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.352, allocations: 23.53 kB / 308.1 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.3521, allocations: 24.78 kB / 308.1 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.3528, allocations: 252.6 kB / 308.3 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3529, allocations: 1.094 kB / 308.3 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.3529, allocations: 10.12 kB / 308.3 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.353, allocations: 7.344 kB / 308.3 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.3538, allocations: 216.9 kB / 308.6 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.3564, allocations: 1.009 MB / 309.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.3571, allocations: 206.5 kB / 309.8 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.3572, allocations: 7.922 kB / 309.8 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.3572, allocations: 38.56 kB / 309.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.695e-06/0.3572, allocations: 0 / 309.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.008288/0.3655, allocations: 1.506 MB / 311.3 MB, free: 5.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3656, allocations: 55.41 kB / 311.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.366, allocations: 208.1 kB / 311.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.366, allocations: 33.7 kB / 311.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3662, allocations: 230.6 kB / 311.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3664, allocations: 122.3 kB / 311.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.3664, allocations: 8 kB / 312 MB, free: 4.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3665, allocations: 322.8 kB / 312.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.367, allocations: 111.9 kB / 312.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.3674, allocations: 156.6 kB / 312.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.3679, allocations: 129.6 kB / 312.7 MB, free: 4.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3679, allocations: 0 / 312.7 MB, free: 4.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002729/0.3707, allocations: 0.5357 MB / 313.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.3707, allocations: 8 kB / 313.2 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3708, allocations: 0 / 313.2 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.3722, allocations: 193.4 kB / 313.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.3727, allocations: 55.91 kB / 313.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.38, allocations: 3.826 MB / 317.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.3805, allocations: 8.562 kB / 317.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.3805, allocations: 20.05 kB / 317.3 MB, free: 15.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.3808, allocations: 145.8 kB / 317.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.3809, allocations: 27.62 kB / 317.5 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.381, allocations: 42.91 kB / 317.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.381, allocations: 4 kB / 317.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.381, allocations: 7.938 kB / 317.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.3811, allocations: 0 / 317.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006971/0.3818, allocations: 385.4 kB / 317.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3818, allocations: 4 kB / 317.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.3822, allocations: 39.91 kB / 317.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.3836, allocations: 193.5 kB / 318.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.3836, allocations: 4 kB / 318.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006961/0.3906, allocations: 3.706 MB / 321.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3906, allocations: 0 / 321.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.3938, allocations: 0.731 MB / 322.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.394, allocations: 104.8 kB / 322.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.3941, allocations: 12.52 kB / 322.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3945, allocations: 20.05 kB / 322.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.3946, allocations: 23.97 kB / 322.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.3947, allocations: 11.98 kB / 322.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.3949, allocations: 160.5 kB / 322.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.053e-06/0.3949, allocations: 4 kB / 322.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007681/0.3957, allocations: 107.9 kB / 323 MB, free: 9.094 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001708/0.3959, allocations: 107.2 kB / 323.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.3975, allocations: 0.5753 MB / 323.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3975, allocations: 0 / 323.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009524/0.3985, allocations: 425.1 kB / 324.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3989, allocations: 25.16 kB / 324.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.4008, allocations: 0.8372 MB / 325 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.4013, allocations: 0.784 MB / 325.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4014, allocations: 19.44 kB / 325.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4014, allocations: 0 / 325.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of Templates: time 0.01219/0.4136, allocations: 5.728 MB / 331.5 MB, free: 484 kB / 266.7 MB