Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.648e-05, allocations: 0 / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01196/0.126, allocations: 7.008 MB / 352 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.1328, allocations: 2.541 MB / 354.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1342, allocations: 51.81 kB / 354.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.1362, allocations: 449.3 kB / 355 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.1391, allocations: 0.5529 MB / 355.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1402, allocations: 195.7 kB / 355.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.1435, allocations: 1.131 MB / 356.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.1456, allocations: 0.953 MB / 357.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1471, allocations: 0.596 MB / 358.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.1493, allocations: 0.8489 MB / 359.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009979/0.1503, allocations: 135.9 kB / 359.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004838/0.1508, allocations: 76 kB / 359.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009671/0.1518, allocations: 0.5374 MB / 360 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008832/0.1527, allocations: 188 kB / 360.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004911/0.1576, allocations: 2.922 MB / 363.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1577, allocations: 0 / 363.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1577, allocations: 0 / 363.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.1579, allocations: 0 / 363.1 MB, free: 6.699 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008233/0.1661, allocations: 2 MB / 365.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.1662, allocations: 12.03 kB / 365.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.1681, allocations: 261.2 kB / 365.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005665/0.1738, allocations: 1.322 MB / 366.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.1741, allocations: 131.6 kB / 366.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008718/0.175, allocations: 183.9 kB / 367 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009787/0.1848, allocations: 2.39 MB / 369.4 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.185, allocations: 7.984 kB / 369.4 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004079/0.1854, allocations: 68 kB / 369.5 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.1857, allocations: 91.5 kB / 369.6 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00914/0.1948, allocations: 2.016 MB / 371.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/0.2224, allocations: 7.456 MB / 379.1 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.2269, allocations: 1.28 MB / 380.3 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.2274, allocations: 122.1 kB / 380.5 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.2275, allocations: 43.55 kB / 380.5 MB, free: 4.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 5.56e-06/0.2275, allocations: 0 / 380.5 MB, free: 4.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.01961/0.2471, allocations: 4.949 MB / 385.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2472, allocations: 68.34 kB / 385.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.2501, allocations: 1.182 MB / 386.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.2504, allocations: 41.7 kB / 386.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009383/0.2513, allocations: 0.8593 MB / 387.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/0.2519, allocations: 354.8 kB / 388 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2521, allocations: 24 kB / 388 MB, free: 13.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2523, allocations: 362.8 kB / 388.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.2542, allocations: 0.635 MB / 389 MB, free: 12.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.2564, allocations: 0.9298 MB / 389.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.2588, allocations: 0.7759 MB / 390.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.2589, allocations: 7.953 kB / 390.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007546/0.2665, allocations: 2.333 MB / 393 MB, free: 8.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.2665, allocations: 8 kB / 393 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.2666, allocations: 8 kB / 393 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003391/0.27, allocations: 0.7354 MB / 393.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.2719, allocations: 239.6 kB / 394 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2949/0.5668, allocations: 8.528 MB / 402.5 MB, free: 46.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.5687, allocations: 81.41 kB / 402.6 MB, free: 46.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.5689, allocations: 48.75 kB / 402.7 MB, free: 46.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001941/0.5709, allocations: 0.6234 MB / 403.3 MB, free: 46.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005255/0.5714, allocations: 148.7 kB / 403.4 MB, free: 46.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006011/0.5774, allocations: 1.917 MB / 405.3 MB, free: 46.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.5775, allocations: 9.562 kB / 405.3 MB, free: 46.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.5776, allocations: 6.609 kB / 405.4 MB, free: 46.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.5776, allocations: 6.328 kB / 405.4 MB, free: 46.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.5896, allocations: 3.99 MB / 409.4 MB, free: 44.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.5897, allocations: 1.156 kB / 409.4 MB, free: 44.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.5914, allocations: 186.2 kB / 409.5 MB, free: 44.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.5937, allocations: 462.2 kB / 410 MB, free: 44.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/0.5939, allocations: 33.89 kB / 410 MB, free: 44.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009023/0.6029, allocations: 6.262 MB / 416.3 MB, free: 39.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.603, allocations: 1.469 kB / 416.3 MB, free: 39.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/0.6101, allocations: 2.914 MB / 419.2 MB, free: 38.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.6113, allocations: 356.7 kB / 419.5 MB, free: 38.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/0.6117, allocations: 27.56 kB / 419.6 MB, free: 38.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.6131, allocations: 75.61 kB / 419.6 MB, free: 38.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.6135, allocations: 81.34 kB / 419.7 MB, free: 38.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.6136, allocations: 28.39 kB / 419.8 MB, free: 38.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00197/0.6156, allocations: 0.9111 MB / 420.7 MB, free: 37.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.6156, allocations: 0 / 420.7 MB, free: 37.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002313/0.618, allocations: 433.6 kB / 421.1 MB, free: 37.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004571/0.6185, allocations: 157.3 kB / 421.2 MB, free: 37.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005266/0.6237, allocations: 2.043 MB / 423.3 MB, free: 36.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.6238, allocations: 6.703 kB / 423.3 MB, free: 36.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.627, allocations: 1.356 MB / 424.6 MB, free: 35.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.6298, allocations: 347 kB / 425 MB, free: 35.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.6393, allocations: 4.801 MB / 429.8 MB, free: 31.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.6409, allocations: 1.704 MB / 431.5 MB, free: 30.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006437/0.6416, allocations: 107.4 kB / 431.6 MB, free: 29.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6416, allocations: 0 / 431.6 MB, free: 29.93 MB / 330.7 MB Notification: Performance of Templates: time 0.08358/0.7252, allocations: 49.64 MB / 481.2 MB, free: 12.31 MB / 362.7 MB