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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.759e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08516, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5018/0.587, allocations: 81.45 MB / 398.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004844/0.5875, allocations: 86.02 kB / 398.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0746/0.6622, allocations: 20.59 MB / 419.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.978e-06/0.6622, allocations: 0 / 419.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.6622, allocations: 8 kB / 419.1 MB, free: 5.824 MB / 330.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.003635/0.6659, allocations: 0.9726 MB / 420.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.666, allocations: 12.03 kB / 420.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.6679, allocations: 204.2 kB / 420.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.6683, allocations: 242.8 kB / 420.5 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/0.6684, allocations: 55.31 kB / 420.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.6686, allocations: 77.02 kB / 420.6 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.6702, allocations: 0.7168 MB / 421.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.6703, allocations: 0 / 421.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.6704, allocations: 28.94 kB / 421.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.6704, allocations: 20 kB / 421.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.6719, allocations: 0.5979 MB / 422 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006097/0.678, allocations: 3.154 MB / 425.1 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/0.6809, allocations: 2.03 MB / 427.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/0.6817, allocations: 293.8 kB / 427.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.6819, allocations: 105.8 kB / 427.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.6819, allocations: 46.25 kB / 427.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 7.762e-06/0.6819, allocations: 0 / 427.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.001587/0.6835, allocations: 0.5841 MB / 428.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.6836, allocations: 119.6 kB / 428.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.684, allocations: 247.2 kB / 428.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.6841, allocations: 35.14 kB / 428.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.6844, allocations: 298.8 kB / 428.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.6847, allocations: 244.3 kB / 429.1 MB, free: 13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.6847, allocations: 14.25 kB / 429.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.6849, allocations: 352 kB / 429.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.6855, allocations: 200.6 kB / 429.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.6861, allocations: 347.5 kB / 430 MB, free: 12.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.6868, allocations: 256.1 kB / 430.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.524e-06/0.6868, allocations: 4 kB / 430.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001899/0.6887, allocations: 0.7541 MB / 431 MB, free: 11.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.6887, allocations: 10.19 kB / 431 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.6888, allocations: 4 kB / 431 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.6893, allocations: 125.9 kB / 431.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.6903, allocations: 166.7 kB / 431.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006331/0.6966, allocations: 3.4 MB / 434.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.698, allocations: 96.66 kB / 434.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.6982, allocations: 34.73 kB / 434.8 MB, free: 7.836 MB / 346.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.0003153/0.6985, allocations: 147.2 kB / 435 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.6988, allocations: 43.48 kB / 435 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.7017, allocations: 0.6862 MB / 435.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.7018, allocations: 11.98 kB / 435.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7018, allocations: 4 kB / 435.7 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.7018, allocations: 0 / 435.7 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005483/0.7073, allocations: 1.459 MB / 437.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.7074, allocations: 0 / 437.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.7086, allocations: 115.8 kB / 437.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.7091, allocations: 109.6 kB / 437.4 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/0.7091, allocations: 16 kB / 437.4 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.713, allocations: 3.094 MB / 440.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.528e-06/0.713, allocations: 11.92 kB / 440.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.7154, allocations: 1.052 MB / 441.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.7156, allocations: 124.5 kB / 441.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.7157, allocations: 12 kB / 441.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.7162, allocations: 36.03 kB / 441.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.7164, allocations: 60.64 kB / 441.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/0.7165, allocations: 16 kB / 441.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.7168, allocations: 195.1 kB / 442 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.7168, allocations: 0 / 442 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001091/0.7179, allocations: 219.5 kB / 442.2 MB, free: 0.6016 MB / 346.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.0003439/0.7183, allocations: 171.2 kB / 442.4 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.7201, allocations: 0.7973 MB / 443.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.902e-06/0.7201, allocations: 0 / 443.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.7211, allocations: 0.5188 MB / 443.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.7215, allocations: 28.55 kB / 443.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.7239, allocations: 0.8155 MB / 444.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.7246, allocations: 0.8811 MB / 445.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006034/0.7253, allocations: 80.36 kB / 445.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.7255, allocations: 47.42 kB / 445.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.769e-06/0.7255, allocations: 0 / 445.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of Templates: time 0.01755/0.743, allocations: 5.699 MB / 451.3 MB, free: 7.465 MB / 362.7 MB