Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.901e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.08988, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.4872, allocations: 109.2 MB / 451.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4876, allocations: 82.44 kB / 451.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1996/0.6872, allocations: 50.1 MB / 0.4902 GB, free: 3.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.59e-06/0.6873, allocations: 0 / 0.4902 GB, free: 3.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001951/0.6875, allocations: 59.94 kB / 0.4903 GB, free: 3.316 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.00619/0.6937, allocations: 2.37 MB / 0.4926 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6937, allocations: 8.031 kB / 0.4926 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.6951, allocations: 312.6 kB / 0.4929 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.6999, allocations: 1.695 MB / 0.4945 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.7001, allocations: 168.4 kB / 0.4947 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006115/0.7007, allocations: 219.9 kB / 0.4949 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007401/0.7082, allocations: 2.797 MB / 0.4976 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-05/0.7083, allocations: 11.89 kB / 0.4977 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.7086, allocations: 91.98 kB / 0.4977 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.7088, allocations: 100.4 kB / 0.4978 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005639/0.7145, allocations: 2.172 MB / 0.5 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/0.7352, allocations: 9.149 MB / 0.5089 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.7387, allocations: 1.682 MB / 0.5105 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.7405, allocations: 0.8036 MB / 0.5113 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/0.741, allocations: 211.2 kB / 0.5115 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.7411, allocations: 51.56 kB / 0.5116 GB, free: 12.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 4.865e-06/0.7411, allocations: 0 / 0.5116 GB, free: 12.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.0201/0.7612, allocations: 6.404 MB / 0.5178 GB, free: 6.316 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.7613, allocations: 64.72 kB / 0.5179 GB, free: 6.242 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.7642, allocations: 1.33 MB / 0.5192 GB, free: 4.906 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.7644, allocations: 45.7 kB / 0.5192 GB, free: 4.855 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009835/0.7654, allocations: 1.054 MB / 0.5203 GB, free: 3.789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005609/0.766, allocations: 465.3 kB / 0.5207 GB, free: 3.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.7661, allocations: 40 kB / 0.5207 GB, free: 3.289 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.7664, allocations: 370.8 kB / 0.5211 GB, free: 2.918 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.768, allocations: 0.7185 MB / 0.5218 GB, free: 2.199 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.77, allocations: 1.125 MB / 0.5229 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2897/1.06, allocations: 0.9079 MB / 0.5238 GB, free: 113.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/1.06, allocations: 8.781 kB / 0.5238 GB, free: 113.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006569/1.066, allocations: 2.468 MB / 0.5262 GB, free: 113.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.066, allocations: 10.22 kB / 0.5262 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/1.066, allocations: 15.66 kB / 0.5262 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/1.069, allocations: 0.5879 MB / 0.5268 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.071, allocations: 366.4 kB / 0.5271 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.082, allocations: 6.685 MB / 0.5337 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.084, allocations: 116.6 kB / 0.5338 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/1.084, allocations: 68.72 kB / 0.5339 GB, free: 111.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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: 2 {(6,72.2%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003812/1.084, allocations: 192.3 kB / 0.534 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/1.085, allocations: 178.2 kB / 0.5342 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/1.091, allocations: 2.344 MB / 0.5365 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.091, allocations: 15.81 kB / 0.5365 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/1.091, allocations: 5.156 kB / 0.5365 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.314e-05/1.091, allocations: 11.84 kB / 0.5365 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.103, allocations: 4.92 MB / 0.5413 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.103, allocations: 2.781 kB / 0.5413 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.104, allocations: 224.2 kB / 0.5415 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/1.107, allocations: 0.6455 MB / 0.5422 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/1.107, allocations: 40.23 kB / 0.5422 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.119, allocations: 8.399 MB / 0.5504 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.148e-06/1.119, allocations: 5.156 kB / 0.5504 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006714/1.126, allocations: 3.57 MB / 0.5539 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.127, allocations: 415.3 kB / 0.5543 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/1.127, allocations: 33.7 kB / 0.5543 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.129, allocations: 102.7 kB / 0.5544 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/1.129, allocations: 110.2 kB / 0.5545 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.129, allocations: 38.38 kB / 0.5546 GB, free: 104.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0019/1.131, allocations: 1.022 MB / 0.5556 GB, free: 104 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.18e-07/1.131, allocations: 0 / 0.5556 GB, free: 104 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002347/1.133, allocations: 0.5459 MB / 0.5561 GB, free: 104 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000652/1.134, allocations: 365.6 kB / 0.5565 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004543/1.139, allocations: 2.282 MB / 0.5587 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.496e-06/1.139, allocations: 3.125 kB / 0.5587 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/1.142, allocations: 1.473 MB / 0.5601 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.145, allocations: 436.7 kB / 0.5605 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008726/1.154, allocations: 3.939 MB / 0.5644 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/1.156, allocations: 1.907 MB / 0.5663 GB, free: 99.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/1.157, allocations: 128.5 kB / 0.5664 GB, free: 99.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.73e-06/1.157, allocations: 0 / 0.5664 GB, free: 99.47 MB / 442.7 MB Notification: Performance of Templates: time 0.09468/1.251, allocations: 60.72 MB / 0.6257 GB, free: 60.71 MB / 442.7 MB