Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.798e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 50.42 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01735/0.1374, allocations: 7.633 MB / 352.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008894/0.1463, allocations: 2.682 MB / 355.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.1482, allocations: 59.81 kB / 355.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.1508, allocations: 465.3 kB / 355.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.1545, allocations: 0.5879 MB / 356.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.156, allocations: 243.6 kB / 356.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003998/0.16, allocations: 1.19 MB / 357.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.1624, allocations: 0.9462 MB / 358.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.164, allocations: 0.6233 MB / 359.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.167, allocations: 0.8371 MB / 360.2 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.1689, allocations: 143.9 kB / 360.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000953/0.1699, allocations: 76 kB / 360.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.1715, allocations: 0.5101 MB / 361 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.173, allocations: 196 kB / 361.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.1796, allocations: 2.875 MB / 364 MB, free: 5.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1796, allocations: 0 / 364 MB, free: 5.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1797, allocations: 0 / 364 MB, free: 5.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.1798, allocations: 0 / 364 MB, free: 5.84 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006735/0.1865, allocations: 2.001 MB / 366 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1866, allocations: 8.031 kB / 366 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.1878, allocations: 265.1 kB / 366.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/0.1915, allocations: 1.283 MB / 367.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.1917, allocations: 143.8 kB / 367.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.1922, allocations: 191.9 kB / 367.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006737/0.1989, allocations: 2.395 MB / 370.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.618e-05/0.1991, allocations: 11.84 kB / 370.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.1994, allocations: 83.92 kB / 370.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.1995, allocations: 87.69 kB / 370.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/0.2054, allocations: 1.951 MB / 372.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.227, allocations: 7.848 MB / 380.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.2299, allocations: 1.223 MB / 381.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003449/0.2303, allocations: 123.1 kB / 381.6 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.2303, allocations: 39.56 kB / 381.7 MB, free: 3.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.747e-06/0.2304, allocations: 0 / 381.7 MB, free: 3.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=111): time 0.02184/0.2522, allocations: 5.885 MB / 387.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.2523, allocations: 68.36 kB / 387.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.2549, allocations: 1.108 MB / 388.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.2551, allocations: 49.7 kB / 388.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/0.256, allocations: 0.8826 MB / 389.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.2565, allocations: 394.4 kB / 390 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2567, allocations: 28 kB / 390.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.2569, allocations: 370.7 kB / 390.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.2587, allocations: 0.6325 MB / 391.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.2608, allocations: 0.9925 MB / 392 MB, free: 9.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.2629, allocations: 0.7838 MB / 392.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.2629, allocations: 4 kB / 392.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00604/0.2689, allocations: 2.148 MB / 395 MB, free: 6.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.269, allocations: 12 kB / 395 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.269, allocations: 8 kB / 395 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.2711, allocations: 492.1 kB / 395.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.2732, allocations: 299.5 kB / 395.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2877/0.5608, allocations: 6.602 MB / 402.4 MB, free: 46.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.5627, allocations: 88.89 kB / 402.5 MB, free: 46.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.563, allocations: 56.02 kB / 402.5 MB, free: 46.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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: 3 * 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: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.5649, allocations: 0.5957 MB / 403.1 MB, free: 46.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/0.5654, allocations: 147.2 kB / 403.3 MB, free: 46.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005989/0.5714, allocations: 1.961 MB / 405.2 MB, free: 46.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.5715, allocations: 11.64 kB / 405.2 MB, free: 46.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/0.5715, allocations: 5.281 kB / 405.2 MB, free: 46.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.958e-05/0.5716, allocations: 5.203 kB / 405.2 MB, free: 46.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.5837, allocations: 4.058 MB / 409.3 MB, free: 44.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.5838, allocations: 2.812 kB / 409.3 MB, free: 44.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.5855, allocations: 184.3 kB / 409.5 MB, free: 44.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002657/0.5882, allocations: 0.5358 MB / 410 MB, free: 44.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/0.5885, allocations: 29.7 kB / 410.1 MB, free: 44.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.5999, allocations: 8.135 MB / 418.2 MB, free: 37.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6, allocations: 3.172 kB / 418.2 MB, free: 37.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007086/0.6071, allocations: 2.961 MB / 421.1 MB, free: 36.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.6082, allocations: 359 kB / 421.5 MB, free: 36.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/0.6088, allocations: 28.83 kB / 421.5 MB, free: 36.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.6103, allocations: 69.66 kB / 421.6 MB, free: 36.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/0.6107, allocations: 95.28 kB / 421.7 MB, free: 36.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.6109, allocations: 32.27 kB / 421.7 MB, free: 36.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001868/0.6128, allocations: 0.8504 MB / 422.6 MB, free: 35.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.6128, allocations: 0 / 422.6 MB, free: 35.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002355/0.6152, allocations: 432 kB / 423 MB, free: 35.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004883/0.6157, allocations: 159.4 kB / 423.1 MB, free: 35.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005101/0.6208, allocations: 2.213 MB / 425.4 MB, free: 34.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.6209, allocations: 0 / 425.4 MB, free: 34.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003522/0.6244, allocations: 1.514 MB / 426.9 MB, free: 33.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/0.6275, allocations: 375.6 kB / 427.2 MB, free: 33.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00981/0.6373, allocations: 4.933 MB / 432.2 MB, free: 28.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.6389, allocations: 1.676 MB / 433.9 MB, free: 26.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/0.6396, allocations: 107.4 kB / 434 MB, free: 26.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6396, allocations: 0 / 434 MB, free: 26.88 MB / 330.7 MB Notification: Performance of Templates: time 0.112/0.7516, allocations: 66.46 MB / 0.4887 GB, free: 8.414 MB / 378.7 MB