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 1.885/1.885, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.664e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08955, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5121, allocations: 105.4 MB / 448 MB, free: 5.125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/0.5125, allocations: 84.89 kB / 448 MB, free: 5.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2108/0.7233, allocations: 39.49 MB / 487.5 MB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.602e-06/0.7234, allocations: 0 / 487.5 MB, free: 1.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001393/0.7235, allocations: 43.94 kB / 487.6 MB, free: 1.852 MB / 394.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.003923/0.7274, allocations: 1.74 MB / 489.3 MB, free: 60 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.7275, allocations: 11.97 kB / 489.3 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.7285, allocations: 233.4 kB / 489.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.7316, allocations: 1.269 MB / 490.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.7318, allocations: 119 kB / 490.9 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.7321, allocations: 148 kB / 491.1 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00441/0.7366, allocations: 1.938 MB / 493 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.794e-05/0.7367, allocations: 19.83 kB / 493 MB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.7369, allocations: 60 kB / 493.1 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.737, allocations: 78.91 kB / 493.2 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/0.7407, allocations: 1.509 MB / 494.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.7541, allocations: 6.87 MB / 0.4898 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.7552, allocations: 471.8 kB / 0.4903 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.7558, allocations: 278.1 kB / 0.4905 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003475/0.7593, allocations: 1.478 MB / 0.492 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.7593, allocations: 30.56 kB / 0.492 GB, free: 1.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.225e-06/0.7593, allocations: 0 / 0.492 GB, free: 1.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.008048/0.7674, allocations: 2.825 MB / 0.4948 GB, free: 14.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003176/0.7706, allocations: 2.159 MB / 0.4969 GB, free: 11.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.7734, allocations: 1.376 MB / 0.4982 GB, free: 10.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.7735, allocations: 29.7 kB / 0.4982 GB, free: 10.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009388/0.7745, allocations: 1.008 MB / 0.4992 GB, free: 9.402 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.7747, allocations: 213.3 kB / 0.4994 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/0.7749, allocations: 32 kB / 0.4995 GB, free: 9.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.7751, allocations: 370.8 kB / 0.4998 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.7762, allocations: 487.8 kB / 0.5003 GB, free: 8.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.778, allocations: 1.387 MB / 0.5016 GB, free: 6.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.7796, allocations: 0.7664 MB / 0.5024 GB, free: 5.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.7796, allocations: 8 kB / 0.5024 GB, free: 5.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004264/0.7839, allocations: 1.878 MB / 0.5042 GB, free: 3.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.7839, allocations: 20 kB / 0.5042 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/0.784, allocations: 32 kB / 0.5043 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007326/0.7847, allocations: 234.9 kB / 0.5045 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.7863, allocations: 375.3 kB / 0.5048 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.7886, allocations: 1.745 MB / 0.5066 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.7903, allocations: 131.5 kB / 0.5067 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.7905, allocations: 88 kB / 0.5068 GB, free: 1.055 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * 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.0003331/0.7908, allocations: 220.2 kB / 0.507 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.7911, allocations: 146.2 kB / 0.5071 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.7936, allocations: 1.047 MB / 0.5081 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7937, allocations: 8 kB / 0.5081 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.7937, allocations: 0 / 0.5081 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.621e-06/0.7937, allocations: 0 / 0.5081 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006957/0.8007, allocations: 3.089 MB / 0.5112 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.8007, allocations: 3.984 kB / 0.5112 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.8013, allocations: 95.88 kB / 0.5113 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008793/0.8022, allocations: 222.3 kB / 0.5115 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.8023, allocations: 20.17 kB / 0.5115 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/0.8075, allocations: 3.722 MB / 0.5151 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002808/0.8103, allocations: 2.018 MB / 0.5171 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.8138, allocations: 1.8 MB / 0.5188 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/0.8145, allocations: 295.2 kB / 0.5191 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.8148, allocations: 19.98 kB / 0.5191 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.8156, allocations: 48.02 kB / 0.5192 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.8158, allocations: 51.83 kB / 0.5192 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.8159, allocations: 23.98 kB / 0.5193 GB, free: 3.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002094/0.818, allocations: 1.011 MB / 0.5203 GB, free: 2.496 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.818, allocations: 0 / 0.5203 GB, free: 2.496 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002159/0.8201, allocations: 408 kB / 0.5206 GB, free: 2.098 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (49): * Single equations (assignments): 46 * 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.0006089/0.8208, allocations: 372.6 kB / 0.521 GB, free: 1.734 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.8237, allocations: 1.471 MB / 0.5224 GB, free: 224 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.442e-06/0.8238, allocations: 0 / 0.5224 GB, free: 224 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2379/1.062, allocations: 0.7608 MB / 0.5232 GB, free: 123.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.064, allocations: 376 kB / 0.5235 GB, free: 123.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/1.069, allocations: 2.435 MB / 0.5259 GB, free: 122.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.071, allocations: 1.487 MB / 0.5274 GB, free: 121.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.071, allocations: 120 kB / 0.5275 GB, free: 121.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.99e-06/1.071, allocations: 0 / 0.5275 GB, free: 121.6 MB / 442.7 MB Notification: Performance of Templates: time 0.05725/1.129, allocations: 45.15 MB / 0.5716 GB, free: 112.1 MB / 442.7 MB