Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.976e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08887, allocations: 38.76 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003906/0.09284, allocations: 2.124 MB / 269 MB, free: 14.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.09494, allocations: 0.7992 MB / 269.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.09518, allocations: 8 kB / 269.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.09537, allocations: 43.62 kB / 269.9 MB, free: 13.49 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.09581, allocations: 91.66 kB / 270 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.09617, allocations: 79.84 kB / 270 MB, free: 13.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.09654, allocations: 175.5 kB / 270.2 MB, free: 13.15 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.09673, allocations: 56.94 kB / 270.3 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.09698, allocations: 99.75 kB / 270.4 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.09723, allocations: 111.6 kB / 270.5 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.09737, allocations: 27.98 kB / 270.5 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.09743, allocations: 12 kB / 270.5 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.09751, allocations: 51.75 kB / 270.6 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.09761, allocations: 28 kB / 270.6 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.09803, allocations: 263.5 kB / 270.9 MB, free: 12.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.09805, allocations: 0 / 270.9 MB, free: 12.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.09807, allocations: 0 / 270.9 MB, free: 12.51 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.09809, allocations: 0 / 270.9 MB, free: 12.51 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001221/0.09932, allocations: 0.5303 MB / 271.4 MB, free: 11.93 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.09938, allocations: 8.031 kB / 271.4 MB, free: 11.92 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.09953, allocations: 35.53 kB / 271.4 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.09996, allocations: 250.4 kB / 271.7 MB, free: 11.6 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.1, allocations: 28.45 kB / 271.7 MB, free: 11.57 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.1001, allocations: 27.94 kB / 271.7 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/0.1009, allocations: 240.9 kB / 272 MB, free: 11.31 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1009, allocations: 4 kB / 272 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.101, allocations: 8 kB / 272 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.101, allocations: 8 kB / 272 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.1018, allocations: 210.1 kB / 272.2 MB, free: 11.08 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.1043, allocations: 1.002 MB / 273.2 MB, free: 9.992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.1051, allocations: 187.1 kB / 273.4 MB, free: 9.801 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.1053, allocations: 85.3 kB / 273.5 MB, free: 9.699 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/0.1054, allocations: 38.75 kB / 273.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 4.488e-06/0.1054, allocations: 0 / 273.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.01146/0.1169, allocations: 1.511 MB / 275 MB, free: 8.066 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.117, allocations: 55.41 kB / 275.1 MB, free: 8 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.1174, allocations: 208.1 kB / 275.3 MB, free: 7.793 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.1175, allocations: 29.7 kB / 275.3 MB, free: 7.758 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1176, allocations: 184.1 kB / 275.5 MB, free: 7.574 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.1178, allocations: 106.5 kB / 275.6 MB, free: 7.469 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1178, allocations: 4 kB / 275.6 MB, free: 7.465 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.118, allocations: 338.8 kB / 275.9 MB, free: 7.125 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.1185, allocations: 108 kB / 276 MB, free: 7.02 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.119, allocations: 171.7 kB / 276.2 MB, free: 6.836 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.1195, allocations: 131.7 kB / 276.3 MB, free: 6.707 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1195, allocations: 4 kB / 276.3 MB, free: 6.703 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.004108/0.1236, allocations: 0.545 MB / 276.9 MB, free: 6.145 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.1237, allocations: 4 kB / 276.9 MB, free: 6.141 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.1237, allocations: 4 kB / 276.9 MB, free: 6.137 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.126, allocations: 217.5 kB / 277.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.1265, allocations: 47.97 kB / 277.1 MB, free: 5.871 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/0.1328, allocations: 2.742 MB / 279.9 MB, free: 2.969 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.1333, allocations: 15.98 kB / 279.9 MB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.1334, allocations: 8.062 kB / 279.9 MB, free: 2.945 MB / 234.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 (27): * Single equations (assignments): 25 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.1336, allocations: 157.7 kB / 280 MB, free: 2.781 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.1337, allocations: 31.62 kB / 280.1 MB, free: 2.75 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.1377, allocations: 0.5056 MB / 280.6 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.1378, allocations: 4 kB / 280.6 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1378, allocations: 3.984 kB / 280.6 MB, free: 2.223 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1378, allocations: 0 / 280.6 MB, free: 2.223 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000749/0.1386, allocations: 381.4 kB / 281 MB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1386, allocations: 4 kB / 281 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.139, allocations: 39.91 kB / 281 MB, free: 1.758 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.1412, allocations: 221.6 kB / 281.2 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.1412, allocations: 11.95 kB / 281.2 MB, free: 1.523 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/0.1475, allocations: 2.727 MB / 284 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1476, allocations: 0 / 284 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.1521, allocations: 0.7352 MB / 284.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.1523, allocations: 124.8 kB / 284.8 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.1524, allocations: 12.06 kB / 284.8 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.1528, allocations: 8 kB / 284.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.153, allocations: 23.95 kB / 284.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.153, allocations: 15.98 kB / 284.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002345/0.1533, allocations: 160.5 kB / 285 MB, free: 13.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1533, allocations: 0 / 285 MB, free: 13.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007174/0.154, allocations: 92 kB / 285.1 MB, free: 13.43 MB / 250.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 (17): * Single equations (assignments): 15 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/0.1543, allocations: 115.1 kB / 285.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.1563, allocations: 450.5 kB / 285.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1564, allocations: 0 / 285.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.1575, allocations: 306.4 kB / 286 MB, free: 12.54 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.158, allocations: 16.44 kB / 286 MB, free: 12.53 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.1605, allocations: 0.8051 MB / 286.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.1611, allocations: 0.7833 MB / 287.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.1614, allocations: 18.3 kB / 287.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.1615, allocations: 19.38 kB / 287.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1615, allocations: 0 / 287.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of Templates: time 0.0187/0.1802, allocations: 4.65 MB / 292.3 MB, free: 6.195 MB / 250.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