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 2.268/2.268, allocations: 224.7 MB / 241.1 MB, free: 1.707 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.816e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 50.42 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00769/0.1225, allocations: 2.758 MB / 347.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.1258, allocations: 0.8261 MB / 348.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.1264, allocations: 12 kB / 348.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1267, allocations: 63.52 kB / 348.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.1276, allocations: 135.5 kB / 348.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.1285, allocations: 127.8 kB / 348.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1296, allocations: 315.7 kB / 349.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.13, allocations: 104.4 kB / 349.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005984/0.1307, allocations: 171.5 kB / 349.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.1312, allocations: 211.2 kB / 349.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1314, allocations: 24 kB / 349.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1315, allocations: 24 kB / 349.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.1317, allocations: 87.59 kB / 349.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.1319, allocations: 52 kB / 349.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.1329, allocations: 466.8 kB / 350.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1329, allocations: 0 / 350.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.133, allocations: 0 / 350.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.133, allocations: 3.938 kB / 350.3 MB, free: 3.566 MB / 282.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.00295/0.136, allocations: 0.7295 MB / 351.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.71e-05/0.1361, allocations: 12.03 kB / 351.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.1364, allocations: 59.3 kB / 351.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/0.1373, allocations: 338 kB / 351.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.1374, allocations: 41.3 kB / 351.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.1376, allocations: 51.94 kB / 351.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.1398, allocations: 438.5 kB / 352 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.1399, allocations: 0 / 352 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.14, allocations: 20 kB / 352 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.14, allocations: 12 kB / 352 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.1425, allocations: 416.9 kB / 352.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006447/0.149, allocations: 1.593 MB / 354 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.1511, allocations: 405.5 kB / 354.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-05/0.1513, allocations: 12.33 kB / 354.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.1514, allocations: 42.89 kB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 5.269e-06/0.1514, allocations: 0 / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.009455/0.1609, allocations: 1.4 MB / 355.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.161, allocations: 63.97 kB / 355.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/0.162, allocations: 348.7 kB / 356.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.1621, allocations: 29.7 kB / 356.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.1625, allocations: 350.3 kB / 356.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.1628, allocations: 185.3 kB / 356.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.1629, allocations: 16 kB / 356.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.1631, allocations: 334.8 kB / 357.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.1643, allocations: 193.2 kB / 357.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.1657, allocations: 298.2 kB / 357.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1671, allocations: 234.1 kB / 357.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.1671, allocations: 0 / 357.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003889/0.171, allocations: 0.7423 MB / 358.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.1711, allocations: 4 kB / 358.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.1711, allocations: 7.938 kB / 358.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.1726, allocations: 189.7 kB / 358.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.1741, allocations: 111.9 kB / 358.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009588/0.1837, allocations: 4.013 MB / 362.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.1849, allocations: 36.03 kB / 363 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.185, allocations: 24 kB / 363 MB, free: 6.289 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000481/0.1855, allocations: 182.3 kB / 363.2 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.1857, allocations: 47.44 kB / 363.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.186, allocations: 61.11 kB / 363.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.186, allocations: 15.94 kB / 363.3 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/0.1861, allocations: 4 kB / 363.3 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.1861, allocations: 0 / 363.3 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.1918, allocations: 1.322 MB / 364.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.1919, allocations: 0 / 364.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.1929, allocations: 71.89 kB / 364.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.1942, allocations: 173.6 kB / 364.8 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.1943, allocations: 16 kB / 364.9 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009159/0.2034, allocations: 3.885 MB / 368.7 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.2035, allocations: 4.031 kB / 368.8 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.207, allocations: 0.7588 MB / 369.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.2073, allocations: 120.5 kB / 369.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.2075, allocations: 11.95 kB / 369.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/0.2084, allocations: 28.08 kB / 369.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.2086, allocations: 52.31 kB / 369.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.2087, allocations: 16 kB / 369.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007062/0.2094, allocations: 271.2 kB / 370 MB, free: 14.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.899e-06/0.2095, allocations: 0 / 370 MB, free: 14.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00161/0.2111, allocations: 159.9 kB / 370.2 MB, free: 14.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/0.2114, allocations: 111.2 kB / 370.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.2153, allocations: 0.8242 MB / 371.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.2154, allocations: 4 kB / 371.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.2175, allocations: 0.5509 MB / 371.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.2182, allocations: 37.55 kB / 371.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.2217, allocations: 1.148 MB / 372.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.2226, allocations: 0.8679 MB / 373.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.2229, allocations: 39.42 kB / 373.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2229, allocations: 0 / 373.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of Templates: time 0.0294/0.2523, allocations: 9.24 MB / 383 MB, free: 1.734 MB / 314.7 MB