Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.58e-05, allocations: 0 / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08446/0.08451, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4497, allocations: 90.73 MB / 407.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.45, allocations: 85.52 kB / 407.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1172/0.5672, allocations: 30.58 MB / 438.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.307e-06/0.5673, allocations: 0 / 438.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.5673, allocations: 16 kB / 438.3 MB, free: 4.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004326/0.5717, allocations: 1.249 MB / 439.6 MB, free: 3.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5717, allocations: 8.031 kB / 439.6 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/0.5759, allocations: 469.5 kB / 440 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5771, allocations: 0.4931 MB / 440.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.5772, allocations: 85.61 kB / 440.6 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.5775, allocations: 109.4 kB / 440.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.5799, allocations: 0.9489 MB / 441.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/0.58, allocations: 11.91 kB / 441.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.5801, allocations: 48.25 kB / 441.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.5802, allocations: 28 kB / 441.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.5826, allocations: 0.9496 MB / 442.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008727/0.5914, allocations: 3.906 MB / 446.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.5943, allocations: 2.024 MB / 448.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009776/0.5953, allocations: 415.5 kB / 449.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.5955, allocations: 109.9 kB / 449.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.5965, allocations: 456.1 kB / 449.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 4.787e-06/0.5966, allocations: 0 / 449.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.01007/0.6066, allocations: 3.487 MB / 453.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.6069, allocations: 234.7 kB / 453.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/0.6075, allocations: 363 kB / 453.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.6076, allocations: 45.7 kB / 453.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.6081, allocations: 439.4 kB / 454.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004604/0.6086, allocations: 417.9 kB / 454.6 MB, free: 4.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.6087, allocations: 24 kB / 454.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.6089, allocations: 382.8 kB / 455 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/0.6098, allocations: 318.6 kB / 455.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.6109, allocations: 0.5561 MB / 455.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.612, allocations: 414.2 kB / 456.2 MB, free: 3.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.463e-06/0.612, allocations: 3.953 kB / 456.2 MB, free: 3.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003424/0.6154, allocations: 1.334 MB / 457.6 MB, free: 1.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.6155, allocations: 8.156 kB / 457.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.6155, allocations: 11.98 kB / 457.6 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.6168, allocations: 339.2 kB / 457.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.618, allocations: 219.7 kB / 458.1 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.6289, allocations: 7.646 MB / 465.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.63, allocations: 56 kB / 465.8 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.6301, allocations: 55.92 kB / 465.9 MB, free: 8.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.6305, allocations: 172.7 kB / 466.1 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.6307, allocations: 71.16 kB / 466.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.6339, allocations: 1.231 MB / 467.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.6339, allocations: 12 kB / 467.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.634, allocations: 8 kB / 467.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.634, allocations: 7.969 kB / 467.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00582/0.6398, allocations: 2.634 MB / 470 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.6399, allocations: 4 kB / 470 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/0.6409, allocations: 151.7 kB / 470.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.6421, allocations: 335.2 kB / 470.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/0.6422, allocations: 24 kB / 470.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.6526, allocations: 7.39 MB / 477.9 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.476e-06/0.6527, allocations: 0 / 477.9 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.6569, allocations: 1.761 MB / 479.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/0.6574, allocations: 224.1 kB / 479.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.6576, allocations: 23.94 kB / 479.9 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.6583, allocations: 43.97 kB / 480 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.6585, allocations: 96.81 kB / 480.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.6587, allocations: 35.98 kB / 480.1 MB, free: 9.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004691/0.6591, allocations: 269.2 kB / 480.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.23e-07/0.6592, allocations: 0 / 480.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001684/0.6609, allocations: 332 kB / 480.7 MB, free: 9.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(2,100.0%) 18,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004704/0.6613, allocations: 236.1 kB / 480.9 MB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.6647, allocations: 1.509 MB / 482.4 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.166e-06/0.6648, allocations: 0 / 482.4 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.6669, allocations: 1.077 MB / 483.5 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.6675, allocations: 53.53 kB / 483.5 MB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.6743, allocations: 1.942 MB / 485.5 MB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009633/0.6753, allocations: 1.044 MB / 486.5 MB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007811/0.6761, allocations: 106.3 kB / 486.6 MB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.6764, allocations: 55.42 kB / 486.7 MB, free: 3.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.052e-06/0.6764, allocations: 0 / 486.7 MB, free: 3.23 MB / 394.7 MB Notification: Performance of Templates: time 0.02934/0.7057, allocations: 10.39 MB / 497.1 MB, free: 8.836 MB / 410.7 MB