Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.192e-05, allocations: 4 kB / 292.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08839, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4535, allocations: 88.37 MB / 430.9 MB, free: 5.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4538, allocations: 94.94 kB / 431 MB, free: 5.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.12/0.5738, allocations: 35.48 MB / 466.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.11e-06/0.5738, allocations: 0 / 466.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.083e-05/0.5739, allocations: 23.94 kB / 466.5 MB, free: 6.434 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005949/0.5798, allocations: 1.479 MB / 468 MB, free: 4.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5799, allocations: 8.031 kB / 468 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/0.584, allocations: 462.2 kB / 468.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.5845, allocations: 293.7 kB / 468.8 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.5847, allocations: 94.58 kB / 468.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.585, allocations: 131.9 kB / 469 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.5881, allocations: 1.209 MB / 470.2 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.5881, allocations: 0 / 470.2 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.5883, allocations: 59.95 kB / 470.2 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.903e-05/0.5884, allocations: 28 kB / 470.3 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.5913, allocations: 1.075 MB / 471.4 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009483/0.6008, allocations: 4.26 MB / 475.6 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.6041, allocations: 2.225 MB / 477.8 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.6053, allocations: 0.5101 MB / 478.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.6056, allocations: 114.1 kB / 478.5 MB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.6056, allocations: 47.56 kB / 478.5 MB, free: 9.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 4.747e-06/0.6056, allocations: 0 / 478.5 MB, free: 9.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.00942/0.6151, allocations: 2.776 MB / 481.3 MB, free: 7.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.6152, allocations: 90.11 kB / 481.4 MB, free: 6.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.6158, allocations: 347.4 kB / 481.7 MB, free: 6.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.6159, allocations: 45.7 kB / 481.8 MB, free: 6.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.6163, allocations: 451 kB / 482.2 MB, free: 6.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.6168, allocations: 429.8 kB / 482.6 MB, free: 5.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.6169, allocations: 24 kB / 482.6 MB, free: 5.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.6172, allocations: 378.8 kB / 483 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009319/0.6181, allocations: 348 kB / 483.3 MB, free: 4.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.6194, allocations: 0.6047 MB / 484 MB, free: 4.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.6205, allocations: 453.1 kB / 484.4 MB, free: 3.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.235e-06/0.6206, allocations: 3.938 kB / 484.4 MB, free: 3.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003235/0.6238, allocations: 1.287 MB / 485.7 MB, free: 2.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.6239, allocations: 8 kB / 485.7 MB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.6239, allocations: 11.94 kB / 485.7 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007442/0.6247, allocations: 189.8 kB / 485.9 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.6264, allocations: 311.5 kB / 486.2 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/0.6323, allocations: 3.959 MB / 490.2 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6337, allocations: 91.91 kB / 490.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.6339, allocations: 59.98 kB / 490.3 MB, free: 13.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003306/0.6342, allocations: 184.6 kB / 490.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.6344, allocations: 67.16 kB / 490.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.6376, allocations: 1.195 MB / 491.7 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.6377, allocations: 15.94 kB / 491.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6377, allocations: 4 kB / 491.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.6377, allocations: 11.97 kB / 491.8 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005771/0.6435, allocations: 2.357 MB / 494.1 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.6435, allocations: 4 kB / 494.1 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.6449, allocations: 227.8 kB / 494.4 MB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006449/0.6456, allocations: 165.5 kB / 494.5 MB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.6457, allocations: 31.94 kB / 494.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005391/0.6511, allocations: 3.775 MB / 498.3 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.504e-06/0.6512, allocations: 384 / 498.3 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.6553, allocations: 1.694 MB / 0.4883 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.6558, allocations: 224.2 kB / 0.4885 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.656, allocations: 24 kB / 0.4885 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008864/0.6569, allocations: 79.94 kB / 0.4886 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.6572, allocations: 100.8 kB / 0.4887 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.6573, allocations: 35.98 kB / 0.4887 GB, free: 2.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004273/0.6577, allocations: 254.2 kB / 0.489 GB, free: 2.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.6578, allocations: 4 kB / 0.489 GB, free: 2.684 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001509/0.6593, allocations: 320.1 kB / 0.4893 GB, free: 2.371 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004315/0.6597, allocations: 212 kB / 0.4895 GB, free: 2.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.6627, allocations: 1.245 MB / 0.4907 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.729e-06/0.6627, allocations: 0 / 0.4907 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.6643, allocations: 0.7723 MB / 0.4915 GB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.6649, allocations: 49.28 kB / 0.4915 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.6691, allocations: 1.364 MB / 0.4928 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009198/0.67, allocations: 1.029 MB / 0.4938 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001134/0.6712, allocations: 150.6 kB / 0.494 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.6716, allocations: 71.41 kB / 0.4941 GB, free: 13.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.657e-06/0.6716, allocations: 0 / 0.4941 GB, free: 13.37 MB / 426.7 MB Notification: Performance of Templates: time 0.02798/0.6996, allocations: 9.588 MB / 0.5034 GB, free: 3.785 MB / 426.7 MB