Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.797e-05, allocations: 4 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.08991, allocations: 50.41 MB / 342.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4465, allocations: 81.67 MB / 424.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4468, allocations: 77.02 kB / 424.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05075/0.4976, allocations: 12.21 MB / 436.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4976, allocations: 0 / 436.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/0.4977, allocations: 8 kB / 436.5 MB, free: 2.098 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001565/0.4992, allocations: 0.7205 MB / 437.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4993, allocations: 8.031 kB / 437.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.4995, allocations: 63.25 kB / 437.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.5001, allocations: 343.2 kB / 437.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.5002, allocations: 36.62 kB / 437.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.921e-05/0.5003, allocations: 53.25 kB / 437.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/0.5012, allocations: 392.1 kB / 438.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5013, allocations: 4 kB / 438.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.5013, allocations: 20.25 kB / 438.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.5014, allocations: 19.94 kB / 438.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008373/0.5022, allocations: 329.2 kB / 438.5 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.5057, allocations: 1.594 MB / 440.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.5065, allocations: 388.4 kB / 440.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.507, allocations: 162.7 kB / 440.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.507, allocations: 8.266 kB / 440.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5071, allocations: 38.67 kB / 440.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.627e-06/0.5071, allocations: 3.938 kB / 440.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.003384/0.5105, allocations: 1.055 MB / 441.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.5106, allocations: 59.97 kB / 441.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.5112, allocations: 355.3 kB / 442.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.5112, allocations: 32.95 kB / 442.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.5115, allocations: 349 kB / 442.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5117, allocations: 186.5 kB / 442.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.5117, allocations: 10.38 kB / 442.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5119, allocations: 341 kB / 443 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.5123, allocations: 146 kB / 443.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.5128, allocations: 257.4 kB / 443.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.5133, allocations: 184.9 kB / 443.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.374e-06/0.5133, allocations: 0 / 443.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001575/0.5149, allocations: 0.6447 MB / 444.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.5149, allocations: 4 kB / 444.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.515, allocations: 4 kB / 444.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.5157, allocations: 188.4 kB / 444.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.5164, allocations: 114.7 kB / 444.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.5218, allocations: 3.882 MB / 448.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.5224, allocations: 45.03 kB / 448.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.5225, allocations: 19.31 kB / 448.5 MB, free: 7.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.5227, allocations: 140.1 kB / 448.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5228, allocations: 47.48 kB / 448.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.523, allocations: 63.75 kB / 448.7 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.523, allocations: 4 kB / 448.7 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.523, allocations: 4 kB / 448.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.523, allocations: 7.922 kB / 448.7 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.5257, allocations: 1.224 MB / 450 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.5258, allocations: 8.125 kB / 450 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.5262, allocations: 71.64 kB / 450 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005845/0.5268, allocations: 162.2 kB / 450.2 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.5269, allocations: 10.69 kB / 450.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004945/0.5318, allocations: 3.699 MB / 453.9 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.744e-06/0.5319, allocations: 32 / 453.9 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.5333, allocations: 0.6863 MB / 454.6 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.5335, allocations: 116.5 kB / 454.7 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.5336, allocations: 12 kB / 454.7 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.534, allocations: 31.94 kB / 454.8 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.5341, allocations: 40.38 kB / 454.8 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.5342, allocations: 23.98 kB / 454.8 MB, free: 1.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004411/0.5346, allocations: 269.2 kB / 455.1 MB, free: 1.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.5347, allocations: 0 / 455.1 MB, free: 1.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009593/0.5356, allocations: 148 kB / 455.2 MB, free: 1.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002036/0.5358, allocations: 119.2 kB / 455.3 MB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.5374, allocations: 0.6801 MB / 456 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5374, allocations: 0 / 456 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.5383, allocations: 489.3 kB / 456.5 MB, free: 104 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.5387, allocations: 41.48 kB / 456.5 MB, free: 64 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.5405, allocations: 0.6533 MB / 457.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.5412, allocations: 0.8756 MB / 458.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5414, allocations: 35.42 kB / 458.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.702e-06/0.5414, allocations: 0 / 458.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of Templates: time 0.01553/0.5569, allocations: 9.195 MB / 467.3 MB, free: 5.223 MB / 378.7 MB