Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.604e-05, allocations: 0 / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003518/0.313, allocations: 2.143 MB / 305.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.3147, allocations: 0.7506 MB / 306.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.3148, allocations: 6.781 kB / 306.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.315, allocations: 41.52 kB / 306.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.3154, allocations: 98.56 kB / 306.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3156, allocations: 69.02 kB / 306.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.316, allocations: 181.4 kB / 306.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3162, allocations: 60.94 kB / 306.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.3164, allocations: 103.7 kB / 306.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.3167, allocations: 115.6 kB / 306.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.3167, allocations: 12 kB / 306.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.3168, allocations: 12 kB / 306.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.3169, allocations: 43.83 kB / 306.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.101e-05/0.3169, allocations: 28 kB / 307 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.3173, allocations: 269.5 kB / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3173, allocations: 0 / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3174, allocations: 0 / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3174, allocations: 4 kB / 307.2 MB, free: 9.672 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.001242/0.3186, allocations: 0.5303 MB / 307.8 MB, free: 9.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3187, allocations: 15.97 kB / 307.8 MB, free: 9.078 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.894e-05/0.3188, allocations: 31.62 kB / 307.8 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.3192, allocations: 250.5 kB / 308.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.3192, allocations: 24.56 kB / 308.1 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.3193, allocations: 24 kB / 308.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.3201, allocations: 248.8 kB / 308.3 MB, free: 8.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3201, allocations: 4 kB / 308.4 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.3201, allocations: 12 kB / 308.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3202, allocations: 4 kB / 308.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.3209, allocations: 218.1 kB / 308.6 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.3233, allocations: 1.009 MB / 309.6 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.324, allocations: 206.4 kB / 309.8 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.324, allocations: 4.062 kB / 309.8 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3241, allocations: 42.5 kB / 309.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.3241, allocations: 0 / 309.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.008062/0.3322, allocations: 1.506 MB / 311.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3322, allocations: 55.41 kB / 311.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.3325, allocations: 208.1 kB / 311.6 MB, free: 5.016 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3326, allocations: 29.7 kB / 311.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.3327, allocations: 180.2 kB / 311.8 MB, free: 4.797 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.3329, allocations: 126.3 kB / 311.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.3329, allocations: 4 kB / 311.9 MB, free: 4.668 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3331, allocations: 338.8 kB / 312.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.3335, allocations: 107.9 kB / 312.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.334, allocations: 160.5 kB / 312.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.3345, allocations: 125.6 kB / 312.6 MB, free: 3.926 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3345, allocations: 0 / 312.6 MB, free: 3.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002736/0.3373, allocations: 0.5434 MB / 313.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3373, allocations: 7.938 kB / 313.2 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3373, allocations: 7.938 kB / 313.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.3387, allocations: 189.6 kB / 313.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.3392, allocations: 59.84 kB / 313.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006968/0.3461, allocations: 3.819 MB / 317.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.3466, allocations: 8 kB / 317.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.3466, allocations: 19.97 kB / 317.3 MB, free: 14.99 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.0002283/0.3469, allocations: 152.9 kB / 317.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.347, allocations: 27.72 kB / 317.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3471, allocations: 43.47 kB / 317.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3471, allocations: 4 kB / 317.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3471, allocations: 0 / 317.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3471, allocations: 0 / 317.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.3478, allocations: 377.4 kB / 317.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3478, allocations: 3.984 kB / 317.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.3482, allocations: 51.84 kB / 317.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.3495, allocations: 185.5 kB / 318.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.3495, allocations: 16 kB / 318.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/0.3561, allocations: 3.702 MB / 321.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3561, allocations: 0 / 321.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.3592, allocations: 0.7311 MB / 322.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.3593, allocations: 100.8 kB / 322.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.3594, allocations: 7.953 kB / 322.7 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.3598, allocations: 15.98 kB / 322.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3599, allocations: 28.03 kB / 322.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.36, allocations: 15.98 kB / 322.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3602, allocations: 157 kB / 322.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3602, allocations: 0 / 322.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007278/0.3609, allocations: 104 kB / 323 MB, free: 8.918 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.0001507/0.3611, allocations: 111.1 kB / 323.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3626, allocations: 0.5752 MB / 323.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3626, allocations: 0 / 323.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000852/0.3635, allocations: 429.3 kB / 324.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3638, allocations: 26.72 kB / 324.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.3656, allocations: 0.8196 MB / 324.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.366, allocations: 0.784 MB / 325.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.3662, allocations: 18.28 kB / 325.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.3663, allocations: 23.44 kB / 325.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3663, allocations: 0 / 325.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of Templates: time 0.01474/0.381, allocations: 5.141 MB / 330.9 MB, free: 0.8789 MB / 266.7 MB "" Variables in the reference:time,coil.Phi Variables in the result:coil.N,coil.Phi,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r_mAirPar.a,r_mAirPar.b,r_mAirPar.l,r_mAirPar.material.B_myMax,r_mAirPar.material.c_a,r_mAirPar.material.c_b,r_mAirPar.material.mu_i,r_mAirPar.material.n,r_mAirPar.mu_r,r_mAirPar.mu_rConst,r_mAirPar.nonLinearPermeability,r_mFe.a,r_mFe.b,r_mFe.l,r_mFe.material.B_myMax,r_mFe.material.c_a,r_mFe.material.c_b,r_mFe.material.mu_i,r_mFe.material.n,r_mFe.mu_rConst,r_mFe.nonLinearPermeability,r_mLeak.R_m,source.V,source.freqHz,source.offset,source.phase,source.signalSource.amplitude,source.signalSource.freqHz,source.signalSource.offset,source.signalSource.phase,source.signalSource.startTime,source.startTime,time