Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.095e-05, allocations: 4 kB / 292.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 50.42 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.4749, allocations: 83.33 MB / 425.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.4753, allocations: 93.47 kB / 426 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09032/0.5656, allocations: 26.19 MB / 452.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.5657, allocations: 4 kB / 452.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.5657, allocations: 16 kB / 452.2 MB, free: 5.184 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00394/0.5697, allocations: 1.091 MB / 453.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5697, allocations: 8.031 kB / 453.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.5721, allocations: 258.7 kB / 453.5 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.5725, allocations: 254 kB / 453.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.5726, allocations: 73.98 kB / 453.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.5729, allocations: 99.91 kB / 454 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.5751, allocations: 0.8955 MB / 454.9 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.5752, allocations: 0 / 454.9 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.5753, allocations: 43.95 kB / 454.9 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.5754, allocations: 28 kB / 454.9 MB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.5774, allocations: 0.7421 MB / 455.7 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007767/0.5851, allocations: 3.4 MB / 459.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.588, allocations: 1.395 MB / 460.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008613/0.589, allocations: 364.5 kB / 460.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.5892, allocations: 97.88 kB / 460.9 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.5892, allocations: 47.28 kB / 461 MB, free: 11.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 4.375e-06/0.5892, allocations: 0 / 461 MB, free: 11.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001933/0.5912, allocations: 0.6786 MB / 461.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.5913, allocations: 85.89 kB / 461.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.5919, allocations: 326.8 kB / 462 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.688e-05/0.592, allocations: 41.7 kB / 462.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.5924, allocations: 445.1 kB / 462.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.5927, allocations: 299.6 kB / 462.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.5928, allocations: 20 kB / 462.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.593, allocations: 354.7 kB / 463.2 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/0.5937, allocations: 250.6 kB / 463.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.5946, allocations: 465 kB / 463.9 MB, free: 8.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008716/0.5955, allocations: 328.8 kB / 464.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.5955, allocations: 0 / 464.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002394/0.5979, allocations: 0.9182 MB / 465.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.598, allocations: 11.98 kB / 465.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.598, allocations: 4 kB / 465.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.5986, allocations: 123.8 kB / 465.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.5997, allocations: 207.7 kB / 465.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.6056, allocations: 5.548 MB / 471 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.6065, allocations: 99.03 kB / 471.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6066, allocations: 44 kB / 471.1 MB, free: 1.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.6069, allocations: 164.7 kB / 471.3 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.6071, allocations: 51.34 kB / 471.4 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.6092, allocations: 0.8311 MB / 472.2 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.6093, allocations: 8 kB / 472.2 MB, free: 0 / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.102e-05/0.6093, allocations: 4.047 kB / 472.2 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6093, allocations: 3.938 kB / 472.2 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005743/0.6151, allocations: 2.711 MB / 474.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.6152, allocations: 8 kB / 474.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.6159, allocations: 139.8 kB / 475.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/0.6164, allocations: 115.8 kB / 475.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.6165, allocations: 31.98 kB / 475.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.622, allocations: 5.307 MB / 480.5 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/0.6221, allocations: 11.94 kB / 480.5 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.6253, allocations: 1.738 MB / 482.3 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.6256, allocations: 160.2 kB / 482.4 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.6258, allocations: 27.98 kB / 482.4 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.6264, allocations: 24 kB / 482.5 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.6266, allocations: 84.25 kB / 482.5 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.6267, allocations: 31.98 kB / 482.6 MB, free: 4.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004795/0.6271, allocations: 274.1 kB / 482.8 MB, free: 4.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.74e-07/0.6272, allocations: 4 kB / 482.8 MB, free: 4.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001453/0.6286, allocations: 267.3 kB / 483.1 MB, free: 3.902 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003881/0.629, allocations: 183 kB / 483.3 MB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.6314, allocations: 1.085 MB / 484.4 MB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.567e-06/0.6314, allocations: 0 / 484.4 MB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.6327, allocations: 0.7418 MB / 485.1 MB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006934/0.6334, allocations: 59.52 kB / 485.2 MB, free: 1.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.6365, allocations: 1.202 MB / 486.4 MB, free: 432 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.6374, allocations: 0.9358 MB / 487.3 MB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.6378, allocations: 63.42 kB / 487.4 MB, free: 15.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.91e-06/0.6378, allocations: 0 / 487.4 MB, free: 15.39 MB / 410.7 MB Notification: Performance of Templates: time 0.0303/0.6681, allocations: 19.69 MB / 0.4952 GB, free: 11.69 MB / 426.7 MB