Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.282e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.08888, allocations: 50.41 MB / 342.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.4857, allocations: 110.9 MB / 453.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.486, allocations: 84.64 kB / 453.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2904/0.7764, allocations: 65.58 MB / 0.5069 GB, free: 2.113 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.468e-06/0.7764, allocations: 0 / 0.5069 GB, free: 2.113 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003106/0.7768, allocations: 87.88 kB / 0.507 GB, free: 2.027 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009383/0.7862, allocations: 3.273 MB / 0.5102 GB, free: 14.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7862, allocations: 12.03 kB / 0.5102 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.7882, allocations: 443.1 kB / 0.5106 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/0.7948, allocations: 2.379 MB / 0.513 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.7951, allocations: 230.2 kB / 0.5132 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009364/0.7961, allocations: 311.9 kB / 0.5135 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.8067, allocations: 4.193 MB / 0.5176 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.8068, allocations: 15.91 kB / 0.5176 GB, free: 6.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005143/0.8074, allocations: 136 kB / 0.5177 GB, free: 6.777 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.8076, allocations: 126 kB / 0.5178 GB, free: 6.652 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009021/0.8166, allocations: 3.428 MB / 0.5212 GB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2725/1.089, allocations: 13.58 MB / 0.5345 GB, free: 99.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/1.093, allocations: 2.861 MB / 0.5372 GB, free: 98.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/1.097, allocations: 1.591 MB / 0.5388 GB, free: 98.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/1.097, allocations: 147.1 kB / 0.5389 GB, free: 98.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.097, allocations: 56.42 kB / 0.539 GB, free: 98.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 5.623e-06/1.097, allocations: 0 / 0.539 GB, free: 98.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.01819/1.115, allocations: 7.292 MB / 0.5461 GB, free: 97.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/1.115, allocations: 72.91 kB / 0.5462 GB, free: 97.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/1.119, allocations: 2.038 MB / 0.5482 GB, free: 96.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003073/1.12, allocations: 57.3 kB / 0.5482 GB, free: 96.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/1.12, allocations: 1.353 MB / 0.5496 GB, free: 96.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005663/1.121, allocations: 0.6104 MB / 0.5501 GB, free: 96.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/1.121, allocations: 38.09 kB / 0.5502 GB, free: 96.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.121, allocations: 392.2 kB / 0.5506 GB, free: 95.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/1.123, allocations: 1.08 MB / 0.5516 GB, free: 95.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/1.126, allocations: 1.478 MB / 0.5531 GB, free: 95.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/1.128, allocations: 1.294 MB / 0.5543 GB, free: 95.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.128, allocations: 0 / 0.5543 GB, free: 95.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008134/1.137, allocations: 3.287 MB / 0.5575 GB, free: 95.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/1.137, allocations: 20.55 kB / 0.5576 GB, free: 95.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/1.137, allocations: 8.375 kB / 0.5576 GB, free: 95.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.139, allocations: 0.8045 MB / 0.5583 GB, free: 95.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.142, allocations: 465 kB / 0.5588 GB, free: 95.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.152, allocations: 10.26 MB / 0.5688 GB, free: 87.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.155, allocations: 124.1 kB / 0.5689 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/1.155, allocations: 76.25 kB / 0.569 GB, free: 87.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004869/1.155, allocations: 219.4 kB / 0.5692 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005242/1.156, allocations: 247.2 kB / 0.5694 GB, free: 86.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006757/1.163, allocations: 3.267 MB / 0.5726 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.163, allocations: 18.66 kB / 0.5726 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.163, allocations: 7.531 kB / 0.5727 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/1.163, allocations: 7.312 kB / 0.5727 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/1.177, allocations: 6.817 MB / 0.5793 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.178, allocations: 3.125 kB / 0.5793 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.179, allocations: 309.4 kB / 0.5796 GB, free: 82.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.182, allocations: 0.9122 MB / 0.5805 GB, free: 82.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.183, allocations: 46.67 kB / 0.5806 GB, free: 82.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/1.2, allocations: 13.46 MB / 0.5937 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.726e-06/1.2, allocations: 4.188 kB / 0.5937 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009198/1.209, allocations: 4.997 MB / 0.5986 GB, free: 69.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.211, allocations: 0.5754 MB / 0.5991 GB, free: 69.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000592/1.212, allocations: 34.66 kB / 0.5992 GB, free: 69.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.214, allocations: 133.7 kB / 0.5993 GB, free: 69.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/1.214, allocations: 163.6 kB / 0.5995 GB, free: 69.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.214, allocations: 57.31 kB / 0.5995 GB, free: 69.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004205/1.218, allocations: 1.571 MB / 0.6011 GB, free: 68.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.434e-06/1.219, allocations: 3.719 kB / 0.6011 GB, free: 68.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003549/1.222, allocations: 0.7377 MB / 0.6018 GB, free: 68.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007434/1.223, allocations: 371.1 kB / 0.6021 GB, free: 68.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006048/1.229, allocations: 3.43 MB / 0.6055 GB, free: 66.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.229, allocations: 3.938 kB / 0.6055 GB, free: 66.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/1.233, allocations: 2.434 MB / 0.6079 GB, free: 65.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.237, allocations: 0.6731 MB / 0.6085 GB, free: 64.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.248, allocations: 5.636 MB / 0.614 GB, free: 61.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/1.251, allocations: 2.542 MB / 0.6165 GB, free: 59.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/1.252, allocations: 165.5 kB / 0.6167 GB, free: 59.71 MB / 442.7 MB Notification: Performance of SimCode: time 2.26e-06/1.252, allocations: 0 / 0.6167 GB, free: 59.71 MB / 442.7 MB Notification: Performance of Templates: time 0.4237/1.676, allocations: 158.5 MB / 0.7714 GB, free: 88.41 MB / 458.7 MB