Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2.221/2.221, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.935e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01843/0.1276, allocations: 10.65 MB / 355.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1381, allocations: 3.857 MB / 359.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.1408, allocations: 99.69 kB / 359.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003233/0.1441, allocations: 0.6759 MB / 360.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.1492, allocations: 1.055 MB / 361.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.1523, allocations: 0.5835 MB / 361.9 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006474/0.1587, allocations: 2.218 MB / 364.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/0.1627, allocations: 1.644 MB / 365.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.1653, allocations: 1.032 MB / 366.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.1687, allocations: 1.253 MB / 368.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.1707, allocations: 283.8 kB / 368.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008689/0.1716, allocations: 128 kB / 368.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009729/0.1726, allocations: 0.6226 MB / 369.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.174, allocations: 300 kB / 369.4 MB, free: 496 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009163/0.1832, allocations: 5.434 MB / 374.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1833, allocations: 0 / 374.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.738e-06/0.1833, allocations: 0 / 374.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002096/0.1836, allocations: 0 / 374.8 MB, free: 11.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01429/0.1979, allocations: 3.477 MB / 378.3 MB, free: 7.492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1979, allocations: 8.031 kB / 378.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007414/0.2054, allocations: 0.8231 MB / 379.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007225/0.2127, allocations: 2.291 MB / 381.4 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.2131, allocations: 242.4 kB / 381.6 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.2143, allocations: 319.9 kB / 382 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.2296, allocations: 4.22 MB / 386.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.2298, allocations: 11.98 kB / 386.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.2308, allocations: 128 kB / 386.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002561/0.2311, allocations: 150.4 kB / 386.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.2442, allocations: 3.578 MB / 390 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3281/0.5723, allocations: 13.88 MB / 403.9 MB, free: 40.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.5829, allocations: 6.51 MB / 410.4 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009568/0.5926, allocations: 3.179 MB / 413.6 MB, free: 34.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.5927, allocations: 49.41 kB / 413.6 MB, free: 34.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 4.358e-06/0.5927, allocations: 1.312 kB / 413.6 MB, free: 34.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=141): time 0.01969/0.6124, allocations: 5.963 MB / 419.6 MB, free: 31.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.6125, allocations: 67.19 kB / 419.7 MB, free: 31.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.6158, allocations: 1.54 MB / 421.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.6162, allocations: 50.66 kB / 421.3 MB, free: 30.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000956/0.6171, allocations: 1.362 MB / 422.6 MB, free: 29.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/0.6177, allocations: 488.1 kB / 423.1 MB, free: 29.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.6179, allocations: 35.91 kB / 423.1 MB, free: 29.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.618, allocations: 385.1 kB / 423.5 MB, free: 28.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.6198, allocations: 0.6821 MB / 424.2 MB, free: 28.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.6219, allocations: 1.19 MB / 425.4 MB, free: 27.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.6243, allocations: 0.9014 MB / 426.3 MB, free: 27.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.57e-05/0.6244, allocations: 5.5 kB / 426.3 MB, free: 27.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006108/0.6305, allocations: 2.447 MB / 428.7 MB, free: 26.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.6306, allocations: 11.25 kB / 428.8 MB, free: 26.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.6306, allocations: 15.34 kB / 428.8 MB, free: 26.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.6321, allocations: 369.9 kB / 429.1 MB, free: 25.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.6349, allocations: 376.9 kB / 429.5 MB, free: 25.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009709/0.6446, allocations: 7.777 MB / 437.3 MB, free: 18.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.647, allocations: 86.23 kB / 437.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/0.6474, allocations: 76.97 kB / 437.4 MB, free: 18.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (194): * Single equations (assignments): 189 * 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 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002505/0.6499, allocations: 0.9967 MB / 438.4 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/0.6505, allocations: 192.8 kB / 438.6 MB, free: 18.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006029/0.6565, allocations: 2.332 MB / 440.9 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.6566, allocations: 18.86 kB / 441 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.6566, allocations: 11.31 kB / 441 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.6567, allocations: 3.984 kB / 441 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6692, allocations: 5.116 MB / 446.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.6693, allocations: 4 kB / 446.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.6709, allocations: 183.8 kB / 446.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/0.6733, allocations: 0.5288 MB / 446.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/0.6735, allocations: 31.98 kB / 446.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.6895, allocations: 12.22 MB / 459.1 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.6895, allocations: 3.984 kB / 459.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009366/0.6989, allocations: 3.357 MB / 462.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.7005, allocations: 431.8 kB / 462.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006/0.7011, allocations: 32.09 kB / 462.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.7029, allocations: 71.89 kB / 462.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/0.7034, allocations: 105.2 kB / 463 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.7035, allocations: 39.98 kB / 463.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002842/0.7064, allocations: 1.172 MB / 464.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7064, allocations: 4 kB / 464.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003461/0.7099, allocations: 0.582 MB / 464.8 MB, free: 8.758 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (90): * Single equations (assignments): 84 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005581/0.7105, allocations: 168 kB / 465 MB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006232/0.7167, allocations: 2.38 MB / 467.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.7168, allocations: 5 kB / 467.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004631/0.7214, allocations: 1.78 MB / 469.2 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004082/0.7256, allocations: 0.5113 MB / 469.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.7435, allocations: 7.029 MB / 476.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/0.7471, allocations: 2.312 MB / 479 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/0.748, allocations: 143.4 kB / 479.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.748, allocations: 0 / 479.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.4944/1.242, allocations: 120 MB / 0.5851 GB, free: 132.6 MB / 442.7 MB