Running command: translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") Notification: Performance of loadModel(HanserModelica): time 1.966/1.966, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.362e-05, allocations: 0 / 279.5 MB, free: 13.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09802, allocations: 49.71 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4567, allocations: 81.06 MB / 410.2 MB, free: 2.891 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4569, allocations: 63.72 kB / 410.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01888/0.4758, allocations: 4.888 MB / 415.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4759, allocations: 4 kB / 415.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.4759, allocations: 8 kB / 415.2 MB, free: 14.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009318/0.4768, allocations: 0.5192 MB / 415.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4769, allocations: 15.97 kB / 415.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.477, allocations: 36.28 kB / 415.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.4774, allocations: 263.5 kB / 416 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.4775, allocations: 23.59 kB / 416 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.4776, allocations: 33.83 kB / 416.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.4782, allocations: 246.6 kB / 416.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.4782, allocations: 3.906 kB / 416.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.4783, allocations: 17.36 kB / 416.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.4783, allocations: 8 kB / 416.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.4788, allocations: 182.5 kB / 416.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.4811, allocations: 1.094 MB / 417.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.4815, allocations: 128.9 kB / 417.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.4817, allocations: 64.97 kB / 417.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.4817, allocations: 0 / 417.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4818, allocations: 38.84 kB / 417.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.687e-06/0.4818, allocations: 0 / 417.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001159/0.483, allocations: 498.8 kB / 418.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.483, allocations: 55.34 kB / 418.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.4833, allocations: 182.7 kB / 418.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.4833, allocations: 32.7 kB / 418.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4835, allocations: 182.5 kB / 418.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.4836, allocations: 66.27 kB / 418.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.4836, allocations: 3.625 kB / 418.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4838, allocations: 325 kB / 419.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.4839, allocations: 46.19 kB / 419.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.4841, allocations: 85.41 kB / 419.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4843, allocations: 61.58 kB / 419.3 MB, free: 11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-06/0.4843, allocations: 0 / 419.3 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005078/0.4848, allocations: 202.9 kB / 419.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4848, allocations: 4 kB / 419.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4849, allocations: 4 kB / 419.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.485, allocations: 24.41 kB / 419.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.4853, allocations: 43.92 kB / 419.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.4869, allocations: 1.273 MB / 420.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.4872, allocations: 15.73 kB / 420.9 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.4873, allocations: 4 kB / 420.9 MB, free: 9.379 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.4875, allocations: 114.9 kB / 421 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4876, allocations: 23.86 kB / 421 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.4877, allocations: 24.08 kB / 421.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.872e-06/0.4877, allocations: 0 / 421.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-06/0.4878, allocations: 3.938 kB / 421.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.077e-06/0.4878, allocations: 4 kB / 421.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.489, allocations: 0.5768 MB / 421.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-06/0.489, allocations: 0 / 421.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.4893, allocations: 43.98 kB / 421.7 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.4895, allocations: 24.16 kB / 421.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.4895, allocations: 7.25 kB / 421.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.4908, allocations: 1.267 MB / 423 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.387e-06/0.4908, allocations: 4.031 kB / 423 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.4915, allocations: 363 kB / 423.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4916, allocations: 92.23 kB / 423.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.4916, allocations: 8.031 kB / 423.4 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.4919, allocations: 11.94 kB / 423.5 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.492, allocations: 19.97 kB / 423.5 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.492, allocations: 7.188 kB / 423.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.4922, allocations: 144.9 kB / 423.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4922, allocations: 0 / 423.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000483/0.4927, allocations: 51.88 kB / 423.7 MB, free: 6.605 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,load.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.4929, allocations: 102.8 kB / 423.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005744/0.4935, allocations: 239.6 kB / 424 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.476e-06/0.4935, allocations: 0 / 424 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.4938, allocations: 167.5 kB / 424.2 MB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.4943, allocations: 46.38 kB / 424.2 MB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.4955, allocations: 0.4892 MB / 424.7 MB, free: 5.621 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.496, allocations: 0.7636 MB / 425.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.4962, allocations: 21.55 kB / 425.5 MB, free: 4.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.4963, allocations: 15.44 kB / 425.5 MB, free: 4.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.948e-06/0.4963, allocations: 0 / 425.5 MB, free: 4.793 MB / 346.7 MB Notification: Performance of Templates: time 0.008816/0.5051, allocations: 2.009 MB / 427.5 MB, free: 2.809 MB / 346.7 MB