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_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 171.2 MB / 186.3 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.434e-05, allocations: 4 kB / 228.1 MB, free: 7.965 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08653, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004329/0.09092, allocations: 2.524 MB / 269.4 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.09334, allocations: 0.9158 MB / 270.3 MB, free: 13.65 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.09363, allocations: 8 kB / 270.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.09396, allocations: 79.5 kB / 270.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.09502, allocations: 255 kB / 270.7 MB, free: 13.32 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008616/0.0959, allocations: 183.5 kB / 270.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007334/0.09665, allocations: 231.5 kB / 271.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.09689, allocations: 78.33 kB / 271.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.09713, allocations: 115.6 kB / 271.3 MB, free: 12.72 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.09745, allocations: 139.6 kB / 271.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.09778, allocations: 83.89 kB / 271.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.09785, allocations: 16 kB / 271.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.09793, allocations: 47.77 kB / 271.5 MB, free: 12.44 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.491e-05/0.09804, allocations: 32 kB / 271.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.09865, allocations: 363.2 kB / 271.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09867, allocations: 0 / 271.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.09868, allocations: 0 / 271.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.0987, allocations: 0 / 271.9 MB, free: 12.05 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001904/0.1006, allocations: 0.6317 MB / 272.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1007, allocations: 8.031 kB / 272.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005282/0.1012, allocations: 67.5 kB / 272.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.1018, allocations: 292.1 kB / 272.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.1019, allocations: 24.61 kB / 272.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.1019, allocations: 32 kB / 273 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.1028, allocations: 316.6 kB / 273.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1029, allocations: 4 kB / 273.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.1029, allocations: 12 kB / 273.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1029, allocations: 8 kB / 273.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.1037, allocations: 211.8 kB / 273.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.1067, allocations: 1.316 MB / 274.8 MB, free: 8.938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.1072, allocations: 145.2 kB / 275 MB, free: 8.777 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1073, allocations: 3.953 kB / 275 MB, free: 8.773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1073, allocations: 38.56 kB / 275 MB, free: 8.727 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 3.386e-06/0.1073, allocations: 0 / 275 MB, free: 8.727 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008474/0.1082, allocations: 201.4 kB / 275.2 MB, free: 8.523 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.1083, allocations: 89.03 kB / 275.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.1087, allocations: 242.1 kB / 275.5 MB, free: 8.176 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1088, allocations: 33.7 kB / 275.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.109, allocations: 282.1 kB / 275.8 MB, free: 7.859 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.1091, allocations: 47.3 kB / 275.9 MB, free: 7.812 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.1091, allocations: 7.938 kB / 275.9 MB, free: 7.805 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1092, allocations: 322.8 kB / 276.2 MB, free: 7.48 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1095, allocations: 67.91 kB / 276.3 MB, free: 7.414 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.1098, allocations: 161.7 kB / 276.4 MB, free: 7.207 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.1101, allocations: 83.92 kB / 276.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1101, allocations: 4 kB / 276.5 MB, free: 7.121 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007615/0.1109, allocations: 261 kB / 276.8 MB, free: 6.859 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.1109, allocations: 11.94 kB / 276.8 MB, free: 6.848 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.111, allocations: 7.984 kB / 276.8 MB, free: 6.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.111, allocations: 8.438 kB / 276.8 MB, free: 6.832 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/0.112, allocations: 71.91 kB / 276.9 MB, free: 6.762 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.112, allocations: 4.25 kB / 276.9 MB, free: 6.758 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.1127, allocations: 31.73 kB / 276.9 MB, free: 6.727 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.1128, allocations: 16 kB / 276.9 MB, free: 6.711 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.1131, allocations: 153.7 kB / 277.1 MB, free: 6.551 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.1133, allocations: 23.72 kB / 277.1 MB, free: 6.527 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1134, allocations: 33.69 kB / 277.1 MB, free: 6.496 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.1135, allocations: 4 kB / 277.1 MB, free: 6.492 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1135, allocations: 0 / 277.1 MB, free: 6.492 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1135, allocations: 0 / 277.1 MB, free: 6.492 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.1152, allocations: 0.4914 MB / 277.6 MB, free: 5.941 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1153, allocations: 0 / 277.6 MB, free: 5.941 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.1159, allocations: 43.97 kB / 277.7 MB, free: 5.898 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.116, allocations: 4 kB / 277.7 MB, free: 5.895 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.116, allocations: 3.984 kB / 277.7 MB, free: 5.891 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.116, allocations: 0 / 277.7 MB, free: 5.891 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.1161, allocations: 4 kB / 277.7 MB, free: 5.887 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1174, allocations: 434.6 kB / 278.1 MB, free: 5.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.1177, allocations: 112.8 kB / 278.2 MB, free: 5.301 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1178, allocations: 8.047 kB / 278.2 MB, free: 5.293 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.1184, allocations: 16.03 kB / 278.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.1185, allocations: 15.92 kB / 278.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.1186, allocations: 4 kB / 278.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0004739/0.1191, allocations: 190 kB / 278.4 MB, free: 5.07 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.1191, allocations: 0 / 278.4 MB, free: 5.07 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009182/0.12, allocations: 75.78 kB / 278.5 MB, free: 4.996 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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.0002749/0.1203, allocations: 115.2 kB / 278.6 MB, free: 4.871 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009763/0.1213, allocations: 160.1 kB / 278.8 MB, free: 4.715 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1213, allocations: 0 / 278.8 MB, free: 4.715 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.1217, allocations: 63.91 kB / 278.8 MB, free: 4.652 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.1224, allocations: 25.47 kB / 278.9 MB, free: 4.625 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1247, allocations: 0.8075 MB / 279.7 MB, free: 3.773 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.1252, allocations: 0.7755 MB / 280.5 MB, free: 2.973 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.1253, allocations: 23.44 kB / 280.5 MB, free: 2.949 MB / 234.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1253, allocations: 0 / 280.5 MB, free: 2.949 MB / 234.7 MB Notification: Performance of Templates: time 0.007914/0.1333, allocations: 3.051 MB / 283.5 MB, free: 15.89 MB / 250.7 MB