Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.817e-05/4.841e-05, allocations: 7.984 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09144, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4502, allocations: 82.71 MB / 425.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4505, allocations: 82.39 kB / 425.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07127/0.5218, allocations: 20.73 MB / 446.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.938e-06/0.5218, allocations: 0 / 446.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.5219, allocations: 12 kB / 446.6 MB, free: 10.56 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003505/0.5254, allocations: 0.9719 MB / 447.6 MB, free: 9.621 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.5255, allocations: 8.031 kB / 447.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.5274, allocations: 215.4 kB / 447.8 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.5277, allocations: 235.9 kB / 448 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.5278, allocations: 54.88 kB / 448.1 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.528, allocations: 75.38 kB / 448.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.5296, allocations: 0.7185 MB / 448.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.5297, allocations: 3.984 kB / 448.9 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.5298, allocations: 36.11 kB / 448.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.5298, allocations: 19.95 kB / 448.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.5314, allocations: 0.5933 MB / 449.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006153/0.5375, allocations: 3.146 MB / 452.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.5405, allocations: 2.032 MB / 454.7 MB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.5413, allocations: 303.9 kB / 455 MB, free: 2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.5415, allocations: 93.88 kB / 455.1 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.5415, allocations: 47.3 kB / 455.2 MB, free: 1.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 4.248e-06/0.5415, allocations: 0 / 455.2 MB, free: 1.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001664/0.5432, allocations: 0.5951 MB / 455.7 MB, free: 1.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.5433, allocations: 115.5 kB / 455.9 MB, free: 1.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.5437, allocations: 238.8 kB / 456.1 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.5438, allocations: 37.7 kB / 456.1 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.5441, allocations: 295.4 kB / 456.4 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.5444, allocations: 248.4 kB / 456.7 MB, free: 276 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.5444, allocations: 16 kB / 456.7 MB, free: 260 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.5447, allocations: 358.7 kB / 457 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.5452, allocations: 198 kB / 457.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.5459, allocations: 344.2 kB / 457.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.5466, allocations: 254 kB / 457.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.966e-06/0.5466, allocations: 0 / 457.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001915/0.5485, allocations: 0.7515 MB / 458.6 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.5486, allocations: 11.95 kB / 458.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.5486, allocations: 4 kB / 458.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.5491, allocations: 129.6 kB / 458.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/0.55, allocations: 159.8 kB / 458.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/0.5545, allocations: 3.408 MB / 462.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.5553, allocations: 95.25 kB / 462.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.852e-05/0.5554, allocations: 32 kB / 462.4 MB, free: 10.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.5557, allocations: 144.7 kB / 462.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.5558, allocations: 47.38 kB / 462.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.5577, allocations: 0.6934 MB / 463.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5577, allocations: 8 kB / 463.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.762e-06/0.5577, allocations: 4 kB / 463.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5577, allocations: 3.984 kB / 463.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.561, allocations: 1.445 MB / 464.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.731e-06/0.561, allocations: 3.984 kB / 464.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.5618, allocations: 115.9 kB / 464.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/0.5625, allocations: 113.6 kB / 465 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/0.5626, allocations: 12 kB / 465 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.5686, allocations: 3.107 MB / 468.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.512e-06/0.5686, allocations: 3.938 kB / 468.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/0.5725, allocations: 1.052 MB / 469.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.5728, allocations: 128.4 kB / 469.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.637e-05/0.5729, allocations: 20.06 kB / 469.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.5734, allocations: 35.94 kB / 469.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.5736, allocations: 52.7 kB / 469.4 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.5737, allocations: 19.98 kB / 469.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002989/0.574, allocations: 187.1 kB / 469.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.574, allocations: 0 / 469.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001092/0.5751, allocations: 223.5 kB / 469.8 MB, free: 2.383 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003339/0.5755, allocations: 171 kB / 470 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.5772, allocations: 0.7899 MB / 470.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.462e-06/0.5773, allocations: 0 / 470.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009371/0.5782, allocations: 0.5177 MB / 471.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.5786, allocations: 28.52 kB / 471.3 MB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.581, allocations: 0.824 MB / 472.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.5817, allocations: 0.8771 MB / 473 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005845/0.5823, allocations: 84.34 kB / 473.1 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.5825, allocations: 47.42 kB / 473.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.711e-06/0.5825, allocations: 0 / 473.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of Templates: time 0.01893/0.6015, allocations: 5.738 MB / 478.9 MB, free: 9.223 MB / 394.7 MB