Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.97e-05, allocations: 4 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.302, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002675/0.3047, allocations: 1.604 MB / 304.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3058, allocations: 473.2 kB / 305.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.3059, allocations: 7.312 kB / 305.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.306, allocations: 12.94 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.3062, allocations: 38.16 kB / 305.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.3065, allocations: 77.67 kB / 305.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3067, allocations: 86.92 kB / 305.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3069, allocations: 30.64 kB / 305.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.3071, allocations: 55.28 kB / 305.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3072, allocations: 55.97 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.3073, allocations: 6.219 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.3073, allocations: 6.312 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.3074, allocations: 24.16 kB / 305.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.3074, allocations: 12.09 kB / 305.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3076, allocations: 118.3 kB / 305.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3077, allocations: 0 / 305.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3077, allocations: 0.9062 kB / 305.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.3077, allocations: 0 / 305.9 MB, free: 10.73 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007862/0.3085, allocations: 425 kB / 306.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3085, allocations: 8.562 kB / 306.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.3086, allocations: 19.5 kB / 306.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3088, allocations: 195.2 kB / 306.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3089, allocations: 12.06 kB / 306.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.3089, allocations: 10.03 kB / 306.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.3093, allocations: 139.1 kB / 306.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3093, allocations: 1.406 kB / 306.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3094, allocations: 5.438 kB / 306.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3094, allocations: 5.344 kB / 306.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.3097, allocations: 75.8 kB / 306.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.3109, allocations: 0.5048 MB / 307.3 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.3113, allocations: 81.83 kB / 307.3 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3114, allocations: 0 / 307.3 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3114, allocations: 40.56 kB / 307.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3114, allocations: 0 / 307.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.001129/0.3126, allocations: 254 kB / 307.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3127, allocations: 103.8 kB / 307.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3129, allocations: 145.9 kB / 307.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3129, allocations: 25.7 kB / 307.9 MB, free: 8.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.313, allocations: 186.4 kB / 308.1 MB, free: 8.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.3131, allocations: 35.56 kB / 308.1 MB, free: 8.648 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.3131, allocations: 0 / 308.1 MB, free: 8.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3132, allocations: 322.8 kB / 308.4 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3134, allocations: 31.98 kB / 308.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3135, allocations: 68.27 kB / 308.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3137, allocations: 44.28 kB / 308.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3137, allocations: 0 / 308.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003689/0.3141, allocations: 117.6 kB / 308.7 MB, free: 8.047 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3142, allocations: 4 kB / 308.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3142, allocations: 0 / 308.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3142, allocations: 0 / 308.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.316, allocations: 159.8 kB / 308.8 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.3178, allocations: 1.39 MB / 310.2 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.3181, allocations: 27.86 kB / 310.3 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.3181, allocations: 3.984 kB / 310.3 MB, free: 6.324 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.3183, allocations: 126 kB / 310.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.3183, allocations: 7.906 kB / 310.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.319, allocations: 155.1 kB / 310.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.319, allocations: 4 kB / 310.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.319, allocations: 0 / 310.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3191, allocations: 7.953 kB / 310.6 MB, free: 6.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.3194, allocations: 217.6 kB / 310.8 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3194, allocations: 0 / 310.8 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.3196, allocations: 27.92 kB / 310.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/0.3201, allocations: 52.8 kB / 310.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3201, allocations: 3.938 kB / 310.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.3219, allocations: 1.378 MB / 312.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.322, allocations: 0 / 312.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.3228, allocations: 276.3 kB / 312.5 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.3229, allocations: 96.98 kB / 312.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.323, allocations: 11.94 kB / 312.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3232, allocations: 12 kB / 312.6 MB, free: 3.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3233, allocations: 7.984 kB / 312.6 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3233, allocations: 0 / 312.6 MB, free: 3.715 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3235, allocations: 119.2 kB / 312.7 MB, free: 3.598 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3235, allocations: 0 / 312.7 MB, free: 3.598 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.3239, allocations: 43.91 kB / 312.8 MB, free: 3.555 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.3241, allocations: 99.25 kB / 312.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3254, allocations: 151.9 kB / 313 MB, free: 3.297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3254, allocations: 0 / 313 MB, free: 3.297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.3258, allocations: 162.7 kB / 313.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.326, allocations: 8 kB / 313.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3272, allocations: 495.6 kB / 313.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3275, allocations: 0.7121 MB / 314.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.3276, allocations: 23.42 kB / 314.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3276, allocations: 0 / 314.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of Templates: time 0.005466/0.333, allocations: 2.105 MB / 316.5 MB, free: 15.73 MB / 266.7 MB