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 2.203/2.203, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.833e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009052/0.1191, allocations: 5.117 MB / 350.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005749/0.1249, allocations: 2.155 MB / 352.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008677/0.1258, allocations: 31.94 kB / 352.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1268, allocations: 218.5 kB / 352.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.1292, allocations: 0.545 MB / 353 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.1322, allocations: 0.8256 MB / 353.9 MB, free: 32 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.134, allocations: 0.5507 MB / 354.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.137, allocations: 1.038 MB / 355.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006763/0.1377, allocations: 303.2 kB / 355.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007754/0.1385, allocations: 402.6 kB / 356.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1397, allocations: 299.6 kB / 356.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.14, allocations: 44 kB / 356.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1402, allocations: 159.3 kB / 356.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.1405, allocations: 84 kB / 356.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.1426, allocations: 1.099 MB / 357.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1426, allocations: 0 / 357.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1426, allocations: 0 / 357.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.709e-05/0.1427, allocations: 0 / 357.8 MB, free: 12.04 MB / 298.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.006957/0.1497, allocations: 1.422 MB / 359.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/0.1497, allocations: 8.031 kB / 359.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005722/0.1555, allocations: 486.2 kB / 359.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.1572, allocations: 473.4 kB / 360.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.1574, allocations: 86.22 kB / 360.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004205/0.1578, allocations: 115.9 kB / 360.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004524/0.1624, allocations: 0.9588 MB / 361.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/0.1625, allocations: 0 / 361.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.1628, allocations: 44 kB / 361.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.1628, allocations: 28 kB / 361.4 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005058/0.1679, allocations: 0.973 MB / 362.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.1834, allocations: 3.709 MB / 366.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/0.1885, allocations: 1.545 MB / 367.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.1888, allocations: 98.09 kB / 367.7 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002062/0.1909, allocations: 478.4 kB / 368.2 MB, free: 1.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 5.49e-06/0.1909, allocations: 0 / 368.2 MB, free: 1.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01685/0.2078, allocations: 3.909 MB / 372.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.208, allocations: 153.5 kB / 372.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/0.2087, allocations: 348.7 kB / 372.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.2089, allocations: 45.7 kB / 372.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.2093, allocations: 470 kB / 373.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/0.2098, allocations: 406 kB / 373.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.21, allocations: 28 kB / 373.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2102, allocations: 358.7 kB / 373.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.2115, allocations: 354.5 kB / 374.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.213, allocations: 0.532 MB / 374.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.2145, allocations: 428.3 kB / 375.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.2145, allocations: 4 kB / 375.2 MB, free: 9.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00445/0.219, allocations: 1.341 MB / 376.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.219, allocations: 8 kB / 376.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.2191, allocations: 11.94 kB / 376.5 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.2206, allocations: 350.1 kB / 376.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.2224, allocations: 199.7 kB / 377.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.2365, allocations: 7.778 MB / 384.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.2378, allocations: 43.98 kB / 384.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.2379, allocations: 47.98 kB / 384.9 MB, free: 15.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006189/0.2385, allocations: 253.7 kB / 385.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.2388, allocations: 71.11 kB / 385.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/0.2432, allocations: 1.294 MB / 386.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.2433, allocations: 12 kB / 386.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.2433, allocations: 8 kB / 386.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.2433, allocations: 7.969 kB / 386.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007062/0.2504, allocations: 2.414 MB / 389 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.2505, allocations: 0 / 389 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.2519, allocations: 147.8 kB / 389.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.2534, allocations: 336.3 kB / 389.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.2536, allocations: 28.11 kB / 389.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.265, allocations: 7.54 MB / 397 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.2651, allocations: 3.953 kB / 397 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0056/0.2707, allocations: 1.782 MB / 398.8 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.2712, allocations: 212.3 kB / 399 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.2714, allocations: 24 kB / 399 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/0.2723, allocations: 39.97 kB / 399.1 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.2726, allocations: 92.78 kB / 399.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/0.2727, allocations: 35.98 kB / 399.2 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004524/0.2732, allocations: 263.2 kB / 399.5 MB, free: 348 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2732, allocations: 0 / 399.5 MB, free: 348 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001571/0.2748, allocations: 320 kB / 399.8 MB, free: 28 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.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%) 19,(1,100.0%) 2,(1,100.0%) 4,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2976/0.5724, allocations: 159.8 kB / 399.9 MB, free: 48.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00519/0.5776, allocations: 1.602 MB / 401.5 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.5776, allocations: 0.5 kB / 401.5 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.5807, allocations: 1.152 MB / 402.7 MB, free: 47.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.5814, allocations: 48.89 kB / 402.7 MB, free: 47.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.5873, allocations: 2.367 MB / 405.1 MB, free: 46.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.5881, allocations: 1.036 MB / 406.1 MB, free: 46.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/0.5886, allocations: 64.56 kB / 406.2 MB, free: 46.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5886, allocations: 0 / 406.2 MB, free: 46.12 MB / 330.7 MB Notification: Performance of Templates: time 0.03917/0.6278, allocations: 24.59 MB / 430.8 MB, free: 31.15 MB / 330.7 MB