Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.011e-05, allocations: 5.406 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09268, allocations: 50.43 MB / 342.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.4764, allocations: 93.39 MB / 436 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.4767, allocations: 85.33 kB / 436 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1092/0.5859, allocations: 30.16 MB / 466.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5859, allocations: 0 / 466.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.463e-05/0.586, allocations: 23.98 kB / 466.2 MB, free: 7.152 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.009235/0.5952, allocations: 1.234 MB / 467.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.498e-05/0.5954, allocations: 12.03 kB / 467.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007735/0.6031, allocations: 394.3 kB / 467.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.6064, allocations: 483.7 kB / 468.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.6067, allocations: 82.22 kB / 468.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005387/0.6072, allocations: 123.8 kB / 468.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/0.6128, allocations: 0.9156 MB / 469.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.613, allocations: 3.984 kB / 469.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/0.6133, allocations: 44 kB / 469.5 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.017e-05/0.6134, allocations: 28 kB / 469.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005673/0.6191, allocations: 0.8831 MB / 470.4 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.6376, allocations: 3.736 MB / 474.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005284/0.643, allocations: 1.509 MB / 475.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.6452, allocations: 407.8 kB / 476 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.6456, allocations: 105.9 kB / 476.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/0.6478, allocations: 455.9 kB / 476.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 1.392e-05/0.6479, allocations: 4 kB / 476.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.01503/0.6629, allocations: 3.457 MB / 480.1 MB, free: 8.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.6631, allocations: 222.6 kB / 480.3 MB, free: 8.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.664, allocations: 346.8 kB / 480.6 MB, free: 8.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.6643, allocations: 49.7 kB / 480.7 MB, free: 8.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008288/0.6652, allocations: 470.1 kB / 481.1 MB, free: 7.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009643/0.6662, allocations: 413.9 kB / 481.5 MB, free: 7.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.6664, allocations: 20 kB / 481.5 MB, free: 7.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003815/0.6668, allocations: 354.8 kB / 481.9 MB, free: 6.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.6686, allocations: 318.6 kB / 482.2 MB, free: 6.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.6706, allocations: 0.5123 MB / 482.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.6727, allocations: 399 kB / 483.1 MB, free: 5.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.6728, allocations: 4 kB / 483.1 MB, free: 5.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006451/0.6792, allocations: 1.267 MB / 484.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.6793, allocations: 8 kB / 484.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.6794, allocations: 4 kB / 484.4 MB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.6818, allocations: 346.1 kB / 484.7 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.6842, allocations: 195.7 kB / 484.9 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.7043, allocations: 7.641 MB / 492.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.7061, allocations: 43.98 kB / 492.6 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.7064, allocations: 51.98 kB / 492.6 MB, free: 11.38 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.0005416/0.7069, allocations: 176.7 kB / 492.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.7073, allocations: 79.05 kB / 492.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/0.7135, allocations: 1.211 MB / 494.1 MB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.7136, allocations: 15.95 kB / 494.1 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/0.7136, allocations: 8 kB / 494.1 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/0.7137, allocations: 8.094 kB / 494.1 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.7244, allocations: 2.617 MB / 496.8 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.7245, allocations: 0 / 496.8 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.7263, allocations: 143.8 kB / 496.9 MB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.7286, allocations: 330 kB / 497.2 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.7288, allocations: 24 kB / 497.2 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/0.7477, allocations: 7.383 MB / 0.4928 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/0.7478, allocations: 4.031 kB / 0.4928 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.754, allocations: 1.746 MB / 0.4945 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/0.7545, allocations: 220.2 kB / 0.4947 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.7547, allocations: 20 kB / 0.4947 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.7553, allocations: 43.98 kB / 0.4948 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.7556, allocations: 97.05 kB / 0.4949 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7557, allocations: 32 kB / 0.4949 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004368/0.7561, allocations: 257.2 kB / 0.4951 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.7562, allocations: 4 kB / 0.4951 GB, free: 12.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00157/0.7577, allocations: 331.9 kB / 0.4955 GB, free: 11.94 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.0004398/0.7582, allocations: 224 kB / 0.4957 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003259/0.7615, allocations: 1.489 MB / 0.4971 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.82e-06/0.7615, allocations: 4 kB / 0.4971 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.7637, allocations: 1.059 MB / 0.4982 GB, free: 9.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.7643, allocations: 61.48 kB / 0.4982 GB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.7686, allocations: 1.479 MB / 0.4997 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/0.7696, allocations: 1.036 MB / 0.5007 GB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.77, allocations: 71.41 kB / 0.5008 GB, free: 6.375 MB / 426.7 MB Notification: Performance of SimCode: time 1.852e-06/0.77, allocations: 3.938 kB / 0.5008 GB, free: 6.371 MB / 426.7 MB Notification: Performance of Templates: time 0.2832/1.053, allocations: 24.68 MB / 0.5249 GB, free: 128.8 MB / 442.7 MB