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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.409e-05, allocations: 4 kB / 292.1 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08843, allocations: 50.41 MB / 342.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.454, allocations: 93.34 MB / 435.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4542, allocations: 83.52 kB / 436 MB, free: 1.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1054/0.5597, allocations: 30.17 MB / 466.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.402e-06/0.5597, allocations: 3.938 kB / 466.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.896e-05/0.5598, allocations: 16 kB / 466.2 MB, free: 6.914 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004025/0.5638, allocations: 1.23 MB / 467.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5639, allocations: 8.031 kB / 467.4 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.5671, allocations: 398.3 kB / 467.8 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.5681, allocations: 487.7 kB / 468.3 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5682, allocations: 82.22 kB / 468.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.5685, allocations: 119.8 kB / 468.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.5708, allocations: 0.9079 MB / 469.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.455e-05/0.5709, allocations: 3.984 kB / 469.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.5711, allocations: 52 kB / 469.4 MB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.5711, allocations: 28 kB / 469.5 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.5734, allocations: 0.8947 MB / 470.4 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00805/0.5815, allocations: 3.724 MB / 474.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.584, allocations: 1.51 MB / 475.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/0.5849, allocations: 416.5 kB / 476 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.5851, allocations: 93.88 kB / 476.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009749/0.5861, allocations: 456 kB / 476.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.969e-06/0.5861, allocations: 3.938 kB / 476.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.009558/0.5957, allocations: 3.457 MB / 480 MB, free: 8.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.5958, allocations: 230.5 kB / 480.2 MB, free: 8.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.5964, allocations: 346.8 kB / 480.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/0.5965, allocations: 49.7 kB / 480.6 MB, free: 7.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.597, allocations: 419.6 kB / 481 MB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.5974, allocations: 410 kB / 481.4 MB, free: 6.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.5975, allocations: 24 kB / 481.4 MB, free: 6.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.5978, allocations: 374.8 kB / 481.8 MB, free: 6.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008068/0.5986, allocations: 318.6 kB / 482.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.5996, allocations: 0.5084 MB / 482.6 MB, free: 5.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009669/0.6006, allocations: 407 kB / 483 MB, free: 5.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.263e-06/0.6006, allocations: 0 / 483 MB, free: 5.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003171/0.6038, allocations: 1.291 MB / 484.3 MB, free: 3.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.6038, allocations: 8 kB / 484.3 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.6039, allocations: 7.984 kB / 484.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.6051, allocations: 341.8 kB / 484.7 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.6062, allocations: 199.7 kB / 484.9 MB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.6169, allocations: 7.644 MB / 492.5 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.6177, allocations: 47.98 kB / 492.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6179, allocations: 44 kB / 492.6 MB, free: 11.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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.0002888/0.6182, allocations: 176.7 kB / 492.8 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.6184, allocations: 79.09 kB / 492.8 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.6215, allocations: 1.215 MB / 494.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.6215, allocations: 15.95 kB / 494.1 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.6215, allocations: 8 kB / 494.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.6216, allocations: 7.922 kB / 494.1 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/0.627, allocations: 2.601 MB / 496.7 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.345e-06/0.627, allocations: 128 / 496.7 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009248/0.6279, allocations: 151.8 kB / 496.8 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.6291, allocations: 327.2 kB / 497.2 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.798e-05/0.6292, allocations: 31.98 kB / 497.2 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.6392, allocations: 7.383 MB / 0.4927 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.098e-06/0.6393, allocations: 128 / 0.4927 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.6433, allocations: 1.746 MB / 0.4944 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.6437, allocations: 208.3 kB / 0.4946 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.6439, allocations: 28 kB / 0.4947 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.6445, allocations: 39.98 kB / 0.4947 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.6448, allocations: 104.7 kB / 0.4948 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/0.6449, allocations: 28 kB / 0.4948 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004354/0.6453, allocations: 265.2 kB / 0.4951 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.6454, allocations: 4 kB / 0.4951 GB, free: 12.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001526/0.6469, allocations: 323.9 kB / 0.4954 GB, free: 11.72 MB / 426.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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * 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.0004339/0.6473, allocations: 229 kB / 0.4956 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.6504, allocations: 1.49 MB / 0.4971 GB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.711e-06/0.6504, allocations: 0 / 0.4971 GB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.6524, allocations: 1.062 MB / 0.4981 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.6529, allocations: 57.53 kB / 0.4982 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.6569, allocations: 1.446 MB / 0.4996 GB, free: 7.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/0.6578, allocations: 1.036 MB / 0.5006 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006789/0.6585, allocations: 94.03 kB / 0.5007 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.6588, allocations: 55.36 kB / 0.5007 GB, free: 6.113 MB / 426.7 MB Notification: Performance of SimCode: time 1.434e-06/0.6588, allocations: 0 / 0.5007 GB, free: 6.113 MB / 426.7 MB Notification: Performance of Templates: time 0.02878/0.6876, allocations: 10.3 MB / 0.5108 GB, free: 11.8 MB / 442.7 MB