Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.803e-05, allocations: 7.984 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005994/0.1173, allocations: 2.586 MB / 347.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.1204, allocations: 1.095 MB / 348.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.1207, allocations: 8 kB / 348.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.121, allocations: 83.42 kB / 348.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.1223, allocations: 362.7 kB / 349.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.1228, allocations: 115.8 kB / 349.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00083/0.1236, allocations: 239.4 kB / 349.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.1239, allocations: 82.33 kB / 349.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1241, allocations: 119.6 kB / 349.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.1245, allocations: 151.5 kB / 349.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.1249, allocations: 115.9 kB / 349.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.125, allocations: 16 kB / 349.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.1251, allocations: 59.75 kB / 350 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.1252, allocations: 32 kB / 350 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.1259, allocations: 387.2 kB / 350.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.126, allocations: 4 kB / 350.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.126, allocations: 4 kB / 350.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.126, allocations: 0 / 350.4 MB, free: 3.492 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001911/0.1279, allocations: 0.6554 MB / 351.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.128, allocations: 12.02 kB / 351.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009279/0.1289, allocations: 99.42 kB / 351.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.1295, allocations: 299.3 kB / 351.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.1296, allocations: 25 kB / 351.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.1297, allocations: 32 kB / 351.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.1306, allocations: 353.3 kB / 351.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1307, allocations: 4 kB / 351.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.1307, allocations: 12 kB / 351.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1308, allocations: 11.95 kB / 351.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.1316, allocations: 258.1 kB / 352.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.1347, allocations: 1.373 MB / 353.5 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.1354, allocations: 185.3 kB / 353.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.1366, allocations: 0.8633 MB / 354.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1366, allocations: 34.56 kB / 354.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.524e-06/0.1366, allocations: 0 / 354.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000803/0.1375, allocations: 201.3 kB / 354.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1375, allocations: 81.11 kB / 354.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.1379, allocations: 250.1 kB / 355.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.138, allocations: 29.7 kB / 355.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.1382, allocations: 305.7 kB / 355.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.1383, allocations: 51.23 kB / 355.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.1383, allocations: 11.94 kB / 355.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1384, allocations: 318.8 kB / 355.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.1387, allocations: 75.81 kB / 355.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.1391, allocations: 189 kB / 356.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.1394, allocations: 95.88 kB / 356.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.1394, allocations: 4 kB / 356.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008056/0.1402, allocations: 285.8 kB / 356.4 MB, free: 13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.1403, allocations: 4 kB / 356.5 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.1403, allocations: 8 kB / 356.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1403, allocations: 7.938 kB / 356.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.1409, allocations: 79.89 kB / 356.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.1409, allocations: 4 kB / 356.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.1412, allocations: 43.8 kB / 356.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.1413, allocations: 12 kB / 356.6 MB, free: 12.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.1415, allocations: 157.7 kB / 356.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.1416, allocations: 23.72 kB / 356.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.1417, allocations: 25.73 kB / 356.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1417, allocations: 0 / 356.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1417, allocations: 0 / 356.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1417, allocations: 4.094 kB / 356.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1428, allocations: 0.5146 MB / 357.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.1428, allocations: 4 kB / 357.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.1432, allocations: 31.98 kB / 357.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.1432, allocations: 4 kB / 357.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1432, allocations: 3.984 kB / 357.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1432, allocations: 4.031 kB / 357.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1432, allocations: 4.312 kB / 357.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.1441, allocations: 426.8 kB / 357.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1442, allocations: 100.7 kB / 357.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.1443, allocations: 11.98 kB / 357.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.1446, allocations: 12 kB / 357.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.1447, allocations: 20 kB / 357.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1447, allocations: 4 kB / 357.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.145, allocations: 190 kB / 358.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1451, allocations: 3.938 kB / 358.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005902/0.1457, allocations: 83.77 kB / 358.2 MB, free: 11.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002087/0.1459, allocations: 123.2 kB / 358.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00063/0.1465, allocations: 168.5 kB / 358.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1465, allocations: 0 / 358.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.1468, allocations: 63.91 kB / 358.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1472, allocations: 27.8 kB / 358.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1489, allocations: 0.8234 MB / 359.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1494, allocations: 0.7833 MB / 360.2 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1495, allocations: 23.44 kB / 360.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1495, allocations: 0 / 360.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of Templates: time 0.00832/0.1578, allocations: 3.25 MB / 363.5 MB, free: 5.785 MB / 298.7 MB