Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.209e-05, allocations: 0 / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4847/0.5959, allocations: 88.09 MB / 498.4 MB, free: 32 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.5963, allocations: 71.95 kB / 498.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.6095, allocations: 2.88 MB / 0.4896 GB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.049e-06/0.6095, allocations: 0 / 0.4896 GB, free: 13.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.6096, allocations: 4 kB / 0.4896 GB, free: 13.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007629/0.6103, allocations: 422.3 kB / 0.49 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.6104, allocations: 8.031 kB / 0.49 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.6105, allocations: 11.91 kB / 0.49 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.6109, allocations: 193.8 kB / 0.4902 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.6109, allocations: 8 kB / 0.4902 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.611, allocations: 7.953 kB / 0.4902 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.6114, allocations: 108.2 kB / 0.4903 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6115, allocations: 0 / 0.4903 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.6115, allocations: 8 kB / 0.4903 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-06/0.6115, allocations: 0 / 0.4903 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.6118, allocations: 59.92 kB / 0.4904 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.6136, allocations: 459.4 kB / 0.4908 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.6139, allocations: 66.48 kB / 0.4909 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.6141, allocations: 24.8 kB / 0.4909 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.6141, allocations: 0 / 0.4909 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.6142, allocations: 34.56 kB / 0.4909 GB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 4.414e-06/0.6142, allocations: 0 / 0.4909 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001488/0.6157, allocations: 189.4 kB / 0.4911 GB, free: 11.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.6159, allocations: 106.8 kB / 0.4912 GB, free: 11.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.6161, allocations: 139.2 kB / 0.4913 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.6162, allocations: 25.7 kB / 0.4914 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6163, allocations: 116.1 kB / 0.4915 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.6164, allocations: 23.75 kB / 0.4915 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.6164, allocations: 0 / 0.4915 GB, free: 10.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.6167, allocations: 318.8 kB / 0.4918 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.6168, allocations: 32 kB / 0.4918 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.6171, allocations: 60.28 kB / 0.4919 GB, free: 10.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.6173, allocations: 40.66 kB / 0.4919 GB, free: 10.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-06/0.6173, allocations: 0 / 0.4919 GB, free: 10.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004887/0.6178, allocations: 113.5 kB / 0.492 GB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.6178, allocations: 7.953 kB / 0.492 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.6179, allocations: 3.984 kB / 0.492 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.6179, allocations: 4 kB / 0.4921 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6193, allocations: 91.97 kB / 0.4921 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.6219, allocations: 1.37 MB / 0.4935 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.6224, allocations: 36 kB / 0.4935 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.6225, allocations: 12.05 kB / 0.4935 GB, free: 8.637 MB / 410.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 (9): * Single equations (assignments): 8 * 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.0001681/0.6227, allocations: 109 kB / 0.4936 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.6228, allocations: 11.86 kB / 0.4936 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.6233, allocations: 102.2 kB / 0.4937 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-06/0.6233, allocations: 0 / 0.4937 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.61e-06/0.6233, allocations: 0 / 0.4937 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-06/0.6233, allocations: 0 / 0.4937 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.6245, allocations: 406.4 kB / 0.4941 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.6245, allocations: 0 / 0.4941 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.6249, allocations: 31.97 kB / 0.4942 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6249, allocations: 3.938 kB / 0.4942 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.625, allocations: 3.984 kB / 0.4942 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.74e-06/0.625, allocations: 0 / 0.4942 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.625, allocations: 0 / 0.4942 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.6255, allocations: 183.6 kB / 0.4943 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6256, allocations: 89.03 kB / 0.4944 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.6257, allocations: 11.94 kB / 0.4944 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.6263, allocations: 31.97 kB / 0.4945 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.6264, allocations: 8.125 kB / 0.4945 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.6264, allocations: 0 / 0.4945 GB, free: 7.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.6266, allocations: 114 kB / 0.4946 GB, free: 7.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.118e-06/0.6266, allocations: 0 / 0.4946 GB, free: 7.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007377/0.6274, allocations: 28 kB / 0.4946 GB, free: 7.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.6276, allocations: 103.2 kB / 0.4947 GB, free: 7.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.629, allocations: 119.9 kB / 0.4948 GB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.629, allocations: 4 kB / 0.4948 GB, free: 7.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.6292, allocations: 35.92 kB / 0.4949 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.6297, allocations: 11.95 kB / 0.4949 GB, free: 7.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.6322, allocations: 281.7 kB / 0.4951 GB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.6328, allocations: 0.7082 MB / 0.4958 GB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.633, allocations: 8.438 kB / 0.4958 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.6331, allocations: 19.42 kB / 0.4959 GB, free: 6.086 MB / 410.7 MB Notification: Performance of SimCode: time 2.146e-06/0.6332, allocations: 0 / 0.4959 GB, free: 6.086 MB / 410.7 MB Notification: Performance of Templates: time 0.009028/0.6422, allocations: 1.46 MB / 0.4973 GB, free: 4.652 MB / 410.7 MB