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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 225.8 MB / 239.4 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.904e-05, allocations: 5.406 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09084, allocations: 50.41 MB / 343.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4652, allocations: 88.13 MB / 431.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4655, allocations: 95.12 kB / 431.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1149/0.5804, allocations: 35.51 MB / 466.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.775e-06/0.5805, allocations: 0 / 466.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.895e-05/0.5805, allocations: 20 kB / 466.8 MB, free: 4.441 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006004/0.5865, allocations: 1.471 MB / 468.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5866, allocations: 12.03 kB / 468.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004185/0.5908, allocations: 457.1 kB / 468.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.5913, allocations: 300.6 kB / 469.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5914, allocations: 97.14 kB / 469.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.5918, allocations: 130 kB / 469.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.5947, allocations: 1.204 MB / 470.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/0.5947, allocations: 5.625 kB / 470.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.5949, allocations: 56.45 kB / 470.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.595, allocations: 31.94 kB / 470.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.5979, allocations: 1.082 MB / 471.7 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009528/0.6074, allocations: 4.255 MB / 475.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.6107, allocations: 2.23 MB / 478.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.6119, allocations: 0.504 MB / 478.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.6121, allocations: 109.8 kB / 478.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.6122, allocations: 43.56 kB / 478.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 5.03e-06/0.6122, allocations: 0 / 478.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=125): time 0.009221/0.6214, allocations: 2.779 MB / 481.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.6215, allocations: 90.11 kB / 481.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.6221, allocations: 347.4 kB / 482 MB, free: 5.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6222, allocations: 49.7 kB / 482.1 MB, free: 5.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.6226, allocations: 450.6 kB / 482.5 MB, free: 4.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000468/0.6231, allocations: 432 kB / 482.9 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.6232, allocations: 24 kB / 482.9 MB, free: 4.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.6235, allocations: 374.8 kB / 483.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009547/0.6245, allocations: 352 kB / 483.6 MB, free: 3.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.6257, allocations: 0.6086 MB / 484.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.6268, allocations: 453 kB / 484.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.486e-06/0.6269, allocations: 0 / 484.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00334/0.6302, allocations: 1.291 MB / 486 MB, free: 1.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.6303, allocations: 11.98 kB / 486 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.6303, allocations: 8 kB / 486 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/0.6311, allocations: 185.6 kB / 486.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.6327, allocations: 303.6 kB / 486.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/0.6386, allocations: 3.97 MB / 490.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.6399, allocations: 87.92 kB / 490.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6401, allocations: 59.97 kB / 490.6 MB, free: 12.46 MB / 378.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.0003199/0.6404, allocations: 180.6 kB / 490.8 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.6406, allocations: 71.34 kB / 490.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.6438, allocations: 1.191 MB / 492 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.6438, allocations: 15.94 kB / 492.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6438, allocations: 4 kB / 492.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.6439, allocations: 11.95 kB / 492.1 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/0.6496, allocations: 2.362 MB / 494.4 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-06/0.6496, allocations: 0 / 494.4 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.651, allocations: 227.9 kB / 494.7 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006508/0.6517, allocations: 161.6 kB / 494.8 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6518, allocations: 39.88 kB / 494.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/0.6571, allocations: 3.779 MB / 498.6 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.6572, allocations: 3.938 kB / 498.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.6612, allocations: 1.693 MB / 0.4886 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.6618, allocations: 224.2 kB / 0.4888 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.662, allocations: 24 kB / 0.4888 GB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/0.6629, allocations: 75.94 kB / 0.4889 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.6631, allocations: 88.89 kB / 0.489 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.6632, allocations: 39.98 kB / 0.489 GB, free: 1.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004321/0.6637, allocations: 258.2 kB / 0.4893 GB, free: 1.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.137e-06/0.6637, allocations: 0 / 0.4893 GB, free: 1.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00153/0.6652, allocations: 320.1 kB / 0.4896 GB, free: 1.316 MB / 378.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.0004366/0.6657, allocations: 209 kB / 0.4898 GB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.6687, allocations: 1.251 MB / 0.491 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.872e-06/0.6687, allocations: 1.938 kB / 0.491 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.6703, allocations: 0.7685 MB / 0.4918 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.6709, allocations: 53.39 kB / 0.4918 GB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.6751, allocations: 1.368 MB / 0.4931 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/0.676, allocations: 1.025 MB / 0.4941 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001108/0.6771, allocations: 146.6 kB / 0.4943 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.6775, allocations: 75.41 kB / 0.4944 GB, free: 12.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.916e-06/0.6775, allocations: 4 kB / 0.4944 GB, free: 12.31 MB / 394.7 MB Notification: Performance of Templates: time 0.02783/0.7054, allocations: 9.576 MB / 0.5037 GB, free: 2.754 MB / 394.7 MB