Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadModel(Modelica): time 2.256/2.256, allocations: 224.7 MB / 241.1 MB, free: 15.97 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.877e-05, allocations: 3.719 kB / 294.6 MB, free: 4.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.43 MB / 345 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.012/0.1207, allocations: 7.086 MB / 352.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.128, allocations: 2.775 MB / 354.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.1296, allocations: 47.88 kB / 354.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.1316, allocations: 485.3 kB / 355.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.1347, allocations: 0.5801 MB / 355.9 MB, free: 76 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.136, allocations: 207.6 kB / 356.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003392/0.1395, allocations: 1.049 MB / 357.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.1412, allocations: 0.7419 MB / 357.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.1427, allocations: 0.5375 MB / 358.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.1446, allocations: 0.7242 MB / 359.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1458, allocations: 131.9 kB / 359.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000479/0.1463, allocations: 71.94 kB / 359.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008738/0.1472, allocations: 470.5 kB / 359.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000784/0.148, allocations: 168 kB / 360 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.1521, allocations: 2.462 MB / 362.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1522, allocations: 0 / 362.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.27e-06/0.1522, allocations: 0 / 362.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.1523, allocations: 3.938 kB / 362.5 MB, free: 9.504 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005463/0.1578, allocations: 1.753 MB / 364.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1579, allocations: 8.031 kB / 364.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.1591, allocations: 225.5 kB / 364.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.1626, allocations: 1.176 MB / 365.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.1629, allocations: 111.1 kB / 365.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005213/0.1634, allocations: 156 kB / 365.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005857/0.1693, allocations: 1.989 MB / 367.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.839e-05/0.1694, allocations: 7.844 kB / 367.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.1696, allocations: 64 kB / 368 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.1698, allocations: 74.92 kB / 368 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00524/0.175, allocations: 1.635 MB / 369.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.1924, allocations: 6.941 MB / 376.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.1938, allocations: 445 kB / 377 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.1942, allocations: 121.5 kB / 377.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.1942, allocations: 39 kB / 377.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.607e-06/0.1942, allocations: 0 / 377.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.01259/0.2068, allocations: 3.292 MB / 380.5 MB, free: 6.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003769/0.2106, allocations: 2.206 MB / 382.7 MB, free: 4.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.2142, allocations: 1.404 MB / 384.1 MB, free: 3.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.2144, allocations: 41.64 kB / 384.1 MB, free: 3.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.2155, allocations: 0.9962 MB / 385.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.2159, allocations: 236.8 kB / 385.4 MB, free: 1.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.216, allocations: 32 kB / 385.4 MB, free: 1.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.2162, allocations: 374.8 kB / 385.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.2177, allocations: 0.5114 MB / 386.3 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.22, allocations: 1.453 MB / 387.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.2222, allocations: 0.797 MB / 388.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/0.2223, allocations: 8 kB / 388.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006062/0.2284, allocations: 2.061 MB / 390.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.2285, allocations: 20 kB / 390.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/0.2285, allocations: 35.95 kB / 390.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/0.2295, allocations: 230.4 kB / 390.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/0.232, allocations: 403.6 kB / 391.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.2346, allocations: 1.741 MB / 393 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.237, allocations: 135.4 kB / 393.2 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/0.2373, allocations: 96 kB / 393.2 MB, free: 9.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.2388, allocations: 0.575 MB / 393.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.2393, allocations: 154.1 kB / 394 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/0.2426, allocations: 1.113 MB / 395.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.2427, allocations: 8 kB / 395.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2427, allocations: 0 / 395.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.2428, allocations: 3.984 kB / 395.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009269/0.252, allocations: 3.375 MB / 398.5 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.2521, allocations: 7.938 kB / 398.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008287/0.2529, allocations: 111.8 kB / 398.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.2541, allocations: 226.7 kB / 398.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.2542, allocations: 20 kB / 398.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005994/0.2602, allocations: 3.764 MB / 402.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003249/0.2635, allocations: 2.041 MB / 404.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/0.2682, allocations: 2.046 MB / 406.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/0.2692, allocations: 311 kB / 407 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004009/0.2696, allocations: 24 kB / 407 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.271, allocations: 51.88 kB / 407.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.2713, allocations: 63.89 kB / 407.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.2714, allocations: 23.98 kB / 407.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002531/0.2739, allocations: 1.043 MB / 408.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.001e-06/0.274, allocations: 0 / 408.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002514/0.2765, allocations: 376 kB / 408.6 MB, free: 9.121 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004127/0.2769, allocations: 149.8 kB / 408.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004187/0.2811, allocations: 1.593 MB / 410.3 MB, free: 7.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.2812, allocations: 4 kB / 410.3 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.2833, allocations: 0.8361 MB / 411.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.2863, allocations: 375.1 kB / 411.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008395/0.2947, allocations: 3.733 MB / 415.2 MB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.2965, allocations: 1.492 MB / 416.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/0.2972, allocations: 123.4 kB / 416.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2973, allocations: 0 / 416.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of Templates: time 0.3698/0.667, allocations: 44.61 MB / 461.5 MB, free: 28.69 MB / 346.7 MB